Just did a fresh install of Ubuntu Jaunty 32bit and installed lsws 4.0.10. Problem is it will no start:
[OK] The startup script has been successfully installed!
Would you like to start it right now [Y/n]?
[OK] lshttpd: pid=23988.
[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/usr/local/lsws/docs/".
There is nothing in stderr.log but error.log shows:
root@vps:/usr/local/lsws/logs# cat error.log
2009-08-28 20:37:26.075 [NOTICE] Loading LiteSpeed/4.0.9 Standard ...
2009-08-28 20:37:26.076 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7814
2009-08-28 20:37:26.076 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2009-08-28 20:37:26.077 [INFO] old priority: 0, new priority: -19
2009-08-28 20:37:26.077 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2009-08-28 20:37:26.080 [INFO] Start listen socket [/usr/local/lsws/admin/conf/.cgid.sock].
2009-08-28 20:37:26.080 [NOTICE] The maximum number of file descriptor limit is set to 1024.
2009-08-28 20:37:26.083 [NOTICE] lshttpd (23988) is ready
2009-08-28 20:37:26.084 [NOTICE] [child: 23992] Successfully change current user to nobody
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] Core dump is enabled.
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] Setup swapping space...
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] LiteSpeed/4.0.9 Standard starts successfully!
2009-08-28 20:37:26.084 [NOTICE] [AutoRestarter] new child process with pid=23992 is forked!
2009-08-28 20:37:27.102 [NOTICE] [AutoUpdate] Checking for new releases...
2009-08-28 20:37:27.364 [INFO] Stop listener *:80.
2009-08-28 20:37:27.364 [INFO] Stop listener *:49151.
2009-08-28 20:37:27.364 [NOTICE] [Child: 23992] Start shutting down gracefully ...
2009-08-28 20:37:27.364 [NOTICE] New lshttpd process is ready, stop listeners
2009-08-28 20:37:27.364 [INFO] Stop listener *:80.
2009-08-28 20:37:27.364 [INFO] Stop listener *:49151.
2009-08-28 20:37:27.365 [NOTICE] [Child: 23992] Shut down successfully!
2009-08-28 20:37:27.365 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23992 !
2009-08-28 20:37:27.467 [NOTICE] [AutoRestarter] child process with pid=23992 exited with status=0!
2009-08-28 20:37:27.467 [NOTICE] [PID:23988] Server Stopped!
root@vps:/usr/local/lsws/logs# ls
please help! I have installed lsws numerous times and never had it not start?! I have already followed the docs and removed /tmp/lshttpd folder and tried again to no avail. Upon attempting to restart with /usr/local/lsws/bin/lswsctrl start i get :
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/usr/local/lsws/docs/".
[OK] The startup script has been successfully installed!
Would you like to start it right now [Y/n]?
[OK] lshttpd: pid=23988.
[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/usr/local/lsws/docs/".
There is nothing in stderr.log but error.log shows:
root@vps:/usr/local/lsws/logs# cat error.log
2009-08-28 20:37:26.075 [NOTICE] Loading LiteSpeed/4.0.9 Standard ...
2009-08-28 20:37:26.076 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7814
2009-08-28 20:37:26.076 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2009-08-28 20:37:26.077 [INFO] old priority: 0, new priority: -19
2009-08-28 20:37:26.077 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2009-08-28 20:37:26.080 [INFO] Start listen socket [/usr/local/lsws/admin/conf/.cgid.sock].
2009-08-28 20:37:26.080 [NOTICE] The maximum number of file descriptor limit is set to 1024.
2009-08-28 20:37:26.083 [NOTICE] lshttpd (23988) is ready
2009-08-28 20:37:26.084 [NOTICE] [child: 23992] Successfully change current user to nobody
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] Core dump is enabled.
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] Setup swapping space...
2009-08-28 20:37:26.084 [NOTICE] [Child: 23992] LiteSpeed/4.0.9 Standard starts successfully!
2009-08-28 20:37:26.084 [NOTICE] [AutoRestarter] new child process with pid=23992 is forked!
2009-08-28 20:37:27.102 [NOTICE] [AutoUpdate] Checking for new releases...
2009-08-28 20:37:27.364 [INFO] Stop listener *:80.
2009-08-28 20:37:27.364 [INFO] Stop listener *:49151.
2009-08-28 20:37:27.364 [NOTICE] [Child: 23992] Start shutting down gracefully ...
2009-08-28 20:37:27.364 [NOTICE] New lshttpd process is ready, stop listeners
2009-08-28 20:37:27.364 [INFO] Stop listener *:80.
2009-08-28 20:37:27.364 [INFO] Stop listener *:49151.
2009-08-28 20:37:27.365 [NOTICE] [Child: 23992] Shut down successfully!
2009-08-28 20:37:27.365 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23992 !
2009-08-28 20:37:27.467 [NOTICE] [AutoRestarter] child process with pid=23992 exited with status=0!
2009-08-28 20:37:27.467 [NOTICE] [PID:23988] Server Stopped!
root@vps:/usr/local/lsws/logs# ls
please help! I have installed lsws numerous times and never had it not start?! I have already followed the docs and removed /tmp/lshttpd folder and tried again to no avail. Upon attempting to restart with /usr/local/lsws/bin/lswsctrl start i get :
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/usr/local/lsws/docs/".
Last edited: