Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just uninstalled Litespeed with the code below, but am getting an error when I try to start Apache through httpd. What can I do?

Here's the commands I used:

root@s15430558 [~]# /usr/local/lsws/admin/misc/


All sub directories under "/usr/local/lsws" 
created during installation will be removed! 
However, conf/ and logs/ can be optionally preserved. 
If you want to preserve any file under the other sub-directories created 
by installation script, please backup before proceeding.

Manually created sub-directories under "/usr/local/lsws" 
will not be touched.

Do you want to uninstall LiteSpeed Web Server? [y/N] y

Uninstalling rc scripts ...
[OK] The startup script has been successfully uninstalled!

Do you want to keep server configuration files? [y/N] y

Do you want to keep server log files? [y/N] n

LiteSpeed Web Server has been successfully uninstalled.

root@s15430558 [~]# service httpd restart
/usr/local/apache/bin/httpd: line 17: /usr/local/lsws/logs/ap_cmd_param.log: No such file or directory
/usr/local/apache/bin/httpd: line 52: /usr/local/lsws/bin/lswsctrl: No such file or directory
root@s15430558 [~]# ??

Greatly appreciate some help on this.


share|improve this question

Because file /usr/local/lsws/logs/ap_cmd_param.log mentioned in 17 line of apache config and /usr/local/lsws/bin/lswsctrl mentioned in 52 line of config do not exist.

share|improve this answer

Do this:

cp /usr/local/apache/bin/httpd_ls_bak /usr/local/apache/bin/httpd
share|improve this answer

In the /usr/local/apache/bin/httpd, it's calling some control and/or logging files that are in the lsws directories - you'll need to take a look at /usr/local/apache/bin/httpd to find out what's going on.

share|improve this answer

Well, you could try looking in /etc/init.d/httpd and see what the "Start" case actually does. It might be starting the wrong httpd file...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.