litespeed not starting

#1
ok i thought of trying litespeed on my new server where presently i am having nginx as proxy to serve static files, i disabled nginx changed back apache port to 80 installed litespeed , tried to compile php on 5.2.9 (my last attempt to compile on 5.2.11 failed with 503 errors ) compile completed ,but cannot switch on litespeed , what maybe issue ?
 

mistwang

LiteSpeed Staff
#6
Are you using cPanel? Or other control panel.
Your need to build PHP using the same configuration option used for Apache PHP. check the phpinfo() page.
 

bhanuprasad1981

Well-Known Member
#7
i am using latest version of whm / cpanel , i first degraded my php to 5.2.9 rebuild it using easy apache, next installed litespeed from ssh , then used litespeed whm plugin option to build litespeeed php using apache config, after that when i try to switch to litespeed , my apache is getting killed but litespeed is not starting. i tried even restart litespeed option , but no result , listespeed just wont start.
 

bhanuprasad1981

Well-Known Member
#9
It is likely a license issue. Please try to start it from command line

/usr/local/lsws/bin/lswsctrl start
ok i tried that i got :-

Code:
root@host [~]# /usr/local/lsws/bin/lswsctrl start
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to start lshttpd!
i manually coped trial.key file to /usr/local/lsws

then tried command i got

Code:
root@host [~]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 11 days!
[OK] lshttpd: pid=6174.
root@host [~]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 11 days!
[OK] lshttpd: pid=7486.
[OK] Your trial license key will expire in 11 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 11 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 11 days!
[OK] lshttpd: pid=7611.
[OK] Your trial license key will expire in 11 days!
[OK] lshttpd: pid=7648.
[OK] Your trial license key will expire in 11 days!
[OK] lshttpd: pid=7691.

but litespeed still wont start :(
 

mistwang

LiteSpeed Staff
#10
That's because trial key has been used on that IP before. May need to clear that IP from our tracking DB if you want to use trial key again.
 
#14
ok got reply , i used new license key and liutespeed started working , but damm xacache is giving issue s now i get weird error on litespeed :(

Code:
xcache.var_size is either 0 or too small

whereas no error is seen on apache switch ?
 
Top