We are evaluating LSWS for use and have installed the trial version. Here are the server specs:
Dual Intel Woodcrest 5130 Dual Processors
4GB Ram
RHEL 5
Apache has been uninstalled as well as RPM versions of PHP and MySQL.
We installed LSWS 3.3.2 without any problems. We are using CHROOT and the path is /chroot/opt/lsws.
We tried installing the latest PHP (5.2.5) using the LSWS web panel but it hangs for some reason. We decided to install PHP manually. We followed the steps on your PHP SAPI installation page and after successful installation, we installed XCache. Everything looked successful. We checked the version and it shows:
However, when we go to our webserver at http://www.mxxm.com/phpinfo.php, we get a 503 error.
We checked the logs and here is what they say:
Any suggestions?
Rob
Dual Intel Woodcrest 5130 Dual Processors
4GB Ram
RHEL 5
Apache has been uninstalled as well as RPM versions of PHP and MySQL.
We installed LSWS 3.3.2 without any problems. We are using CHROOT and the path is /chroot/opt/lsws.
We tried installing the latest PHP (5.2.5) using the LSWS web panel but it hangs for some reason. We decided to install PHP manually. We followed the steps on your PHP SAPI installation page and after successful installation, we installed XCache. Everything looked successful. We checked the version and it shows:
[root@ns fcgi-bin]# ./lsphp -v
PHP 5.2.5 (litespeed) (built: Dec 13 2007 18:29:03)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.1, Copyright (c) 2005-2007, by mOo
PHP 5.2.5 (litespeed) (built: Dec 13 2007 18:29:03)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.1, Copyright (c) 2005-2007, by mOo
We checked the logs and here is what they say:
2007-12-13 19:46:17.852 INFO [phpLsapi] add child process pid: 13848
2007-12-13 19:46:17.852 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.853 INFO Remove pid: 13848
2007-12-13 19:46:17.853 INFO Pid: 13848 associated with [phpLsapi]
2007-12-13 19:46:17.853 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.853 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.853 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.853 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.853 INFO [phpLsapi] add child process pid: 13849
2007-12-13 19:46:17.853 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.854 INFO Remove pid: 13849
2007-12-13 19:46:17.854 INFO Pid: 13849 associated with [phpLsapi]
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.854 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.854 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.854 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.854 INFO [phpLsapi] add child process pid: 13850
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.854 INFO Remove pid: 13850
2007-12-13 19:46:17.854 INFO Pid: 13850 associated with [phpLsapi]
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.854 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.855 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.855 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.855 NOTICE [67.177.5.191:63870-0#Example] oops! 503 Service Unavailable
2007-12-13 19:46:17.855 NOTICE [67.177.5.191:63870-0#Example] Content len: 0, Request line:
GET /phpinfo.php HTTP/1.1
2007-12-13 19:46:17.852 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.853 INFO Remove pid: 13848
2007-12-13 19:46:17.853 INFO Pid: 13848 associated with [phpLsapi]
2007-12-13 19:46:17.853 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.853 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.853 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.853 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.853 INFO [phpLsapi] add child process pid: 13849
2007-12-13 19:46:17.853 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.854 INFO Remove pid: 13849
2007-12-13 19:46:17.854 INFO Pid: 13849 associated with [phpLsapi]
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.854 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.854 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.854 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.854 INFO [phpLsapi] add child process pid: 13850
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 1
2007-12-13 19:46:17.854 INFO Remove pid: 13850
2007-12-13 19:46:17.854 INFO Pid: 13850 associated with [phpLsapi]
2007-12-13 19:46:17.854 INFO [phpLsapi] pid list size: 0, pid stop list size: 0
2007-12-13 19:46:17.854 NOTICE [phpLsapi] stop worker processes
2007-12-13 19:46:17.855 INFO [phpLsapi] 1 request being processed, kill external app later.
2007-12-13 19:46:17.855 INFO [67.177.5.191:63870-0#Example] connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: Connection reset by peer!
2007-12-13 19:46:17.855 NOTICE [67.177.5.191:63870-0#Example] oops! 503 Service Unavailable
2007-12-13 19:46:17.855 NOTICE [67.177.5.191:63870-0#Example] Content len: 0, Request line:
GET /phpinfo.php HTTP/1.1
Rob