cancel
Showing results for 
Search instead for 
Did you mean: 

status error 40 on linux client

rishi_rich
Level 5
Hello,

Today i installed to client with netbackup 5 1.One client on linux is working fine but other is giving error status code 40.What would be reason?
I have compaired all file and folder on linux between two clients all are same,what aim doing wrong.Can any body give me resolutions for this error..?
1 ACCEPTED SOLUTION

Accepted Solutions

rishi_rich
Level 5
Hello all,

For time being i mounted that servers file on other server and takeing backup through NFS.I am thinking of reinstalling system,since not able to trace out error.

View solution in original post

20 REPLIES 20

Patrick_Whelan_
Level 6
have you compared the "communications" aspect of the two systems? Is [x]inetd running on both? What happens when you telnet <master server> bpcd from both systems. Have you run bpclntcmd from all systems?

Regards,

Patrick

Anonymous
Not applicable
Could be this?
http://seer.entsupport.symantec.com/docs/312861.htm
status 40 on client backups

Details:
Overview:
Status 40 on occurring during Linux client backups (Network connection broken).

Log Files:
bpbrm
<2> bpbrm Exit: client backup EXIT <STATUS 127>:
specified media or path does not contain a valid NB database backup header

Troubleshooting:
bptm is not running when the job is kicked off.
ldd bptm shows library "libz.so.1 " not found

Resolution:
This issue is known to be resolved by installing Linux library zlib-1.2.1.2-1.2.i386


Other things to check:
- firewall status
- tcp wrapper files (/etc/hosts.allow  and /etc/hosts.deny)

rishi_rich
Level 5
Hello,

I have checked on client library  zlib- it is there on client,still getting error 40 .Any other resolution..?

Will_Restore
Level 6
run this command on the master server for recommendations:

check network connections
verify server list settings are correct for both client and server
the master server should be the first SERVER = entry in bp.conf

rishi_rich
Level 5
Hello,

I am able to ping from master to client and client to master.bp.conf has master server entry 1st.I am bale to telnet master server from clinet as well as xinetd is running on clinet.
Same setting on other clinet working fine only one clinet is giveing error.Please help..

rishi_rich
Level 5
Hi,

I have include /sys/* in exclude_list file on client.I am keeping my finger cross let hope it will work,since in details it was showing parse error ,error 13:permission denied.Will it work for me..?

Omar_Villa
Level 6
Employee

I have see many times that Linux came with the firewall or iptables enabled, check that and ensure is disabled, from there you will need to check ports and bpclntcmd is a good start.

rishi_rich
Level 5
Hello,

I have stoped firewall and iptables still no luck.My client still gives me error 40.


koparem
Not applicable
Hi,

I gave the givenbperror -S 40 -r command on client , but it says bad command or file name,

Thanks
Kopare

Andy_Welburn
Level 6
/usr/openv/netbackup/bin/admincmd/bperror

USAGE: bperror {-S|-statuscode status_code}
           [-r|-recommendation] [-v]
       bperror  [-all|-problems|-media|-tape]
           [-disk|-BasicDisk|-NearStore|-SnapVault|
            -DiskPool]
           [{-backstat [-by_statcode]}-L|-l|-U] [-columns ncols]
           [-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]
           [-client client_name] [-server server_name]
           [-jobid job_id] [-jobgroupid job_group_id]
           [-M master_server,...] [-v]
       bperror  [-s {severity[+]}|severity ...] [-t type ...]
           [-dt disk type ...]
           [-L|-l|-U] [-columns ncols]
           [-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]
           [-client client_name] [-server server_name]
           [-jobid job_id] [-jobgroupid job_group_id]
           [-M master_server,...] [-v]

       -by_statcode is used only with both -U and -backstat

       Valid values for ncols:
           40 or more

       Valid values for severity:
           ALL, DEBUG, INFO, WARNING, ERROR, CRITICAL

       Valid values for type:
           ALL, ARCHIVE, BACKSTAT, BACKUP, GENERAL,
           MEDIADEV, DISK, BASICDISK, NEARSTORE, DISKPOOL,
           SNAPVAULT, TAPE, RETRIEVE, SECURITY

       Valid values for disk type:
           0 = ALL, 1 = BASICDISK, 2 = NEARSTORE, 3 = SNAPVAULT,
           6 = DISKPOOL

Basically the command bperror -S 40 -r will give the same output as what you would get from the "Troubleshooter..." in the Admin Console GUI (Problem & Troubleshoot tabs) for status code 40. i.e:

# /usr/openv/netbackup/bin/admincmd/bperror -S 40 -r

network connection broken
The connection between the client and the server was broken. This status code can also appear if the connection is broken between the master and the media server during a backup.

Try the following:

1  Try pinging the client from the server. If pinging is not possible, check for loose connections or other network problems.
2  Verify that the server list settings are correct on both the client and the server. If the backup involves a media server, verify that these entries are correct on both the master and the media server. For example, if a media server does not have a server list entry for the master, it does not accept connections from the master.
   *  On Windows, the master server is designated on the Servers tab in the Master Server Properties dialog box.
   To display this dialog box, see "Using the Host Properties window" in the Troubleshooting Guide.
   *  On UNIX and Macintosh systems the master server is the first SERVER entry in the bp.conf file.
   *  On NetWare target and OS/2 clients the master server name is the first SERVER entry in the bp.ini file.
   If you change the server list on a UNIX master server, for the changes to take effect you must do the following: stop and restart
 the NetBackup Request daemon (bprd) and NetBackup database manager daemon (bpdbm). On Windows, stop and restart the NetBackup Request Manager and NetBackup Database Manager services.
3  Status code 40 can also be due to denial of a mount request by the operator.
4  Run the NetBackup Configuration Validation Utility (NCVU) -conf <media server option> and -conf <client option> checks for the associated NetBackup nodes. Note the ping checks in section seven.
5  This status code may occur if nbjm was unable to connect to bpbrm or to bpmount. Examine the nbjm unified log (originator ID 117) or the bpbrm or the bpmount legacy logs for more detail on the cause of the error.



Anonymous
Not applicable
I would have a look into the netbackup installation trace file.

Normally you would find it in /usr/openv/tmp/
A file called install_trace is there. I would review for any problems within.

Also you must install NetBackup Client with system privileges or as root user.
Confirm this.

Next edit bp.conf and add the line:

VERBOSE = 5

Restart Netbackup services

Then rerun the backup and check the following Logs

/var/adm/messages
/usr/openv/netbackup/logs/bpbkar/*

Check the system does not have a duplex mismatch with the switch its connected to.
NIC's should be set to FIXED along with the ports it connects to. Not set to AUTO.

rishi_rich
Level 5
Hi,

I have done all these thing which you given above.Let me clear one thing this is virtual machine.After doing this all stuff, still iam getting error 40 for my client.As other Virutual machines are working fine only one client giving me this error,

sdo
Moderator
Moderator
Partner    VIP    Certified
On the client do:
$ nslookup mastername
$ nslookup mastername
...yes, do the command twice.  Is the output the same?  No, you have duplicate DNS for the master.

On the client do:
$ nslookup master.ip.add.ress
$ nslookup master.ip.add.ress
...yes, do it twice.  Is the output the same?  No, you have duplicate reverse DNS for the master.

On the master/media and/or media server do:
$ nslookup clientname
$ nslookup clientname
...yes, do the command twice.  Is the output the same?  No, you have duplicate DNS for the client.

On the master/media and/or media server do:
$ nslookup client.ip.add.ress
$ nslookup client.ip.add.ress
...yes, do it twice.  Is the output the same?  No, you have duplicate reverse DNS for the client.

On the client do:
$ bpclntcmd -pn
...to test whether it can see/resolve the master.

On the master/media and/or media do:
$ bpclntcmd -hn myclient
...to see if the NetBackup "Server" software can see/resolve the client.

Again on master/media and/or media do:
$ bptestbpcd -C myclient -verbose
...to see if the NetBackup server can communicate with the client.

Are both clients in the same domain?
Do they both have DNS enabled?
Are the /etc/hosts files the same?
Are the /etc/nswitch.conf files the same?
Are the /etc/resolv.conf files the same?
Are the /usr/openv/netbackup/bp.conf files the same?

HTH.

rishi_rich
Level 5
Hello ,

I have checked above all things nslookup mastername twice is same.on clinet is also same /etc/hosts is same nsswitch resolv.conf and bp.conf is exactly identical.
What should be issue.?I hope i am not doing any thing silly..

sdo
Moderator
Moderator
Partner    VIP    Certified
Can you post the output from:
Again on master/media and/or media do:
$ bptestbpcd -C myclient -verbose

Anonymous
Not applicable
• Find a flash tutorial for bptestbpcd here at my blog

Can you give us an outline of your environment?

So far you have given us

- NetBackup 5.1 client installed on Linux
-- what Linux OS and kernel?
-- any maintenance packs installed?
-- what version the netbackup master and OS platform

- Client is a Virtual Machine
-- what Virtualization solution being used? VMware? ESX ? Server ?

If either VMware Infrastructure or VMware Server, can you confirm the VMware Tools installed and status is OK?
You are using a supported/provided NIC driver within the VM.?

A crude statement, but as loads of peoples reponses are getting checked OK what about....
If other Virtual Machines working, why not clone/copy one and dump this one?

Last comment from me.

As taken from the NetBackup Admin Guide for 5.1

Run the NetBackup Configuration Validation Utility (NCVU) -conf <media server option> and -conf  <client option> checks for the associated NetBackup nodes. Note the ping checks in section seven.

Or you should run the support script (if it exists) in <install_path>/netbackup/bin/goodies/support

This helps me troubleshoot and would be what symantec would request to run.

Go through all the output yourself to see any issues.

http://seer.entsupport.symantec.com/docs/267418.htm

Will_Restore
Level 6
I figured every admin has appropriate netbackup paths included in his/her profile

<installpath/>netbackup/bin
<installpath/>netbackup/bin/admincmd
<installpath/>volmgr/bin

as a minimum

rishi_rich
Level 5
Hello,

Master server is having redhat enterprize 4
Client Centos 5.2
Netbackup 5.1 Mp4
Virtulization solutions Vmware Esx
Vnaware tools installed and are okay

rishi_rich
Level 5
Hello all,

For time being i mounted that servers file on other server and takeing backup through NFS.I am thinking of reinstalling system,since not able to trace out error.