LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [Solved] litespeed stopped... is there a timer on trial version?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2011, 12:27 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Default [Solved] litespeed stopped... is there a timer on trial version?

I just realized that my litespeed trial install just stopped, and I had to start it again manually from console.

Is there any timer that makes it shutdown while in trial mode?

Also, on a side note, everytime I restart litespeed, it also starts httpd/apache. Is that normal??? Do I have to stop httpd service?
Reply With Quote
  #2  
Old 12-22-2011, 02:39 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
there is no timer to stop lsws unless your trial period is up. check error log for any clue why it is stopped.

restart lsws should not trigger apache to start (assuming lsws reads apache httpd.conf). you should turn off httpd (service httpd off) so that http port would not be taken by apache when server bootup.
Reply With Quote
  #3  
Old 12-22-2011, 08:24 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
this is weird.... I stopped httpd, removed it from startup as well.... but look below, it restarts when i restart lsws...

[root@node1 ~]# service httpd status
httpd is stopped
[root@node1 ~]# /usr/local/lsws/bin/lswsctrl restart
[OK] Send SIGUSR1 to 8439
[root@node1 ~]# service httpd status
httpd (pid 8581) is running...
Reply With Quote
  #4  
Old 12-23-2011, 11:24 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
do 'ps -ef| grep litespeed' and 'ps -ef| grep httpd'
Reply With Quote
  #5  
Old 12-25-2011, 07:48 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Thanks!! Looks like I just found a new issue.

I compiled PHP 5.2.17 in litespeed portal. I have then put ioncube loader 5.2.so in php.ini.

However, if I do php -v in console, it tells me that php is 5.3. What's worse is that ioncube is acting up because it's looking for 5.3.so even if the correct ioncube loader is installed. Below is what shows up in php -v

[root@node1 ioncube]# php -v
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
PHP 5.3.8 with Suhosin-Patch (cli) (built: Dec 21 2011 00:12:45)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
[root@node1 ioncube]#
Reply With Quote
  #6  
Old 12-27-2011, 07:32 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
OK Got it fixed.

Apparently there's a 2nd instance running, and I needed to change the binaries to point to the litespeed php version.

All working good now.

Thanks!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:27 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.