isn't running litespeed

#1
Hello,

I installed Litespeed for Directadmin



[root@server lsws]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 14 days!
[OK] litespeed: pid=31622.
[root@server lsws]#


how ever

[root@server lsws]# /usr/local/lsws/bin/lswsctrl reload
[ERROR] litespeed is not running.
[root@server lsws]#


can you give information about problem ?

I forget admin port for litespeed

what is the problem?
 
#3
yes

the apache is running on 80.port


[root@server ~]# pstree -p |grep httpd
|-httpd(16301)-+-httpd(31830)
| |-httpd(31835)
| |-httpd(31969)
| |-httpd(31979)
| |-httpd(32210)
| |-httpd(32216)
| |-httpd(32221)
| |-httpd(32222)
| |-httpd(32223)
| |-httpd(32322)
| |-httpd(32334)
| |-httpd(32339)
| |-httpd(32389)
| |-httpd(32398)
| |-httpd(32403)
| |-httpd(32409)
| |-httpd(32411)
| |-httpd(32412)
| |-httpd(32421)
| |-httpd(32422)
| |-httpd(32480)
| |-httpd(32517)
| |-httpd(32519)
| |-httpd(32520)
| |-httpd(32521)
| |-httpd(32536)
| |-httpd(32548)
| |-httpd(32549)
| |-httpd(32555)
| |-httpd(32556)
| |-httpd(32559)
| |-httpd(32560)
| |-httpd(32562)
| |-httpd(32622)
| |-httpd(32624)
| |-httpd(32627)
| |-httpd(32628)
| |-httpd(32629)
| |-httpd(32630)
| |-httpd(32679)
| |-httpd(32680)
| |-httpd(32706)
| |-httpd(32713)
| `-httpd(32714)
[root@server ~]#
 
#5
hello,

can you give command please for resolve this problem ?


[root@server ~]# service httpd stop
Stopping httpd: [ OK ]
[root@server ~]# pstree -p |grep httpd
[root@server ~]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 13 days!
[OK] litespeed: pid=25431.
[root@server ~]# pstree -p |grep lsws
[root@server ~]# pstree -p |grep httpd
[root@server ~]# /usr/local/lsws/bin/lswsctrl reload
[ERROR] litespeed is not running.
[root@server ~]#
 

webizen

Well-Known Member
#6
after lswsctrl start (before reload), do 'pstree -p | grep litespeed' to see if litespeed (lsws) is running. if not, do 'tail /path/to/lsws/logs/error.log' for clue on why it is not running.
 
#7
[root@server ~]# service httpd status
httpd is stopped
[root@server ~]# service httpd status
httpd is stopped
[root@server ~]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 13 days!
[OK] litespeed: pid=5872.
[root@server ~]# service httpd status
httpd is stopped
[root@server ~]# pstree -p | grep litespeed
[root@server ~]# tail /path/to/lsws/logs/error.log
tail: cannot open `/path/to/lsws/logs/error.log' for reading: No such file or directory
[root@server ~]# tail /usr/local/lsws/logs/error.log
2010-12-11 22:29:20.765 [INFO] Stop listener 127.0.0.1:2443.
2010-12-11 22:29:20.765 [INFO] Stop listener ******:2080.
2010-12-11 22:29:20.765 [INFO] Stop listener ******:2443.
2010-12-11 22:29:20.765 [INFO] Stop listener *:7080.
2010-12-11 22:29:20.765 [NOTICE] [Child: 5876] Shut down successfully!
2010-12-11 22:29:20.766 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=5877 !
2010-12-11 22:29:20.767 [NOTICE] [AutoRestarter] child process with pid=5877 exited with status=0!
2010-12-11 22:29:20.767 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=5876 !
2010-12-11 22:29:20.869 [NOTICE] [AutoRestarter] child process with pid=5876 exited with status=0!
2010-12-11 22:29:20.869 [NOTICE] [PID:5872] Server Stopped!
[root@server ~]#


can you give command for resolve this problem?

thanks for information
 
Last edited:
#9
Hello,

lsws-4.0.18-ent-i386-linux.tar.gz

CentOS release 5.2 (Final)


2.6.18-92.el5PAE #1 SMP Tue Jun 10 19:22:41 EDT 2008 i686 i686 i386 GNU/Linux


regards
 

mistwang

LiteSpeed Staff
#10
If you have tried NULLed LSWS on that server, that server is likely being blacklisted by our system.
Please send in your IP for verification.
 

webizen

Well-Known Member
#11
Hi Nonex,

Our record shows that you ran trial version of lsws on 3/29/10. That trial period (15 days) already expired. That's why you could not run the software. We have extended your trial period (for another 15 days). Make sure you pay for the license by the end of the trial period to continue using the software.

Webizen
 
#12
Hello,

No,



[root@server ~]# /usr/local/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 11 days!
[OK] litespeed: pid=6977.
[root@server ~]#



you can look it.
if we resolve this problem,i will buy license

please help me.
 
#14
Hello,

Now, The litespeed is running

[root@server ~]# pstree -p | grep litespeed
|-litespeed(24431)-+-litespeed(24433)---admin_php(25137)
| |-litespeed(24434)
[root@server ~]#


[root@server ~]# /usr/local/lsws/bin/lswsctrl reload
[OK] Send SIGUSR1 to 24431

[root@server ~]#
[root@server ~]#



I have build problem


Step 4 : Monitoring build process

Stopped due to Error. Please manually fix it. It may due to missing packages, after you install it, rerun the same command and this page will show the updated log.
Notes:

If the build process is successful, the PHP binary will be created under /usr/local/lsws//fcgi-bin/ with name lsphp-5.2.14, and a symbolic link of lsphp5 will be created or updated to the newly built binary. If lsphp-5.2.14 already exists, it will be renamed to lsphp-5.2.14.bak.
Main Status:

**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1292270140.2.progress
Start building PHP 5.2.14 with LSAPI
**ERROR** Could not generate configuration script
Detailed Log:


**LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1292270140.2.log

==============================================
Start building PHP 5.2.14 with LSAPI
==============================================
Mon Dec 13 21:56:12 EET 2010

Changing to build directory /usr/local/lsws/phpbuild/php-5.2.14
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1
**ERROR** Could not generate configuration script


can you give command for resolve this problem?
 
#16
hello,

apache and litespeed is running now.

I controlled

if we can close apache,we don't connect the web site

how ever, I connected with 2080 port (for ex: http://www.domain.com:2080 )

how we change 80 - 2080 port ?

we will close apache but we must open with 80. port

?
 

webizen

Well-Known Member
#17
LSWS is able to run with apache config (web console->Configuration->Server-Using Apache Configuration File)
Load Apache Configuration: Yes
Apache Binary Path: /path/to/apache/binary(httpd)
Apache Configuration File: /path/to/apache/http.conf
Apache Port Offset: 0

Make sure apache is stopped before LSWS run on port 80.
 

webizen

Well-Known Member
#19
To have ioncube run with litespeed, do followings:
1. download ioncube from http://www.ioncube.com/loaders.php
2. unpack the program
tar -zxvf ioncube_loaders.tar.gz (could be a different filename)
3. mv ioncube /usr/local (you can move to other place you like)
4. do '/usr/local/lsws/fcgi-bin/lsphp5 -i | grep php.ini' to find the path to php.ini (usually the line "Loaded Configuration File") that lsphp5 is using.
5. add line "zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.y.so" to that php.ini file.
6. restart lsws to make it effective.
 
Last edited:
#20
Hello,

[root@server ~]# /usr/local/lsws/fcgi-bin/lsphp5 -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib

however

I controlled /usr/local/lsws/lsphp5/lib.

I didn't look php.ini



[root@server lib]# locate php.ini
/usr/local/Zend/etc/php.ini
/usr/local/lib/php.ini
/usr/local/lib/php.ini-zend_optimizer.bak
/usr/local/lsws/add-ons/cpanel/lsws_whm_plugin/php.ini
/usr/local/lsws/add-ons/directadmin/php.ini
/usr/local/lsws/admin/conf/php.ini
/usr/local/lsws/admin/misc/php.ini
/usr/local/lsws/php/php.ini
/usr/local/lsws/phpbuild/php-5.2.14/php.ini-dist
/usr/local/lsws/phpbuild/php-5.2.14/php.ini-recommended
/usr/local/lsws/phpbuild/php-5.3.3/php.ini-development
/usr/local/lsws/phpbuild/php-5.3.3/php.ini-production
/usr/local/lsws-4.0.18/add-ons/cpanel/lsws_whm_plugin/php.ini
/usr/local/lsws-4.0.18/add-ons/directadmin/php.ini
/usr/local/lsws-4.0.18/admin/conf/php.ini
/usr/local/lsws-4.0.18/admin/misc/php.ini
/usr/local/lsws-4.0.18/php/php.ini
[root@server lib]#


I opened /usr/local/lsws/php/php.ini , and I add ioncube line
but i have a error message on the my web site



Error;

Warning: session_start() [function.session-start]: open(/tmp/sess_ad3fdc6966487c4f710c8444427e8043, O_RDWR) failed: Permission denied (13) in /home/***/domains/****/public_html/config.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/***/domains/****/public_html/config.php:2) in /home/***/domains/****/public_html/config.php on line 2



if we resolve this problem,We don't have any problems :)

kind regards
 
Top