Hello,
On our pre production server we have been running automatic yum updates and last night ASL ( http://www.atomicorp.com/products/asl.html ) updated it self and decided it was a good idea to chmod apache log directory to 700 (originaly 755). This resulted in all fcgid PHP scripts not working any more.
I contacted their support about this issue and was told it was a known bug but was given the impression that it was a low priority bug (that they have known about for at least 9 months).
Fr om what I have understood they don think it as important as it only affects hosts running mod_fcgid.
I asked them for a solution, and the solution they gave me was to change the chmod back whenever I noticed that all PHP scripts on the server had stopped working.
I see three solutions to get around this problem :
1) Always run yum update manually and check that PHP is running after each update
2) Add a chmod command to cPanels post update script
3) Move the location wh ere fgcid creates its sockets
The first solution is a pain because important security updates won always be run in a timely manner.
The second solution seems a bit of an overkill, but should prevent PHP scripts going down for a long period
The third solution is my prefered one but Im not sure what this would imply exactly and I presume that its not supported at all by cPanel.
I would be interested to find out if you have run into this problem, if so what work around you have applied to get around this bug, and would be greatfull for any reccomendations (I don think I will get any from their support).
Im posting this issue on CloudLinuxs forums because on ASLs forums no support has been given and because Ive found that CloudLinux has always provided excelent support even with problems that are not directly to do with their software.
On our pre production server we have been running automatic yum updates and last night ASL ( http://www.atomicorp.com/products/asl.html ) updated it self and decided it was a good idea to chmod apache log directory to 700 (originaly 755). This resulted in all fcgid PHP scripts not working any more.
I contacted their support about this issue and was told it was a known bug but was given the impression that it was a low priority bug (that they have known about for at least 9 months).
Fr om what I have understood they don think it as important as it only affects hosts running mod_fcgid.
I asked them for a solution, and the solution they gave me was to change the chmod back whenever I noticed that all PHP scripts on the server had stopped working.
I see three solutions to get around this problem :
1) Always run yum update manually and check that PHP is running after each update
2) Add a chmod command to cPanels post update script
3) Move the location wh ere fgcid creates its sockets
The first solution is a pain because important security updates won always be run in a timely manner.
The second solution seems a bit of an overkill, but should prevent PHP scripts going down for a long period
The third solution is my prefered one but Im not sure what this would imply exactly and I presume that its not supported at all by cPanel.
I would be interested to find out if you have run into this problem, if so what work around you have applied to get around this bug, and would be greatfull for any reccomendations (I don think I will get any from their support).
Im posting this issue on CloudLinuxs forums because on ASLs forums no support has been given and because Ive found that CloudLinux has always provided excelent support even with problems that are not directly to do with their software.
Comment