Dont Start Litespeed

#1
I recieve an error on my Direct Admin installed server while installing litespeed like when i try to restart or star i get error for /tmp/lshttpd(lshttpd.opid file.
When i try to create it manually and restart it, it tries to restart and when i checked back again file seems deleted and litespeed havent started.
How can i fix this?

Will you use LiteSpeed Web Server with a hosting contorl panel?

0. NONE
1. cPanel
2. DirectAdmin
3. Plesk

Please select (0-3) [0]? 2


Would you like to run LiteSpeed along side with Apache on another port
to make sure everything work properly? If yes, please set "Port Offset"
to a non-zero value, LiteSpeed will run on Port 80 + "Port Offset",
otherwise, set to "0" to replace Apache.

Port Offset [2000]? 0


PHP suEXEC will run php scripts of each web site as the user who own the
document root directory,
LiteSpeed PHP suEXEC does not have any performance penalty like other PHP
suEXEC implementation, and .htaccess configuration overriden has been fully
supported.

Note: You may need to fix some file/directory permissions if phpSuexec or
suphp was not used with Apache.

Would you like to enable PHP suEXEC?
0. No
1. Yes
2. Only in user's home directory (DirectAdmin should use this)


Please select (0-2)? [2]0


Installing, please wait...

Congratulations! The LiteSpeed Web Server has been successfully installed.
Command line script - "/opt/lsws/bin/lswsctrl"
can be used to start or stop the server.

It is recommended to limit access to the web administration interface.
Right now the interface can be accessed from anywhere where this
machine can be reached over the network.

Three options are available:
1. If the interface needs to be accessed only from this machine, just
change the listener for the interface to only listen on the loopback
interface - localhost(127.0.0.1).
2. If the interface needs to be accessible from limited IP addresses or sub
networks, then set up access control rules for the interface accordingly.
3. If the interface has to be accessible via internet, SSL (Secure Sockets
Layer) should be used. Please read respective HOW-TOs on SSL configuration.

To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:<ADMIN_PORT>/
or http://<ip_or_Hostname_of_this_machine>:<ADMIN_PORT>/

Would you like to have LiteSpeed Web Server started automatically
when the server restarts [Y/n]? y

[OK] The startup script has been successfully installed!

The default configuration file contain support for both PHP4 and PHP5,
A prebuilt PHP4 binary comes with this package, however, we recommend
you to build your own PHP4 and PHP5 binaries though our web console with
the same configuration parameters as your current PHP installation. You
can check your current PHP configuration via a phpinfo() page.

Press [ENTER] to continue



When you replace Apache with LiteSpeed, remember to stop Apache completely.
On most Linux servers, you should do:

service httpd stop
chkconfig httpd off
or
service apache stop
chkconfig apache off

If "Port Offset" has been set to 0, you should do it now.

Press [ENTER] to continue

y
Would you like to start it right now [Y/n]? y

[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11299.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11318.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11337.

[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/opt/lsws/docs/".

[root@server lsws-3.3.22]# service
[root@server lsws-3.3.22]# /opt/lsws/bin/lswsctrl reload
[ERROR] lshttpd is not running.
[root@server lsws-3.3.22]# /opt/lsws/bin/lswsctrl restart
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11394.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11422.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11459.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11489.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11517.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11536.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11557.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11828.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=11907.

[root@server lsws-3.3.22]# /opt/lsws/bin/lswsctrl reload
[ERROR] lshttpd is not running.
 
#3
Server OS : Centos 5.2
Litespeed version : Linux (x86) 3.3.22 Ent

Log file,
2008-11-30 15:33:00.017 [NOTICE] [child: 28066] Successfully change current user to apache
2008-11-30 15:33:00.017 [NOTICE] [Child: 28066] Core dump is enabled.
2008-11-30 15:33:00.017 [NOTICE] [Child: 28066] Setup swapping space...
2008-11-30 15:33:00.018 [NOTICE] [Child: 28066] LiteSpeed/3.3.22 Enterprise starts successfully!
2008-11-30 15:33:00.018 [NOTICE] [AutoRestarter] new child process with pid=28066 is forked!
2008-11-30 15:33:00.021 [NOTICE] [child: 28067] Successfully change current user to apache
2008-11-30 15:33:00.021 [NOTICE] [Child: 28067] Core dump is enabled.
2008-11-30 15:33:00.021 [NOTICE] [Child: 28067] Setup swapping space...
2008-11-30 15:33:00.021 [NOTICE] [Child: 28067] LiteSpeed/3.3.22 Enterprise starts successfully!
2008-11-30 15:33:00.022 [NOTICE] [AutoRestarter] new child process with pid=28067 is forked!
2008-11-30 15:33:00.106 [INFO] [HTAccess] Updating configuration from [/home/frmkd/domains/frmkd.com/public_html/.htaccess]
2008-11-30 15:33:00.107 [INFO] [lsphp5] add child process pid: 28068
2008-11-30 15:33:00.107 [INFO] [lsphp5] pid list size: 1
2008-11-30 15:33:01.209 [NOTICE] [AutoUpdate] Checking for new releases...
2008-11-30 15:33:01.502 [ERROR] [LICENSE] License key operation failure: ERR T.6: Your trial period has terminated.
2008-11-30 15:33:01.503 [NOTICE] [Child: 28067] Start shutting down gracefully ...
2008-11-30 15:33:01.503 [NOTICE] [Child: 28066] Start shutting down gracefully ...
2008-11-30 15:33:01.503 [NOTICE] [Child: 28066] Shut down successfully!
2008-11-30 15:33:01.506 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 28066 !
2008-11-30 15:33:01.608 [NOTICE] [AutoRestarter] child process with pid=28066 exited with status=0!
2008-11-30 15:33:02.301 [NOTICE] [Child: 28067] Shut down successfully!
2008-11-30 15:33:02.301 [NOTICE] [lsphp5] stop worker processes
2008-11-30 15:33:02.301 [INFO] [lsphp5] kill pid: 28068
2008-11-30 15:33:02.305 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 28067 !
2008-11-30 15:33:02.305 [INFO] [AutoRestater] Clean up child process with pid: 28068
2008-11-30 15:33:02.406 [NOTICE] [AutoRestarter] child process with pid=28067 exited with status=0!
2008-11-30 15:33:02.406 [NOTICE] [PID:28062] Server Stopped!
[root@server ~]# /opt/lsws/bin/lswsctrl restart
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
cat: /tmp/lshttpd/lshttpd.pid: No such file or directory
[OK] lshttpd: pid=.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=28026.
[OK] Your trial license key will expire in 14 days!
[OK] lshttpd: pid=28062.

[root@server logs]# /opt/lsws/bin/lswsctrl reload
[ERROR] lshttpd is not running.
[root@server logs]# service httpd status
httpd dead but pid file exists

what is the problem ?
 
Last edited:

mistwang

LiteSpeed Staff
#4
Your server has been using trial key before, not allow to use trial key again.
If you need more time, we can clear your server IP. Please email sales@litespeed... the IP.
 
Top