The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ping: icmp open socket: Operation not permitted

Discussion in 'General Discussion' started by Snowman30, Oct 19, 2004.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    I have a server running FC2 on an Athlon 64 which has suddenly started throwing the error:

    ping: icmp open socket: Operation not permitted

    It was fine until a couple of weeks ago then suddenly stopped working

    anyone know how i can fix this as a script i run for monitoring requires it....
     
  2. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    anyone know
     
  3. StevenC

    StevenC Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    How are you trying to access it? by php? if so you must set the suid bit on the ping binary. however I DO NOT RECOMMEND DOING THIS. It can be used to launce a ICMP attack from your server. Also make sure you do not have any firewall / sysctl rules blocking ICMP access.
     
Loading...

Share This Page