Skip to main content

suphp deleted

Comments

7 comments

  • Jcats
    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
    # 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.
    0
  • uadm
    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
    0
  • cPanelMichael
    Hello :) Is the file regenerated if you rebuild Apache/PHP via EasyApache? Thank you.
    0
  • uadm
    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.
    0
  • cPanelMichael
    I'm not aware of any processes that would remove the /opt/suphp/sbin/suphp file from a system. The following tutorial may help you track down what's removing the file:
    0
  • dario2
    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!
    0
  • cPanelMichael
    You could audit the directory itself as suggested on this URL: Re: Who is deleting the file Thank you.
    0

Please sign in to leave a comment.