NetBackup PBX does not automatically start upon reboot

Article: 100033993
Last Published: 2023-01-13
Ratings: 1 1
Product(s): NetBackup & Alta Data Protection

Problem

After upgrading Linux CentOS 7.2 server, Private Branch Exchange (PBX) does not start automatically.

Error Message

# cat /var/log/messages | grep -i pbx
Apr 25 14:16:11 xxxxxxx systemd-sysv-generator[2784]: stat() failed on /etc/rc.d/init.d/vxpbx_exchanged: No such file or directory
Apr 25 14:19:30 xxxxxx pbx_exchange: Mgr_SOCK_Acceptor::shared_open, IPV6_V6ONLY socket option could not be set
 

Cause

Known Issue with Redhat 7.2 and SLES 12 SP1

The problem discussed in this document was a known systemctl defect in many Linux distributions around the release time of RHEL 7.2 and SLES 12 SP1. The use of a symlink in /etc/init.d should now work on modern Linux releases.

REDHAT
systemctl can't read symlinks to SysVinit service scripts in /etc/init.d after upgrading to RHEL 7.2's systemd-219-19.el7
https://access.redhat.com/solutions/2067013

GITHUB
Sysv-generator skips init.d script when it is a symlink #2141
https://github.com/systemd/systemd/issues/2141


Solution / Workaround

The default install path for PBX is /opt/VRTSpbx. If /opt is a separate filesystem or located on a different volume from root ( / ),  systemctl is unable to locate the target script to start PBX. 

Prior to applying the workaround, test the status of the PBX Service with systemctl to show the current state and confirm the issue exists.

# systemctl status vxpbx_exchanged.service
? vxpbx_exchanged.service - SYSV: Provides Symantec Private Branch Exchange
   Loaded: loaded (/etc/rc.d/init.d/vxpbx_exchanged)
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)



 
1.  Change to the boot volume which shows the startup location for vxpbvx_exchanged:
# cd /etc/init.d
# ls -l

total 108
-rwxr-xr-x. 1 root root  2004 Jan 23  2016 anamon
-r-xr-xr-x  1 root root 15705 Nov 22 17:48 bfa_cfg
-rw-r--r--. 1 root root 13948 Sep 16  2015 functions
-r-xr-xr-x  1 root root  3876 Nov 22 17:48 hcmagentservice
-r-x------  1 root root 10371 Apr 25 13:09 nbftserver
-r-x------  1 root root 21068 Nov 28 10:32 netbackup
-rwxr-xr-x. 1 root root  2989 Sep 16  2015 netconsole
-rwxr-xr-x. 1 root root  6630 Sep 16  2015 network
-rwxr-xr-x. 1 root root  1769 Jul 17  2014 osad
-rw-r--r--. 1 root root  1160 Sep 15  2016 README
-rwxr-xr-x. 1 root root  2437 Nov 20  2015 rhnsd
-rwxr--r--. 1 root root  4242 Mar 21  2014 scx-cimd
lrwxrwxrwx  1 root root    32 Nov 28 08:50 vxpbx_exchanged -> /opt/VRTSpbx/bin/vxpbx_exchanged

2.  Remove the symbolic link for vxpbx_exchanged:
# rm vxpbx_exchanged

3.  Copy the start up file to /etc/init.d rather than using a link.
# cp /opt/VRTSpbx/bin/vxpbx_exchanged ./vxpbx_exchanged

# ls -l
total 120
-rwxr-xr-x. 1 root root  2004 Jan 23  2016 anamon
-r-xr-xr-x  1 root root 15705 Nov 22 17:48 bfa_cfg
-rw-r--r--. 1 root root 13948 Sep 16  2015 functions
-r-xr-xr-x  1 root root  3876 Nov 22 17:48 hcmagentservice
-r-x------  1 root root 10371 Apr 25 13:09 nbftserver
-r-x------  1 root root 21068 Nov 28 10:32 netbackup
-rwxr-xr-x. 1 root root  2989 Sep 16  2015 netconsole
-rwxr-xr-x. 1 root root  6630 Sep 16  2015 network
-rwxr-xr-x. 1 root root  1769 Jul 17  2014 osad
-rw-r--r--. 1 root root  1160 Sep 15  2016 README
-rwxr-xr-x. 1 root root  2437 Nov 20  2015 rhnsd
-rwxr--r--. 1 root root  4242 Mar 21  2014 scx-cimd
-r-xr-x---  1 root root 11008 May  1 14:07 vxpbx_exchanged

4.  Reboot the system.  After reboot check that  vxpbx_exchanged and NetBackup services have started (see example outputs below):
# systemctl status vxpbx_exchanged
This output should show active (running) for PBX.


After workaround applied:

[root@chsxbkpsys014 ~]# systemctl status vxpbx_exchanged
? vxpbx_exchanged.service - SYSV: Provides Veritas Private Branch Exchange
   Loaded: loaded (/etc/rc.d/init.d/vxpbx_exchanged)
   Active: active (running) since Tue 2017-05-02 11:26:24 PDT; 2min 2s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6097 ExecStart=/etc/rc.d/init.d/vxpbx_exchanged start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/vxpbx_exchanged.service
           +-6744 /opt/VRTSpbx/bin/pbx_exchange

 

Veritas Technologies LLC is commited to product quality and satisfied customers. The above-mentioned issue (Etrack 3865185), has been resolved in all NetBackup releases starting with NetBackup version 8.0. 
Customers are advised to upgrade NetBackup installations to a currently supported releases that contains the resolution to the issue described above.

Veritas Technologies LLC reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests or introduces new risks to overall code stability.  Veritas’ plans are subject to change and any action taken by you based on the above information or your reliance upon the above information is made at your own risk.
 

 

References

Etrack : 3865185 Etrack : 3965509

Was this content helpful?