Operating System - HP-UX
1835041 Members
3396 Online
110073 Solutions
New Discussion

Re: ping: socket: Not owner

 
SOLVED
Go to solution
Ken Penland_1
Trusted Contributor

ping: socket: Not owner

Strange problem here... This is an HPUX11.00 machine....as root, I can do a ping just fine, but a normal user, I get an error:

ping: socket: Not owner

I am assuming there is something wrong with something in the /dev directory...one thing I noticed that may be related, is when I normally log on, say my tty is /dev/pts/10, if I do an ls on that, it is owned by me.. on this box that is having a problem, it is not, but rather owned by root.

Any ideas on where I should go from here?
'
3 REPLIES 3
Ken Penland_1
Trusted Contributor

Re: ping: socket: Not owner

well, the /dev/pts thing was not it, I performed a insf -e and logged out and that resolved the one issue, however I still cannot perform the ping.
'
Mel Burslan
Honored Contributor
Solution

Re: ping: socket: Not owner

what are the permissions for ping executable ? first make sure which ping executable you are using.

which ping

then

ll /full/path/ping

and it should list something like:

-r-sr-xr-x 1 root bin 32768 Oct 23 2002 /usr/sbin/ping

make sure permissions are 4555
HTH

________________________________
UNIX because I majored in cryptology...
Ken Penland_1
Trusted Contributor

Re: ping: socket: Not owner

yes, somehow it lost its setuid bit, doing a chmod 4755 on ping corrected the problem
'