|
Hello,
I could see that if I switch to apache it is giving the following error.
++++++++++
LiteSpeed Web Server Control Operation ... Switch to Apache
LSWS Stopped.
Apache is not up within 30 secs, try again by force kill litespeed.
Apache is still not up.
Failed to switch to Apache! Please either start LiteSpeed or manually switch to Apache!
Apache is not started may be caused by configuration error. To manually check this problem, please ssh to your server and check:
Try stop LiteSpeed if lshttpd still running:
killall -9 lshttpd
remove the lsws wrapper if the original one is found:
restore Apache httpd if /usr/local/apache/bin/httpd_ls_bak exists.
mv -f /usr/local/apache/bin/httpd_ls_bak /usr/local/apache/bin/httpd
restore cPanel restart httpd script if /scripts/restartsrv_httpd_ls_bak exists.
mv -f /scripts/restartsrv_httpd_ls_bak /scripts/restartsrv_httpd
run the restart command manually: /scripts/restartsrv_httpd and check the error.
++++++++
I have tried to kill the process and tried to do the same thing. But still i get the above error when i switch to apache.
I have found one more possible cause that the PHP is working with lsphp
++++++++
# /usr/local/lsws/fcgi-bin/lsphp5 -i | grep Configuration
Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib
Loaded Configuration File => /usr/local/lsws/lsphp5/lib/php.ini
Configuration
++++++++
Normally, the litespeed PHP with cPanel will point to the default location php.ini.
++++++++
# /usr/local/lsws/fcgi-bin/lsphp5 -i | grep Configuration
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
++++++++
What can I do now?
|