Operating System - HP-UX
1830935 Members
2470 Online
110017 Solutions
New Discussion

Backup failing with 150 : Socket file prob. help!!

 
SOLVED
Go to solution
rveri
Super Advisor

Backup failing with 150 : Socket file prob. help!!

Hi All ,

[ hp-ux B.11.11 U 9000/800. ]

The Netbackup backups on this server (spec: ALL_LOCAL_DRIVES) is failing with error code 150 (termination requested by administrator), almost every day. After running manual backup sometime it complets successfully somtime not.

While checking the errors found lots of socket file trying to backup under /var and after that its failing .

---------
# bperror -U -jobid 332123
....
07/27/2006 20:30:32 mediasv5 server12 from client server: TRV -
/var/spool/sockets/pwgr/client27686 is a socket special
file. Skipping.
07/27/2006 20:30:39 mediasv5 server12 from client server12: TRV -
/var/spool/sockets/pwgr/client9278 is a socket special
file. Skipping.
07/27/2006 20:30:53 mediasv5 server12 CLIENT server12 POLICY infsrv12
SCHED Daily EXIT STATUS 150 (termination requested by
administrator)
07/27/2006 20:30:53 mediasvr5 server12 backup of client server12 exited
with status 150 (termination requested by administrator)
#
--------


Here is the socket file details:
-----------------------------
srwxrwxrwx 1 root root 0 Jul 27 23:35 client5157
srwxrwxrwx 1 orasbd sbdba 0 Jul 27 23:35 client5210
srwxrwxrwx 1 root root 0 Jul 27 23:36 client5247
srwxrwxrwx 1 root root 0 Jul 27 23:36 client5284
srwxrwxrwx 1 root root 0 Jul 27 23:36 client5282
srwxrwxrwx 1 root root 0 Jul 27 23:36 client5307
srwxrwxrwx 1 root sys 0 Jul 27 23:37 client5508
root@server12:/var/spool/sockets/pwgr #
root@server12:/var/spool/sockets/pwgr # file client5508
client5508: socket
root@server12:/var/spool/sockets/pwgr #
-----------------------------------------

The socket files looks like 0 bytes. What can be done to eliminate this problem.

Thanks,
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: Backup failing with 150 : Socket file prob. help!!

You do not need to back up soctket files at all. They are created and deleted as and when required. Backing them up is of no use.
Exclude dir /var/spool/sockets from the backup specification.

Also, the backup is not aborting on account of these files, but it is aborted by Admin himself.
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Backup failing with 150 : Socket file prob. help!!

Hi,

You dont need to backup socket files for any reason. They will be created by kernel automatically when needed.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Raj D.
Honored Contributor

Re: Backup failing with 150 : Socket file prob. help!!

Hi You can exclude the /var/spool/socket from backing up. And hope it will go fine.

# man 7 socket


hth,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "