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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [solved] Cpanel + LSAPI 6.0 + LSWS 4.2 Anomaly

Reply
 
Thread Tools Display Modes
  #21  
Old 12-10-2012, 10:18 PM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
Quote:
Originally Posted by mistwang View Post
Can you switch back to 4.1.13 and see if you get 503 errors as well?
I have noticed on one customer's server using cloudlinux, that lsphp5 processes was killed by signal 9, which causes 503 errors, not sure who send signal 9. I wonder if it is caused by cloudlinux update or not.
I have three boxes using cloudlinux.
one of them using lsws 4.1.13, and lsws 4.2.1 for others .
but they are all using the same lsapi 6.1.
and they are together keep sending 503 error emails.

sometimes 503 errors stoped after setting Memory Soft Limit to beyond 650 Mb.
but i have to stop raising Memory Soft Limit because more higher value seems doesn't make sense to me (more than 650mb).
Reply With Quote
  #22  
Old 12-10-2012, 11:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
How about downgrade LSAPI to 5.5 for the 4.1.13 box?
The php-litespeed package is still there, just change the version number in the download link, then locate the existing PHP build directory, replace *.c and *.h under sapi/litespeed directory, run 'make' again to build the PHP binary.

If you do not use suEXEC daemon mode, you can downgrade the box using 4.2.1 as well.
Reply With Quote
  #23  
Old 12-14-2012, 06:23 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
it's been three days now using lsws 4.1.13 and lsapi 6.1 to all of my boxes.
no more error 503 emails from cloudlinux boxes after that.
Reply With Quote
  #24  
Old 12-17-2012, 12:29 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
new fresh instalation today, and i've got this :



it is brand new colocation box with brand new cpanel (php 5.3.19) and also brand new lsws license and brand new lsws 4.2.1 automatically from whm plugin.
i thought this 4.2.1 has something wrong inside.

would you mind to rewrite litesped whm plugin to use with just the old stable 4.1.13?
because after /usr/local/lsws/admin/misc/lsup.sh -f -v 4.1.13 still cannot build php from whm and either command line :

Code:
root@hellraiser [/usr/src]# /usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.sh

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'ACCEPT_ENCODING' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 9

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'HTTP_ACCEPT_ENCODING' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 10

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SCRIPT_FILENAME' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 11

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'REDIRECT_STATUS' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 12

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SERVER_SOFTWARE' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 13

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SERVER_NAME' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 14

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'GATEWAY_INTERFACE' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 15

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'REQUEST_METHOD' - it's not in the allowed list in /usr/local/cpanel/whostmgr/docroot/cgi/lsws/buildPHP.inc.php on line 16
sh: /usr/local/php/bin/php: No such file or directory
ERROR: /usr/local/bin/php -i returns 127 <br>Please make sure PHP exists, you can specify a different location by editing variable definition PHP_AP_LOC
and if you don't mind, you might want to remove " [solved]" from this thread subject.
Reply With Quote
  #25  
Old 12-17-2012, 11:00 AM
Lauren Lauren is offline
LiteSpeed Staff
 
Join Date: Jul 2003
Location: New Jersey, USA
Posts: 99
please try add below 2 lines
safe_mode = Off
safe_mode_gid = Off

in file /usr/local/cpanel/whostmgr/cgi/lsws/php.ini

and run from command line again.
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 11:56 AM.



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