Forum Discussion

Bharath_Achar's avatar
10 years ago
Solved

Unable run any Netbackup command from a Solaris client

 

Unable run any Netbackup command from a Solaris client & its working fine for similar clients.

Here is the error:

bash-3.2$ /usr/openv/netbackup/bin/bpclimagelist -U
Error occurred during initialization, check master configuration file

bash-3.2$ /usr/openv/netbackup/bin/bpclntcmd -pn
Error occurred during initialization, check master configuration file

 

However backups are running and failing intermittently for oracle archive log backup.  

 

Please help me get this commad executable from client machine.

 

  • does the bp.conf file in the client looks good..if possible , move the current file to bp.conf old and create new one and check how its working..

    also check if the user accout runnig these command have enough privilages..

  • Check server for master is first for the clients config. Can you post bprd log from master when these commands fail?
  • does the bp.conf file in the client looks good..if possible , move the current file to bp.conf old and create new one and check how its working..

    also check if the user accout runnig these command have enough privilages..

  • My guess: corrupt nblog.conf. Compare file on client with other client. Or simply copy file from a healthy client.
  • yes... agreed with Marianne...

    nblog.conf corrupt can also be the reason..

    it is located in /usr/openv/netbackup/   

  • Yes, I'd suggest corrupt nblog.conf of corrupt bp.conf

    You could run truss on the command

    truss -ae -wall -o /tmp/truss.out /usr/openv/netbackup/bin/bpclntcmd -pn

    Check the /tmp/truss.out file for the output, search this file for nblog.conf or bp.conf - hopefully it should show which file the command is interacting with, or, at least trying to.

  • likley bp.conf is not correct when it say "Error occurred during initialization, check master configuration file". Master configuration file must be bp.conf

    Please show us bp.conf file.

  • The command accesses multiple files, these two are the most likely ones that would cause the issue I think.

    (From a truss on bpclntcmd -pn command on my system)

    1259/1:          0.7417 open("/usr/openv/netbackup/bp.conf", O_RDONLY)  = 4
    1259/1:          0.7420 open("/usr/openv/var/global/nbcl.conf", O_RDONLY) = 4


    So I'd start with bp.conf persoanlly ...

  • I am always amazed when everybody except the original poster replies.... 

    I even received a Private Message asking for assistance...

  • Thank you so much All,

     

    the client was not having read access to others on bp.conf file and 

    once granted the access, rebooting the client it looks good now.

     

    Regards,

    Bharath