PDA

View Full Version : LiteSpeed is not stopping ??


vivek
05-28-2008, 10:36 PM
Hi there!

I want to stop litespeed but it is not stopping , still continuing

I tried these

root@core2quad [/home/lsws/bin]# ./lswsctrl stop
[OK] lshttpd: stopped.
root@core2quad [/home/lsws/bin]#


root@core2quad [/home/lsws/bin]# service httpd stop
/etc/init.d/httpd stop: httpd (no pid file) not running
root@core2quad [/home/lsws/bin]#



root@core2quad [/home/lsws/bin]# service lsws stop
root@core2quad [/home/lsws/bin]#





NONE OF THEM STOPPING LITESPEED


Plus, using LSWS admin panel, I can not downgrade my version from 3.3.13 to 3.3.12


Vivek

vivek
05-28-2008, 10:37 PM
Tried
killall -9 lshttpd

It stopped but within 2 seconds it restarted.

Anything wrong from my side ?

vivek
05-28-2008, 10:41 PM
Finally I tried this too for activating apache

cd /usr/local/apache/bin

killall -9 lshttpd
mv httpd httpd1
killall -9 lshttpd
mv httpd_ls_bak httpd
killall -9 lshttpd
./httpd restart

Still loading litespeed :)

mistwang
05-28-2008, 11:13 PM
kill lswatch.sh

vivek
05-29-2008, 04:04 AM
I dont understand ? I never saw that file before

Reinstalled lsws now , still have the same problem

mistwang
05-29-2008, 04:21 PM
Latest official 3.3.13 package should have fixed the cPanel kill lshttpd problem.

vivek
05-29-2008, 08:50 PM
Just installed 3.313 official release and I found that the cpanel is taking only 5-10 seconds for creating an account whereas it was about 20-30 seconds with the wrapper script.

Also found that the kill problem filxed. everything is now going well

How do I change back to apache in case if I want to check something in future.


also I found a new file under the /bin folder lswatch.sh
What is the use of this ? a restart ??

is it running as cron ? what is the time interval and also , how can I go back to apache or just stop litespeed if it is running ?

mistwang
05-29-2008, 08:58 PM
switch to Apache just do

service lsws stop
service httpd start

The /script/restartsrv_httpd should work with either LSWS or Apache, or both.

vivek
05-29-2008, 08:59 PM
root@core2quad [/home/lsws]# service lsws stop
root@core2quad [/home/lsws]# service httpd start
/etc/init.d/httpd start: httpd (pid 1898) already running
root@core2quad [/home/lsws]#


Still litespeed is loading

mistwang
05-29-2008, 08:59 PM
lswatch.sh is a watchdog script, it has not be used by default. You start start it manually if you want to keep lshttpd running regardless.

vivek
05-29-2008, 09:02 PM
Sorry,
service lsws stop

is stopping litespeed

but

service httpd start is not activating Apache

service httpd restart is activating litespeed again.

I think /usr/local/apache/bin/httpd is the wrapper script

vivek
05-29-2008, 09:03 PM
oh yes,
So litespeed must include that too, when user selects OverRide restartsrv_httpd , it should disable the wrapper script.
it should disable httpd_ls_back to httpd

Am I right ?

vivek
05-29-2008, 09:04 PM
ok, I renamed httpd_ls_back to httpd, still apache is not loading when "service httpd start"