[solved] litespeed is not running !

#1
Hi all , My litespeed installed in Direcadmin , after installation & run litespeed , litespeed It stands immediately .

/usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 32 days!
[OK] litespeed: pid=11472.

after start run :

usr/local/lsws/bin/lswsctrl status
[ERROR] litespeed is not running.

!!! is Strange !!

this is my log error after start :

2012-06-17 02:08:47.409 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-alias.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-php-handlers.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-mpm.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-multilang-errordoc.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-autoindex.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-languages.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-info.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-vhosts.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/ips.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-dav.conf
2012-06-17 02:08:47.431 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-default.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-ssl.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-deflate.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /etc/httpd/conf/extra/directadmin-vhosts.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /usr/local/directadmin/data/users/clubcom/httpd.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-suphp.conf
2012-06-17 02:08:47.432 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-includes.conf

Thank you for reply
 
Last edited by a moderator:
#3
Yes , i install litespeed with this config .The first time I installed litespeed, litespeed without problem has started & didn't problem , after I installed litespeed , I started setting the link :
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:apache:da

I did set this up:

Load Apache Configuration => Yes
Auto Reload On Changes => Yes
Apache Configuration File => /etc/httpd/conf/httpd.conf
Apache Port Offset => 2000
Apache IP Offset => 0
PHP suEXEC => Yes
PHP suEXEC Max Conn => 5

And finally:

chown apache:nobody /var/log/httpd/domains

after this settings i did restart litespeed & after, litespeed does not run.

after this i did uninstall & reinstall litespeed for several times, but litespeed does not run,

Please Help Me , Thank you
 
#5
this is my log error :

2012-06-18 14:56:10.332 [NOTICE] Your License key will expire in 31 days
2012-06-18 14:56:10.332 [NOTICE] Loading LiteSpeed/4.1.12 Enterprise ...
2012-06-18 14:56:10.544 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7123
2012-06-18 14:56:10.544 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2012-06-18 14:56:10.545 [NOTICE] [config] chroot is disabled.
2012-06-18 14:56:10.545 [INFO] old priority: 0, new priority: -19
2012-06-18 14:56:10.545 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2012-06-18 14:56:10.578 [NOTICE] [PID: 21936]: start cgid: 21939, /usr/local/lsws/bin/httpd
2012-06-18 14:56:10.588 [WARN] [config:server:listener] No listener is available for normal virtual host!
2012-06-18 14:56:10.589 [NOTICE] The maximum number of file descriptor limit is set to 6000.
2012-06-18 14:56:10.636 [NOTICE] [config:server:epsr:lsphp5]'Process Limit' probably is too low, adjust the limit to: 310.
2012-06-18 14:56:10.636 [NOTICE] [config:server:epsr:lsphp4]'Process Limit' probably is too low, adjust the limit to: 310.
2012-06-18 14:56:10.666 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-phpmodules.conf
2012-06-18 14:56:10.668 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-directories.conf
2012-06-18 14:56:10.672 [WARN] /etc/httpd/conf/extra/httpd-directories.conf:26: Directive 'suPHP_UserGroup' is not allowed in current context.
2012-06-18 14:56:10.672 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-alias.conf
2012-06-18 14:56:10.703 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-php-handlers.conf
2012-06-18 14:56:10.704 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-mpm.conf
2012-06-18 14:56:10.711 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-multilang-errordoc.conf
2012-06-18 14:56:10.716 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-autoindex.conf
2012-06-18 14:56:10.716 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-languages.conf
2012-06-18 14:56:10.717 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-info.conf
2012-06-18 14:56:10.717 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-vhosts.conf
2012-06-18 14:56:10.720 [INFO] Processing config file: /etc/httpd/conf/ips.conf
2012-06-18 14:56:10.730 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-dav.conf
2012-06-18 14:56:10.730 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-default.conf
2012-06-18 14:56:10.731 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-ssl.conf
2012-06-18 14:56:10.731 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-deflate.conf
2012-06-18 14:56:10.732 [INFO] Processing config file: /etc/httpd/conf/extra/directadmin-vhosts.conf
2012-06-18 14:56:10.766 [INFO] Processing config file: /usr/local/directadmin/data/users/clubcom/httpd.conf
2012-06-18 14:56:10.777 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-suphp.conf
2012-06-18 14:56:10.777 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-includes.conf
2012-06-18 14:56:10.804 [NOTICE] litespeed (21936) is ready
2012-06-18 14:56:10.805 [INFO] Stop listener 127.0.0.1:2080.
2012-06-18 14:56:10.805 [INFO] Stop listener 127.0.0.1:2443.
2012-06-18 14:56:10.805 [NOTICE] [child: 21940] Successfully change current user to apache
2012-06-18 14:56:10.805 [NOTICE] [Child: 21940] Core dump is enabled.
2012-06-18 14:56:10.805 [NOTICE] [Child: 21940] Setup swapping space...
2012-06-18 14:56:10.805 [NOTICE] [AutoRestarter] new child process with pid=21940 is forked!
2012-06-18 14:56:10.805 [INFO] Stop listener 5.39.2.38:2080.
2012-06-18 14:56:10.806 [INFO] Stop listener 5.39.2.38:2443.
2012-06-18 14:56:10.806 [INFO] Stop listener *:7080.
2012-06-18 14:56:10.806 [NOTICE] [child: 21943] Successfully change current user to apache
2012-06-18 14:56:10.806 [NOTICE] [Child: 21943] Core dump is enabled.
2012-06-18 14:56:10.806 [NOTICE] [Child: 21943] Setup swapping space...
2012-06-18 14:56:10.806 [NOTICE] [AutoRestarter] new child process with pid=21943 is forked!
2012-06-18 14:56:10.814 [NOTICE] [Child: 21940] LiteSpeed/4.1.12 Enterprise starts successfully!
2012-06-18 14:56:10.815 [NOTICE] [Child: 21943] LiteSpeed/4.1.12 Enterprise starts successfully!
2012-06-18 14:56:11.234 [NOTICE] [AutoUpdate] Checking for new releases..., pid=21947
2012-06-18 14:56:11.358 [NOTICE] Start to clean up cache directory, pid=21948
2012-06-18 14:56:11.539 [INFO] Stop listener 127.0.0.1:2080.
2012-06-18 14:56:11.539 [INFO] Stop listener 127.0.0.1:2443.
2012-06-18 14:56:11.539 [INFO] Stop listener 5.39.2.38:2080.
2012-06-18 14:56:11.539 [INFO] Stop listener 5.39.2.38:2443.
2012-06-18 14:56:11.539 [INFO] Stop listener *:7080.
2012-06-18 14:56:11.539 [NOTICE] [Child: 21943] Start shutting down gracefully ...
2012-06-18 14:56:11.539 [NOTICE] New litespeed process is ready, stop listeners
2012-06-18 14:56:11.539 [INFO] Stop listener 127.0.0.1:2080.
2012-06-18 14:56:11.539 [INFO] Stop listener 127.0.0.1:2443.
2012-06-18 14:56:11.539 [NOTICE] [Child: 21940] Start shutting down gracefully ...
2012-06-18 14:56:11.539 [NOTICE] New litespeed process is ready, stop listeners
2012-06-18 14:56:11.539 [INFO] Stop listener 5.39.2.38:2080.
2012-06-18 14:56:11.539 [INFO] Stop listener 5.39.2.38:2443.
2012-06-18 14:56:11.539 [INFO] Stop listener *:7080.
2012-06-18 14:56:11.539 [NOTICE] [Child: 21940] Shut down successfully!
2012-06-18 14:56:11.539 [NOTICE] [Child: 21943] Shut down successfully!
2012-06-18 14:56:11.544 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=21940 !
2012-06-18 14:56:11.545 [NOTICE] [AutoRestarter] child process with pid=21940 exited with status=0!
2012-06-18 14:56:11.545 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=21943 !
2012-06-18 14:56:11.647 [NOTICE] [AutoRestarter] child process with pid=21943 exited with status=0!
2012-06-18 14:56:11.647 [NOTICE] [PID:21936] Server Stopped!
2012-06-18 14:56:12.814 [ERROR] [LICENSE] License key operation failure: ERR LC.8: fail to process
 
#8
How did was solved ?
Got the same error on a LVE server and couldn't make LSW start for more than 10 seconds. Litespeed stops running suddenly and nothing weird found in logs.
As a final solution (well, as I hope) I did uninstall and reinstall it again, building matching php but still no way to make it run as before. No changes-updates were made today so I really see no reason to crash. It's the first time it happens since we're using Litespeed (2011).
Log:
Code:
root@s1 [/usr/local/lsws/bin]# ./lshttpd -V
[OK] Leased license key 1 will expire in 13 days!
2012-07-25 22:18:40.125 [ERROR] [LICENSE] License key operation failure: ERR LC.9: Serial number is not active
root@s1 [/usr/local/lsws/bin]# /usr/local/lsws/bin/lshttpd -r
2012-07-25 22:21:11.533 [ERROR] [LICENSE] License key operation failure: ERR LC.9: Serial number is not active
root@s1 [/usr/local/lsws/bin]# /usr/local/lsws/bin/lswsctrl status
[ERROR] litespeed is not running.
root@s1 [/usr/local/lsws/bin]# /usr/local/lsws/bin/lswsctrl start
[OK] Leased license key 1 will expire in 13 days!
[OK] litespeed: pid=160833.
root@s1 [/usr/local/lsws/bin]# /usr/local/lsws/bin/lswsctrl status
[ERROR] litespeed is not running.
Have the server running Apache really ...cks and fortunately isn't too populated being activated pretty soon (< 50 accounts) but still isn't a pleasant situation.
 
#10
send your IP and license string to support@ for investigation.
Thanks for taking a look over the thread.
I did sent the email few hours ago and trying to fetch it again but still negative:
Code:
[OK] Leased license key 1 will expire in 12 days!
2012-07-26 11:38:12.414 [ERROR] [LICENSE] License key operation failure: ERR LC.9: Serial number is not active
 
#12
If we have to cancel a freshly renewed license and buy a new one every time if/when the problem occurs, won't be pleasant .
Overall, your support is is much closer to what customer support really means, this one being the reason why not switching to other product and still sticking with LWS.
That reseller should be disqualified for selling LiteSpeed licenses as long as the system doesn't work as it should and does not have the ability to offer proper support.
 
#14
Indeed, could be a rare situation but would you agree to pay for something that doesn't exist ? I also understand that API could lead to some errors but what's so damn hard to apologies and refund ?
 
#15
The BigFoot is back in town. Same issue related to LC.9 error, no license expiration (11 days left this time). As I've suggested in sent email, wouldn't it be just GREAT to have LSWS switch itself to apache and notify admin when happens, instead of keeping websites down ? Couldn't even access settings from WHM to manually switch to apache neither the webconsole on specific port. Quite frustrating...
 
Top