On WHM/Cpanel 11.25.xx based server with litespeed 4.0.12 on 2x web servers load balanced using haproxy where load balancer ip is xxx.xx.xxx.x13
Both web1 and web2 have:
Everything was working fine for past few days until today decided to upgrade a vbdrupal install from 5.19 to 5.21 and copy overwrote some /home/username/public_html/* files
Problems
now it seems out of the blue after doing test upgrades for vbdrupal account for domain mydomain.com at /home/username/public_html on web1 and web2, litespeed no longer serves pages and gives me the following errors
On mydomain.com through load balancer ip xxx.xx.xxx.x13 gives me:
Also tried bypassing the load balancer direct to web1/web2 copies at
give same error messages
and accessing http://forums.mydomain.com/
gives message
I double checked the file ownership/permissions and they were as before when it was working ?
file permissions for /home/username/public_html/.htaccess
looking at web 1 and web 2 error_logs
on web 1
on web 2
particularly this line
web 1 litespeed admin control panel reports
web2 litespeed admin panel reports
no idea what's going on ?
Hope someone has some ideas
thanks in advance
Both web1 and web2 have:
- CentOS 5.4 64bit
- PHP 5.2.12 + Eaccelerator
- Memcached 1.4.4 and Memache 2.2.5 installed
Everything was working fine for past few days until today decided to upgrade a vbdrupal install from 5.19 to 5.21 and copy overwrote some /home/username/public_html/* files
Problems
now it seems out of the blue after doing test upgrades for vbdrupal account for domain mydomain.com at /home/username/public_html on web1 and web2, litespeed no longer serves pages and gives me the following errors
On mydomain.com through load balancer ip xxx.xx.xxx.x13 gives me:
Code:
[ERROR] Can not open directory for URI: /~username/!
give same error messages
and accessing http://forums.mydomain.com/
gives message
Code:
404 Not Found
The resource requested could not be found on this server!
file permissions for /home/username/public_html/.htaccess
Code:
-rwxrwxrwx 1 username username 4.5K Sep 21 09:26 .htaccess*
on web 1
Code:
2010-02-06 06:50:00.006 [INFO] ProcInfo Pid: 30118, socket: /tmp/lshttpd/lsphp5.sock
2010-02-06 06:50:00.006 [INFO] [lsphp5] pid list size: 0, pid stop list size: 0
2010-02-06 06:50:01.651 [INFO] [127.0.0.1:47591-0#APVH_*_web1.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:50:01.651 [INFO] [127.0.0.1:47591-0#APVH_*_web1.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:50:01.657 [INFO] [127.0.0.1:47592-0#APVH_*_web1.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:50:01.657 [INFO] [127.0.0.1:47592-0#APVH_*_web1.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:52:33.980 [INFO] Remove pid: 29902
2010-02-06 06:52:33.980 [INFO] Pid: 29902 associated with [AdminPHP]
2010-02-06 06:52:33.980 [INFO] ProcInfo Pid: 29902, socket: /tmp/lshttpd/admin_php.sock
2010-02-06 06:52:33.981 [INFO] [AdminPHP] pid list size: 0, pid stop list size: 0
2010-02-06 06:55:01.313 [INFO] [127.0.0.1:46617-0#APVH_*_web1.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:55:01.313 [INFO] [127.0.0.1:46617-0#APVH_*_web1.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:55:01.324 [INFO] [127.0.0.1:46618-0#APVH_*_web1.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:55:01.324 [INFO] [B][127.0.0.1:46618-0#APVH_*_web1.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:57:20.494 [ERROR] [HTAccess] Failed to open [/home/username/public_html/forums/.htaccess]: Permission denied
2010-02-06 06:57:20.494 [INFO] [208.xx.xxx.xxx:48287-0#APVH_forums.mydomain.com] File not found [/home/username/public_html/forums/]
2010-02-06 06:57:20.494 [INFO] [208.xx.xxx.xxx:48287-0#APVH_forums.mydomain.com] Cannot found appropriate handler for [/]
2010-02-06 06:57:20.494 [INFO] [208.xx.xxx.xxx:48287-0#APVH_forums.mydomain.com] File not found [/home/username/public_html/forums/404.shtml]
2010-02-06 06:57:20.494 [INFO] [208.xx.xxx.xxx:48287-0#APVH_forums.mydomain.com] Cannot found appropriate handler for [/404.shtml][/B]
on web 2
particularly this line
2010-02-06 06:49:43.726 [NOTICE] [220.xxx.xxx.76:3325-0#APVH_mydomain.com] [STDERR] PHP Warning: opendir(/home/username/public_html/) [function.opendir]: failed to open dir: Permission denied in /usr/local/lib/php/autoindex/default.php on line 136
Code:
2010-02-06 06:49:43.266 [INFO] [lsphp5] add child process pid: 5766
[B]2010-02-06 06:49:43.726 [NOTICE] [220.xxx.xxx.76:3325-0#APVH_mydomain.com] [STDERR] PHP Warning: opendir(/home/username/public_html/) [function.opendir]: failed to open dir: Permission denied in /usr/local/lib/php/autoindex/default.php on line 136[/B]
2010-02-06 06:49:54.079 [INFO] [lsphp5] kill pid: 5766
2010-02-06 06:49:54.082 [INFO] Remove pid: 5766
2010-02-06 06:49:54.082 [INFO] Pid: 5766 associated with [lsphp5]
2010-02-06 06:49:54.082 [INFO] ProcInfo Pid: 5766, socket: /tmp/lshttpd/lsphp5.sock
2010-02-06 06:49:54.082 [INFO] [lsphp5] pid list size: 0, pid stop list size: 0
2010-02-06 06:50:01.534 [INFO] [127.0.0.1:57203-0#APVH_*_web2.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:50:01.534 [INFO] [127.0.0.1:57203-0#APVH_*_web2.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:50:01.540 [INFO] [127.0.0.1:57204-0#APVH_*_web2.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:50:01.540 [INFO] [127.0.0.1:57204-0#APVH_*_web2.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:53:28.739 [INFO] [208.xx.xxx.67:33773-0#APVH_*_web2.mydomain.com] File not found [/usr/local/apache/htdocs/server-status]
2010-02-06 06:53:28.739 [INFO] [208.xx.xxx.67:33773-0#APVH_*_web2.mydomain.com] Cannot found appropriate handler for [/server-status]
2010-02-06 06:53:58.997 [INFO] Remove pid: 5712
2010-02-06 06:53:58.998 [INFO] Pid: 5712 associated with [AdminPHP]
2010-02-06 06:53:58.998 [INFO] ProcInfo Pid: 5712, socket: /tmp/lshttpd/admin_php.sock
2010-02-06 06:53:58.998 [INFO] [AdminPHP] pid list size: 0, pid stop list size: 0
2010-02-06 06:55:01.204 [INFO] [127.0.0.1:60125-0#APVH_*_web2.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:55:01.204 [INFO] [127.0.0.1:60125-0#APVH_*_web2.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 06:55:01.211 [INFO] [127.0.0.1:60126-0#APVH_*_web2.mydomain.com] File not found [/usr/local/apache/htdocs/whm-server-status]
2010-02-06 06:55:01.211 [INFO] [127.0.0.1:60126-0#APVH_*_web2.mydomain.com] Cannot found appropriate handler for [/whm-server-status]
2010-02-06 07:04:12.663 ERROR HttpListener::start(): Can't listen at address adminListener: Address already in use!
2010-02-06 07:04:12.663 ERROR HttpServer::addListener(adminListener) failed to create new listener
2010-02-06 07:04:12.663 ERROR [config:admin:listener:adminListener] failed to start listener on address *:7080!
2010-02-06 07:04:12.663 ERROR [config:admin:listener] No listener is available for admin virtual host!
2010-02-06 07:04:12.663 ERROR Fatal error in configuration, exit!
2010-02-06 07:04:12.827 WARN [config:server:listener] No listener is available for normal virtual host!
2010-02-06 07:33:02.383 ERROR [HTAccess] Failed to open [/home/username/public_html/forums/.htaccess]: Permission denied
2010-02-06 07:33:10.750 ERROR [HTAccess] Failed to open [/home/username/public_html/.htaccess]: Permission denied
2010-02-06 07:04:12.663 ERROR HttpServer::addListener(adminListener) failed to create new listener
2010-02-06 07:04:12.663 ERROR [config:admin:listener:adminListener] failed to start listener on address *:7080!
2010-02-06 07:04:12.663 ERROR [config:admin:listener] No listener is available for admin virtual host!
2010-02-06 07:04:12.663 ERROR Fatal error in configuration, exit!
2010-02-06 07:04:12.827 WARN [config:server:listener] No listener is available for normal virtual host!
2010-02-06 07:33:02.383 ERROR [HTAccess] Failed to open [/home/username/public_html/forums/.htaccess]: Permission denied
2010-02-06 07:33:10.750 ERROR [HTAccess] Failed to open [/home/username/public_html/.htaccess]: Permission denied
Found 2 warning/error messages in the log: More
Time Level Message
2010-02-06 06:49:43.250 ERROR [HTAccess] Failed to open [/home/username/public_html/.htaccess]: Permission denied
2010-02-06 07:03:27.887 WARN [config:server:listener] No listener is available for normal virtual host!
Time Level Message
2010-02-06 06:49:43.250 ERROR [HTAccess] Failed to open [/home/username/public_html/.htaccess]: Permission denied
2010-02-06 07:03:27.887 WARN [config:server:listener] No listener is available for normal virtual host!
Hope someone has some ideas
thanks in advance
Last edited by a moderator: