View Single Post
  #1  
Old 16th August 2009, 19:29
Bookworm Bookworm is offline
Junior Member
 
Join Date: Aug 2009
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default chmod failure when switching from suPHP to fast-CGI

suPHP/php-cgi, which I believe are necessary to allow the upload directories to function properly in Joomla, wordpress, and other CMS, is extremely resource heavy - as in 40-60% cpu _per instance_.

So, I switched one of the biggest offenders to fast-CGI, so that he could test what would be necessary to use that with wordpress-MU.

I ended up with not two, but eight jobs in the jobqueue, which stayed locked up. Subsequently, I enabled debugging, ran the server.sh process manually, and got this. (running it before debugging wouldn't actually complete)

16.08.2009-12:20 - DEBUG - Disable SSL for: <website1>.net
16.08.2009-12:20 - DEBUG - Writing the vhost file: /etc/httpd/conf/sites-available/cyantian.net.vhost
16.08.2009-12:20 - DEBUG - Processed datalog_id 133
16.08.2009-12:20 - DEBUG - Call function 'ssl' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
16.08.2009-12:20 - DEBUG - Call function 'update' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
chmod: cannot access `/var/www/clients/client8/web3/*': No such file or directory
16.08.2009-12:20 - DEBUG - Disable SSL for: <website2>.net
16.08.2009-12:20 - DEBUG - Writing the vhost file: /etc/httpd/conf/sites-available/shivae.net.vhost
16.08.2009-12:20 - DEBUG - Processed datalog_id 134
16.08.2009-12:20 - DEBUG - Call function 'ssl' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
16.08.2009-12:20 - DEBUG - Call function 'update' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
chmod: cannot access `/var/www/clients/client8/web3/*': No such file or directory
16.08.2009-12:20 - DEBUG - Disable SSL for: <website2>.net
16.08.2009-12:20 - DEBUG - Writing the vhost file: /etc/httpd/conf/sites-available/shivae.net.vhost
16.08.2009-12:20 - DEBUG - Processed datalog_id 135
16.08.2009-12:20 - DEBUG - Call function 'ssl' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
16.08.2009-12:20 - DEBUG - Call function 'update' in plugin 'apache2_plugin' raised by event 'web_domain_update'.
chmod: cannot access `/var/www/clients/client8/web3/*': No such file or directory

Notice the 'cannot access' 'no such file or directory' message. The /var/www/clients/client8/web3 and web4 directories -DO- exist, but apparently the process doesn't have permissions to work on them, or something.

Here's the ls -la for one of them

ls -la /var/www/clients/client8/web4/
total 52
drwxr-xr-x 6 root root 4096 Aug 15 15:26 .
drwxr-xr-x 4 root root 4096 Aug 15 15:26 ..
drwxr-xr-x 2 web4 client8 4096 Aug 15 15:26 cgi-bin
lrwxrwxrwx 1 web4 client8 37 Aug 15 15:26 log -> /var/log/ispconfig/httpd/<website1>.net
drwxr-xr-x 2 web4 client8 4096 Aug 15 15:26 ssl
drwxrwxrwx 2 web4 client8 4096 Aug 15 15:26 tmp
drwxr-xr-x 24 web4 client8 4096 Aug 16 00:37 web

Any suggestions?
Reply With Quote
Sponsored Links