1753797 Members
7477 Online
108799 Solutions
New Discussion юеВ

Re: Sockets

 
SOLVED
Go to solution
James Odak
Valued Contributor

Sockets

Senario
/var is low on space and the application manager runs programs that copy temporary files into /var/tmp
and of course we can not figure out where the variable is set to copy there to change it
so the /apps fs has plenty of space
so i create a /apps/tmp dir
and linked /var/tmp to /apps/tmp
all is fine except for one thing
inside the original /var/tmp are two sockets
and i can not move them into the new linked dir /var/tmp
(to link it i moved /var/tmp to /var/tmp2 and then moved the files back when i finished but when i try to move the sockets i get a message
can't move sockets across file systems
The sockets have a date stamp of 7/5/00 so in know htey are being used but just what the hell do they do?
can i recreate them on the other fs?
and if so how?

Thanks
3 REPLIES 3
Andreas Voss
Honored Contributor
Solution

Re: Sockets

Hi,

if the sockets you mean are:
psb_front_socket
psb_back_socket
then these socket are used by the HP Jetadmin software
Simply stop and restart the Network Printer Daemon:
/sbin/init.d/hpnpd stop
/sbin/init.d/hpnpd start

Regards

Andrew
James Odak
Valued Contributor

Re: Sockets

That was exactly it
Thanks, you kick but!

Jim
Kofi ARTHIABAH
Honored Contributor

Re: Sockets

run the fuser command to find out what processes are using the socket files
# fuser -u /var/tmp

from the list of PIDs you can find out what the processes are and terminate them as suggested above.

Good luck
nothing wrong with me that a few lines of code cannot fix!