Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change fast cgi to mod php in ispconfig 3 clip Installation/Configuration 2 13th August 2009 09:12
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit asyadiqin Installation/Configuration 5 11th February 2009 20:11
Haproxy + Lighttpd / fast cgi EazySnatch Installation/Configuration 0 29th September 2008 16:22
File Permissions demonize Installation/Configuration 0 26th June 2008 20:11
Mail server attack princebenin Server Operation 1 19th November 2007 14:02


All times are GMT +2. The time now is 22:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.