1847452 Members
3232 Online
110265 Solutions
New Discussion

Re: Ping problem

 
R.Suresh
Frequent Advisor

Ping problem

Dear all,

I am working in a software company as a
HP-UX adminstrator.

One of my user compiled a program which
includes pinging to the other machine.
while running this,it aborted at some step.

Now none of the userid of that machine could
able to ping other than root.

It says

"Ping:soket permission denied."

Any one faced this kind of problem.

Thanks & Regards
R.Suresh.


PDLS
6 REPLIES 6
Alexander M. Ermes
Honored Contributor

Re: Ping problem

Hi there.
Your user is not allowed to cerate a socket in a tmp - directory.
Check the acces rights for this.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
R.Suresh
Frequent Advisor

Re: Ping problem

Dear Alex,

Thanks for your response,

I am able to create files on /tmp as well as
/var/tmp from that user.

I feel some socket lock happend for ping.
How can I find & remove it?
Thanks
PDLS
Alexander M. Ermes
Honored Contributor

Re: Ping problem

Hi there.
run a ping as root and try to find the socket with the find and the ctime parameter.
I am not really sure, where the socket will be created.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Alexander M. Ermes
Honored Contributor

Re: Ping problem

Hi there.
Try the find command with the -type s
parameter.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Darrel Louis
Honored Contributor

Re: Ping problem

Can you please check if the permissions of /usr/sbin/ping is correct.
-r-sr-xr-x 1 root bin 36864 Aug 20 1999 ping

Owner and the sticky bit
nnf97
Regular Advisor

Re: Ping problem

Look up doc ID:A3942218 on itrc.hp.com
It defines exactly the same problem and lists the solution.

Regards,
Nabeel
Live Free or Die (New Hampshire)