New cpanel server with EA4

GOT

Well-Known Member
#1
Ive got a newly deployed server that comes with EA4 as the deafult. I installed all php options version of EA4 and then installed litespeed, expecting it would pick up everything needed to run, but that is not the case.

php will not execute on a test site installed. No errors in the error_log.

Please advise on any additional steps required to get litespeed running on a server that is freshly deployed with EA4 installed before litespeed.
 
#4
I'm experiencing the same issue on a newly deployed cPanel server with EA4. Nothing custom, just a plain cPanel installation and the default EA4 profile deployed (suPHP).
LiteSpeed installs correctly, when I run the plugin I get notified (yellow boxes) about the timezoneDB and php prefix configurations which I fix, and then I click "Switch to LiteSpeed" and it gets stuck loading. Apache goes down but LiteSpeed doesn't start. The error log shows nothing, so I don't know how to investigate further. Only solution is to switch back to Apache.
 
#6
I was running a "tail -f /usr/local/apache/logs/error_log" when switching to LiteSpeed and I can see Apache shutting down but nothing else gets written to the log after that.
A 'ps aux' shows '/bin/sh /usr/local/cpanel/whostmgr/docroot/cgi/lsws/bin/lsws_cmd.sh /usr/local/lsws SWITCH_TO_LSWS' running but it doesn't finish. By the time I hit the "Switch to Apache" button again (after waiting about 1 minute) the process is still running, and kills shortly after I have switched back to Apache.

Unfortunately because LiteSpeed doesn't start, I can't get into the Web Console in order to change the logging mode to debug. Is there any other way to do this?
 
#7
Hmm I tried it again just now and it looks like it's a trial license issue.

Code:
2016-11-15 17:32:48.786 [NOTICE] Your License key will expire in 14 days
2016-11-15 17:32:48.786 [NOTICE] Loading LiteSpeed/5.1.10 Enterprise ...
2016-11-15 17:32:48.786 [NOTICE] Using [OpenSSL 1.0.2j  26 Sep 2016]
2016-11-15 17:32:48.786 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7236
2016-11-15 17:32:48.786 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
[...]
2016-11-15 17:32:48.799 [NOTICE] litespeed (8118) is ready
2016-11-15 17:32:48.799 [NOTICE] [AutoRestarter] new child process with pid=8123 is forked!
2016-11-15 17:32:48.799 [NOTICE] [AutoRestarter] new child process with pid=8124 is forked!
2016-11-15 17:32:48.800 [INFO] Stop listener xxxxx.80:1080.
2016-11-15 17:32:48.800 [INFO] Stop listener xxxx.80:1443.
2016-11-15 17:32:48.800 [INFO] Stop listener [xxxx::589d]:1080.
2016-11-15 17:32:48.800 [INFO] Stop listener [xxxx::589d]:1443.
2016-11-15 17:32:48.800 [INFO] Stop listener 127.0.0.1:1080.
2016-11-15 17:32:48.800 [INFO] Stop listener 127.0.0.1:1443.
2016-11-15 17:32:48.800 [INFO] Stop listener xxxx.2:1080.
2016-11-15 17:32:48.800 [INFO] Stop listener xxxxx.2:1443.
2016-11-15 17:32:48.800 [INFO] Stop listener [::1]:1080.
2016-11-15 17:32:48.800 [INFO] Stop listener [::1]:1443.
2016-11-15 17:32:48.800 [INFO] Stop listener *:7080.
2016-11-15 17:32:48.800 [NOTICE] [Child: 8124] Setup swapping space...
2016-11-15 17:32:48.800 [NOTICE] [child: 8124] Successfully change current user to nobody
2016-11-15 17:32:48.800 [NOTICE] [Child: 8124] Core dump is enabled.
2016-11-15 17:32:48.800 [NOTICE] [Child: 8124] LiteSpeed/5.1.10 Enterprise starts successfully!
2016-11-15 17:32:48.800 [NOTICE] [Child: 8123] Setup swapping space...
2016-11-15 17:32:48.800 [NOTICE] [child: 8123] Successfully change current user to nobody
2016-11-15 17:32:48.800 [NOTICE] [Child: 8123] Core dump is enabled.
2016-11-15 17:32:48.800 [NOTICE] [Child: 8123] LiteSpeed/5.1.10 Enterprise starts successfully!
2016-11-15 17:32:49.001 [NOTICE] Memory size is: 3922216KB.
2016-11-15 17:32:49.308 [ERROR] [LICENSE] License key operation failure: ERR LCT.2: Your trial period has terminated. Please contact sales if you need to extend your trial.
2016-11-15 17:32:49.309 [INFO] [PID:8118] Stop all listeners.
2016-11-15 17:32:49.309 [INFO] Stop listener 127.0.0.1:1080.
2016-11-15 17:32:49.309 [INFO] Stop listener 127.0.0.1:1443.
2016-11-15 17:32:49.309 [INFO] Stop listener xxxx:1080.
2016-11-15 17:32:49.309 [INFO] Stop listener xxxxx:1443.
2016-11-15 17:32:49.309 [INFO] Stop listener xxxxx:1080.
2016-11-15 17:32:49.309 [INFO] Stop listener xxxxx:1443.
2016-11-15 17:32:49.309 [INFO] Stop listener [xxxxx::589d]:1080.
2016-11-15 17:32:49.309 [INFO] Stop listener [xxxxx::589d]:1443.
2016-11-15 17:32:49.309 [INFO] Stop listener [::1]:1080.
2016-11-15 17:32:49.309 [INFO] Stop listener [::1]:1443.
2016-11-15 17:32:49.309 [INFO] Stop listener *:7080.
2016-11-15 17:32:49.311 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=8124 !
2016-11-15 17:32:49.311 [NOTICE] [AutoRestarter] child process with pid=8124 exited with status=0!
2016-11-15 17:32:49.311 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=8123 !
2016-11-15 17:32:49.311 [NOTICE] [AutoRestarter] child process with pid=8123 exited with status=0!
2016-11-15 17:32:49.311 [NOTICE] [lshttpd:8118] Server Stopped!
Even though in the beginning it says "Your License key will expire in 14 days" after a while it says "Your trial period has terminated".
I'll try with a Ultra VPS license and will report back in a few minutes.
 
#8
Yeap false alarm - using a Ultra VPS license I was able to start LiteSpeed just fine.
I thought it was the first time I enabled a LiteSpeed trial on this VPS, but it's possible that I had done it a couple of months ago again - which is why the trial was terminated.
 
Top