Procedure to start 'bpcd' in standalone mode if it does not respond to connection attempts.

Article: 100016036
Last Published: 2013-10-23
Ratings: 1 0
Product(s): NetBackup

Problem

Procedure to start 'bpcd' in standalone mode if it does not respond to connection attempts.

Solution

Sometimes it happens that bpcd appears to be 'listening' but does not respond to connection attempts.
The netstat -a command shows bpcd listening:

netstat -a | grep bpcd
     *.bpcd               *.*                0      0 24576      0 LISTEN

But bpcd does not respond to connection attempts, and there is no log produced in the bpcd log directory.

This could be because of some problem with the OS or the inetd process. This may occur when there is a security wrapper in the inetd.conf configuration file. This is an OS problem to be solved by the system administrator. For a quick fix they can remove the security wrapper for bpcd , if they are using one.

Check the /etc/inetd.conf file. You might see a line for bpcd that looks something like:

bpcd    stream  tcp     nowait  root    /usr/local/sbin/tcpd    /usr/openv/netbackup/bin/bpcd

Comment out the line with the 'wrapper' and add the line as configured by NetBackup:

# bpcd    stream  tcp     nowait  root    /usr/local/sbin/tcpd    /usr/openv/netbackup/bin/bpcd
bpcd    stream  tcp     nowait  root    /usr/openv/netbackup/bin/bpcd bpcd

Stop all the VERITAS NetBackup (tm) processes:

/usr/openv/netbackup/bin/goodies/bp.kill_all

Re-read the inetd.conf file:

ps -ef | grep inetd
kill -HUP {INETD_PID.EN_US}

Restart NetBackup. Try to connect to the bpcd daemon, or try a backup.

telnet {HOSTNAME.EN_US} bpcd

If the connection to bpcd still cannot be established (or there is no security wrapper), the bpcd process can be run in 'standalone' mode as a workaround.

You might not be able to start the bpcd process because it cannot bind to port 13782. In that case, you will get a message:

bpcd -standalone
bind(13782) failed: 125

The following steps will allow bpcd to be started in standalone mode.

Edit the /etc/inetd.conf file by commenting out the bpcd line:

# bpcd    stream  tcp     nowait  root    /usr/openv/netbackup/bin/bpcd bpcd

Stop all the NetBackup processes:

/usr/openv/netbackup/bin/goodies/bp.kill_all

Re-read the inetd.conf file:

ps -ef | grep inetd
kill -HUP {INETD_PID.EN_US}

Now bpcd will not be listening. You will be able to start it in standalone mode with:

bpcd -standalone

Restart NetBackup. Try to connect to the bpcd daemon, or try a backup.

telnet {HOSTNAME.EN_US} bpcd

The system administrator will have to fix the inetd function for a permanent fix. But this will get backups running.


 
 

 

Was this content helpful?