cancel
Showing results for 
Search instead for 
Did you mean: 

Unable run any Netbackup command from a Solaris client

Bharath_Achar
Level 6

 

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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..

View solution in original post

10 REPLIES 10

revarooo
Level 6
Employee
Check server for master is first for the clients config. Can you post bprd log from master when these commands fail?

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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..

Marianne
Level 6
Partner    VIP    Accredited Certified
My guess: corrupt nblog.conf. Compare file on client with other client. Or simply copy file from a healthy client.

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

yes... agreed with Marianne...

nblog.conf corrupt can also be the reason..

it is located in /usr/openv/netbackup/   

mph999
Level 6
Employee Accredited

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.

Nicolai
Moderator
Moderator
Partner    VIP   

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.

mph999
Level 6
Employee Accredited

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 ...

Marianne
Level 6
Partner    VIP    Accredited Certified

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

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

mph999
Level 6
Employee Accredited

Now you mention it, so did I ...

Bharath_Achar
Level 6

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