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.

suphp deleted

Discussion in 'CloudLinux' started by uadm, Sep 30, 2015.

  1. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Not sure if this is cloud linux issue or not, but the fact is that our system is cloud linux.

    The problem: /opt/suphp/sbin/suphp is deleted. We reinstalled it from /home/cpeasyapache/src/suphp-0 however are a few weeks it's gone again.

    We can't find what is causing the file to be deleted.

    Anyone else seen this?
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    How did you become aware of the issue?

    Are you able to see when the problem started, it will most likely show in Apache error log
    Code:
    # grep suphp /usr/local/apache/logs/error_log
    I would try and find when the problem started to see if you can link it to maybe an issue with cPanel update for example, you can see if it occurs around the time the cron runs.
     
  3. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    We get aware of the issue when the sites start to return internal server error.

    There's no consistancy in the error start. Once it startd at 23:15, once it started at 09:44.
    We checked the crons on the server. Nothing there to even come close to /opt
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    basically, yes. However we didn't run the entire easyapache process but only make install in /home/cpeasyapache/src/suphp-0 which by it self generated the file.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. dario2

    dario2 Member

    Joined:
    Sep 21, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Did you ever find out what caused suphp to be deleted? I've just had that happen to me. Your solution with the quick make install was genious, thanks!

    That's the first time it's ever happened on one of my servers. It's also my first CentOS 7 server with Cpanel, just sayin'...

    Does the Linux audit system track file deletions? It seems to only track reads, writes, appends and executions, not file removal though...

    Thanks!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - suphp deleted
  1. rahnev
    Replies:
    3
    Views:
    566

Share This Page