I've been having a problem on and off with suPHP and cpanel, the problem was it brings up an internal server error and suphp_log says "Directory / not owned by {username}" where {username} is the user executing the script.
I'd not managed to solve it so asked my friend Simon his google skills seem better than mine he managed to find http://www.mail-archive.com/suphp@lists.marsching.biz/msg00619.html and low and behold my / and various other folders weren't owned by root! They were owned by a deleted user (602), it turns out when I installed zmanda then uninstalled it somewhere along the line the ownership got changed to the zmanda user which was then deleted.
So after running
find / -user 602 -exec chgrp root {} \;
find / -user 602 -exec chown root {} \;
All works!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment