ping: icmp open socket: Operation not permitted

vis

Member
Feb 16, 2002
15
0
301
ping: icmp open socket: Operation not permitted

Anyone know how to fix this ?? .... yes I know it's 'better' to leave it, I trust everyone on my server. I've seen many threads on it but no one has posted a solution in any I've seen.

cPanel.net Support Ticket Number:
 

ho247

Active Member
Mar 25, 2002
41
0
306
United kingdom
Originally posted by vis
ping: icmp open socket: Operation not permitted

Anyone know how to fix this ?? .... yes I know it's 'better' to leave it, I trust everyone on my server. I've seen many threads on it but no one has posted a solution in any I've seen.
What it looks like you are doing there is using the ping command as a user and not as root. To allow the ping command to always run as root no matter what user is using the command, run the following command on the server as the user root:

chmod +s `type -p ping`

cPanel.net Support Ticket Number: