Operating System - HP-UX
1820485 Members
2374 Online
109624 Solutions
New Discussion юеВ

traceroute and icmp socket

 
Andrew_80
Advisor

traceroute and icmp socket

I can run tracerout as root but I get an error message If I run as a normal user. The error message is :

traceroute: icmp socket: Not owner

I don't believe it is a permission problem since
-r-xr-xr-x 1 root bin 49152 Dec 5 2001 /usr/contrib/bin/traceroute

Does anyone know why this is happenning ?
Is it because of the Firewall ?
If it is how can I overcome this problem.

Thanks
The Sky is the Limit
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: traceroute and icmp socket


(1) it's not the permission of "traceroute", it's the socket permissions.

(2) Firewall is NOT causing this error!

(3) check permissions of IP devices (sorry I'm not connected to check my machines).

Do you have this running on any other machine, which doesn't have this problem?

live free or die
harry
Live Free or Die
Ron Kinner
Honored Contributor

Re: traceroute and icmp socket

It's not a firewall issue.

It is a permission problem of some kind. Are you sure this is an HPUX? Looks like a VAX error message.

Ron
U.SivaKumar_2
Honored Contributor

Re: traceroute and icmp socket

Hi,
Check the permission of /dev/udp should be
crw-rw-rw- 1 root root 72 0x00008e Jul 30 14:47 udp

regards,
U.SivaKumar
Innovations are made when conventions are broken
T G Manikandan
Honored Contributor

Re: traceroute and icmp socket

The permissions should be as

chmod 4555 traceroute

i.e
-r-sr-xr-x 1 root bin 36864 Aug 25 1998 traceroute

check it out.


Thanks
U.SivaKumar_2
Honored Contributor

Re: traceroute and icmp socket

Hi,
Mani you are right.
Just do this as root it will work.
#chmod u+s /usr/contrib/bin/traceroute

regards,
U.SivaKumar
Innovations are made when conventions are broken
Andrew R.
Advisor

Re: traceroute and icmp socket

My /dev/udp permission is OK. crw-rw-rw-
and I don't think I have to change my
/usr/contrib/bin/traceroute permission which is -r-xr-xr-x for one reason,
I have the same permission running HP-UX 11.0 and I can run traceroute as a normal user !!
By the way the problem occurs on HP-UX11i
Any more ideas ??

Thanks a lot

Live for the infinity life
Pete Randall
Outstanding Contributor

Re: traceroute and icmp socket

Andrew,

All my machines, both 11.0 and 11i, have traceroute permissions set thusly:
-r-sr-xr-x 1 root bin 32768 Nov 14 2000 /usr/contrib/bin/traceroute

At least try changing the permissions, you can always change them back if it doesn't fix the problem.

Pete

Pete
Andrew_80
Advisor

Re: traceroute and icmp socket

I changed the permission on /usr/contrib/bin/traceroute and it works, Thanks,
But I can sware to you it works on another N class machine with the normal permission
-r-xr-xr-x

Thanks again
The Sky is the Limit