cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

Backup failiure with error code 25

ankushkalra
Level 5


Hi,

We are using symantic veritas 6.5.6 to backup all unix and windows servers.Our backup server is on win2k8 enterprise 64 bit.

We recently come across issue where backup of One sun server is failing.It was working fine earlier.After rebooting the server it stopped working.

We have one master/media server for this client.

File level backup is failing.

OS details of server is as below.

[ABC@root--]/--->cat /etc/release
                           Solaris 9 s9_58shwpl3 SPARC
           Copyright 2002 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 15 April 2002

[ABC@root--]/--->uname -a
SunOS ABC 5.9 Generic_117171-02 sun4u sparc SUNW,Netra-T12


bpcd logs


C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd.exe -client ABC -
debug
11:50:41.394 [11092.18664] <2> bptestbpcd: VERBOSE = 0
11:52:41.411 [11092.18664] <2> vnet_sock_ready: vnet.c.507: max_time: 120 0x0000
0078
11:52:41.411 [11092.18664] <2> vnet_sock_ready: vnet.c.508: sock: 572 0x0000023c

11:52:41.411 [11092.18664] <2> vnet_sock_ready: vnet.c.509: Function failed: 11
0x0000000b
11:52:41.412 [11092.18664] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x
0000000b
11:52:41.413 [11092.18664] <2> vnet_pop_string: vnet.c.268: Function failed: 11
0x0000000b
11:52:41.414 [11092.18664] <2> vnet_pop_signed: vnet.c.312: Function failed: 11
0x0000000b
11:52:41.415 [11092.18664] <2> version_connect: vnet_vnetd.c.1817: Function fail
ed: 11 0x0000000b
11:52:41.415 [11092.18664] <2> do_vnetd_service: vnet_vnetd.c.4413: version_conn
ect failed: 11 0x0000000b
11:52:41.416 [11092.18664] <2> vnet_async_connect: vnet_vnetd.c.4213: do_vnetd_s
ervice failed: 11 0x0000000b
11:52:41.429 [11092.18664] <2> logconnections: BPCD CONNECT FROM 172.21.161.25.8
65 TO 172.21.161.76.13782
11:54:11.438 [11092.18664] <2> vnet_sock_ready: vnet.c.507: max_time: 90 0x00000
05a
11:54:11.438 [11092.18664] <2> vnet_sock_ready: vnet.c.508: sock: 572 0x0000023c

11:54:11.438 [11092.18664] <2> vnet_sock_ready: vnet.c.509: Function failed: 11
0x0000000b
11:54:11.438 [11092.18664] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x
0000000b
11:54:11.439 [11092.18664] <2> vnet_pop_string: vnet.c.268: Function failed: 11
0x0000000b
11:54:11.439 [11092.18664] <2> vnet_pop_signed: vnet.c.312: Function failed: 11
0x0000000b
11:54:11.439 [11092.18664] <2> vnet_pop_status: vnet.c.390: Function failed: 11
0x0000000b
11:54:11.440 [11092.18664] <2> vnet_begin_connect_back: vnet_vnetd.c.723: status
: 11 0x0000000b
11:54:11.441 [11092.18664] <2> ConnectToBPCD: bpcd_connect_and_verify(ABC, s
un1280) failed: 0
<16>bptestbpcd main: Function ConnectToBPCD(ABC) failed: 25
11:54:11.443 [11092.18664] <16> bptestbpcd main: Function ConnectToBPCD(ABC)
 failed: 25
<2>bptestbpcd: cannot connect on socket
11:54:11.444 [11092.18664] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
11:54:11.445 [11092.18664] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

Please tell me what should be done to resolve this issue.

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Please telnet to hostname, not IP address - same client name that you used for bptestbpcd.
Show us telnet to vnetd and bpcd.
 

I am curious to know why there is no attempt to connect to vnetd.
Please show us output of this command on the master server:
 bpclient -client <client_name> -L

Please run netstat -a on the client and save output to a file:
netstat -a >/tmp/netstat.txt
Upload netstat.txt as File Attachment.

PS:
When last was this client rebooted?

View solution in original post

8 REPLIES 8

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You have only showed bptestbpcd output - not bpcd log.

Do you have bpcd log folder on the client? 
Is anything logged in bpcd ?

Have you confirmed that bpcd and vnetd are LISTENING on the client?

Can you see vnetd and bpcd entries in /etc/services and /etc/inetd.conf on the client?

Probably backup error for this client? Start Netbackup client services on solaris 9 

We need to see bpcd log on the client.

Also check if there is a firewall between client and master server.
Check for existence of host.allow and/or host.deny in /etc on the client. 
If any of the above files exist - please show us contents.

See if you can telnet from the master to bpcd (port 13782) and/or vnetd ( port13724) on the client.

ankushkalra
Level 5

Please find below log from activity monitor:

Activity monitor:

11/20/2015 5:23:53 PM - requesting resource Any
11/20/2015 5:23:53 PM - requesting resource BackupServer01.NBU_CLIENT.MAXJOBS.BackupClient01
11/20/2015 5:23:53 PM - requesting resource BackupServer01.NBU_POLICY.MAXJOBS.GG4-Bancs-Unix-Solaris
11/20/2015 5:23:53 PM - awaiting resource Any Reason: Maximum job count has been reached for the storage unit, Media Server: BackupServer01,
  Robot Number: 0, Robot Type: TLD, Media ID: N/A, Drive Name: N/A,
  Volume Pool: Quartz-Unix, Storage Unit: BackupServer01-hcart-robot-tld-0, Drive Scan Host: N/A
 
11/20/2015 5:46:06 PM - granted resource BackupServer01.NBU_CLIENT.MAXJOBS.BackupClient01
11/20/2015 5:46:06 PM - granted resource BackupServer01.NBU_POLICY.MAXJOBS.GG4-Bancs-Unix-Solaris
11/20/2015 5:46:06 PM - granted resource G817L4
11/20/2015 5:46:06 PM - granted resource IBM.ULT3580-TD4.003
11/20/2015 5:46:06 PM - granted resource BackupServer01-hcart-robot-tld-0
11/20/2015 5:46:06 PM - estimated 459637747 kbytes needed
11/20/2015 5:49:37 PM - Error bpbrm(pid=12648) Cannot connect to BackupClient01        
11/20/2015 5:49:37 PM - end writing
can't connect to client(58)

Have you confirmed that bpcd and vnetd are LISTENING on the client? yes

Can you see vnetd and bpcd entries in /etc/services and /etc/inetd.conf on the client? yes

Probably backup error for this client? Start Netbackup client services on solaris 9  yes

 

Also check if there is a firewall between client and master server. no firewall
Check for existence of host.allow and/or host.deny in /etc on the client. 
 

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Please have another look at my previous post: 

Do you have bpcd log folder on the client? 
Is anything logged in bpcd ?

We need to see bpcd log on the client. 

 

Run bptestbpcd again, check bpcd log folder on the client.

Is there a log file with today's date?
If so, please show us contents. 
If more than about 10 lines, please copy the log to bpcd.txt and upload as File attachment.

If nothing is logged, 'something' on your network or security measures on the client is preventing port connectivity.

Also from my previous post:

See if you can telnet from the master to bpcd (port 13782) and/or vnetd ( port13724) on the client.

ankushkalra
Level 5

Thanks for the reply

 

Please find my responce below.

 

Do you have bpcd log folder on the client? No i created it manually(Location /usr/openv/netbackup/logs)

Is anything logged in bpcd ?  no

We need to see bpcd log on the client.

Run bptestbpcd again, check bpcd log folder on the client.

Running command on backup server:
C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd.exe -client ABCClient -debug
15:54:41.740 [12868.23248] <2> bptestbpcd: VERBOSE = 0
15:56:41.766 [12868.23248] <2> vnet_sock_ready: vnet.c.507: max_time: 120 0x00000078
15:56:41.766 [12868.23248] <2> vnet_sock_ready: vnet.c.508: sock: 580 0x00000244
15:56:41.766 [12868.23248] <2> vnet_sock_ready: vnet.c.509: Function failed: 11 0x0000000b
15:56:41.767 [12868.23248] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x0000000b
15:56:41.767 [12868.23248] <2> vnet_pop_string: vnet.c.268: Function failed: 11 0x0000000b
15:56:41.768 [12868.23248] <2> vnet_pop_signed: vnet.c.312: Function failed: 11 0x0000000b
15:56:41.768 [12868.23248] <2> version_connect: vnet_vnetd.c.1817: Function failed: 11 0x0000
15:56:41.768 [12868.23248] <2> do_vnetd_service: vnet_vnetd.c.4413: version_connect failed: 1
15:56:41.769 [12868.23248] <2> vnet_async_connect: vnet_vnetd.c.4213: do_vnetd_service failed
15:56:41.780 [12868.23248] <2> logconnections: BPCD CONNECT FROM 172.21.161.25.635 TO 172.21.
15:58:11.788 [12868.23248] <2> vnet_sock_ready: vnet.c.507: max_time: 90 0x0000005a
15:58:11.788 [12868.23248] <2> vnet_sock_ready: vnet.c.508: sock: 580 0x00000244
15:58:11.788 [12868.23248] <2> vnet_sock_ready: vnet.c.509: Function failed: 11 0x0000000b
15:58:11.789 [12868.23248] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x0000000b
15:58:11.789 [12868.23248] <2> vnet_pop_string: vnet.c.268: Function failed: 11 0x0000000b
15:58:11.789 [12868.23248] <2> vnet_pop_signed: vnet.c.312: Function failed: 11 0x0000000b
15:58:11.790 [12868.23248] <2> vnet_pop_status: vnet.c.390: Function failed: 11 0x0000000b
15:58:11.790 [12868.23248] <2> vnet_begin_connect_back: vnet_vnetd.c.723: status: 11 0x000000
15:58:11.791 [12868.23248] <2> ConnectToBPCD: bpcd_connect_and_verify(ABCClient, ABCClient) faile
<16>bptestbpcd main: Function ConnectToBPCD(ABCClient) failed: 25
15:58:11.792 [12868.23248] <16> bptestbpcd main: Function ConnectToBPCD(ABCClient) failed: 25
<2>bptestbpcd: cannot connect on socket
15:58:11.793 [12868.23248] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:58:11.793 [12868.23248] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

On Client nothing is visible in path /usr/openv/netbackup/logs)

Is there a log file with today's date? no
If so, please show us contents.
If more than about 10 lines, please copy the log to bpcd.txt and upload as File attachment.

If nothing is logged, 'something' on your network or security measures on the client is preventing port connectivity.

Also from my previous post:

See if you can telnet from the master to bpcd (port 13782) and/or vnetd ( port13724) on the client.  Able to telnet these portss

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Please show us telnet commands and result. And please repeat bptestbpcd command and add -verbose. bptestbpcd.exe -client ABCClient -debug -verbose I'd like to see port numbers of connection attempt.

ankushkalra
Level 5

Thanks for the reply!!!

 

Telnet result is attached.

 

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd.exe -client ABCClient -debug -verbose
09:25:53.128 [24072.11096] <2> bptestbpcd: VERBOSE = 0
09:27:53.158 [24072.11096] <2> vnet_sock_ready: vnet.c.507: max_time: 120 0x00000078
09:27:53.158 [24072.11096] <2> vnet_sock_ready: vnet.c.508: sock: 580 0x00000244
09:27:53.158 [24072.11096] <2> vnet_sock_ready: vnet.c.509: Function failed: 11 0x0000000b
09:27:53.158 [24072.11096] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x0000000b
09:27:53.158 [24072.11096] <2> vnet_pop_string: vnet.c.268: Function failed: 11 0x0000000b
09:27:53.159 [24072.11096] <2> vnet_pop_signed: vnet.c.312: Function failed: 11 0x0000000b
09:27:53.159 [24072.11096] <2> version_connect: vnet_vnetd.c.1817: Function failed: 11 0x0000000b
09:27:53.159 [24072.11096] <2> do_vnetd_service: vnet_vnetd.c.4413: version_connect failed: 11 0x000
0000b
09:27:53.159 [24072.11096] <2> vnet_async_connect: vnet_vnetd.c.4213: do_vnetd_service failed: 11 0x
0000000b
09:27:53.170 [24072.11096] <2> logconnections: BPCD CONNECT FROM 172.XX.XX.XX.687 TO 172.XX.XX.XX.13782
09:29:23.178 [24072.11096] <2> vnet_sock_ready: vnet.c.507: max_time: 90 0x0000005a
09:29:23.178 [24072.11096] <2> vnet_sock_ready: vnet.c.508: sock: 580 0x00000244
09:29:23.178 [24072.11096] <2> vnet_sock_ready: vnet.c.509: Function failed: 11 0x0000000b
09:29:23.178 [24072.11096] <2> vnet_pop_byte: vnet.c.173: Function failed: 11 0x0000000b
09:29:23.179 [24072.11096] <2> vnet_pop_string: vnet.c.268: Function failed: 11 0x0000000b
09:29:23.179 [24072.11096] <2> vnet_pop_signed: vnet.c.312: Function failed: 11 0x0000000b
09:29:23.179 [24072.11096] <2> vnet_pop_status: vnet.c.390: Function failed: 11 0x0000000b
09:29:23.179 [24072.11096] <2> vnet_begin_connect_back: vnet_vnetd.c.723: status: 11 0x0000000b
09:29:23.180 [24072.11096] <2> ConnectToBPCD: bpcd_connect_and_verify(ABCClient, ABCClient) failed: 0
<16>bptestbpcd main: Function ConnectToBPCD(ABCClient) failed: 25
09:29:23.180 [24072.11096] <16> bptestbpcd main: Function ConnectToBPCD(ABCClient) failed: 25
<2>bptestbpcd: cannot connect on socket
09:29:23.181 [24072.11096] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
09:29:23.181 [24072.11096] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

mph999
Level 6
Employee Accredited

On the client, did you restart bpcd ? - it won't log anything until you do ...

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Please telnet to hostname, not IP address - same client name that you used for bptestbpcd.
Show us telnet to vnetd and bpcd.
 

I am curious to know why there is no attempt to connect to vnetd.
Please show us output of this command on the master server:
 bpclient -client <client_name> -L

Please run netstat -a on the client and save output to a file:
netstat -a >/tmp/netstat.txt
Upload netstat.txt as File Attachment.

PS:
When last was this client rebooted?