|
|

03-03-2008, 11:07 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
|
That script won't kill lshttpd, so it is something else.
|

03-04-2008, 09:16 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
|
I create a simple proof of concept shell script, acting as Apache to LSWS wrapper, which replaces Apache executable. If some one help us test and prove that it works, we will add code to automate everything.
It will be the ultimate solution for all hosting control panels.
|

03-04-2008, 09:21 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by mistwang
I create a simple proof of concept shell script, acting as Apache to LSWS wrapper, which replaces Apache executable. If some one help us test and prove that it works, we will add code to automate everything.
It will be the ultimate solution for all hosting control panels.
|
Hello
Please contact me via yahoo,gmail,msn chat, I will help you to test the script
getvivekv at gmail.com
getvivekv at yahoo.com
getvivekv at msn.com
Vivek
Last edited by vivek; 03-05-2008 at 12:01 AM..
|

03-05-2008, 01:07 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
Hi
Or , I can setup a VPS for testing purpose, and can install cPanel with 14 days trial license. You can check the script on it.
Thank you
Vivek
|

03-07-2008, 01:56 AM
|
|
Senior Member
|
|
Join Date: May 2007
Posts: 237
|
|
|
For the record, RELEASE is affected the same way.
I'm on RELEASE and it's acting the same way for the past two days.
Only build I don't know if it will help is STABLE.
Before I take that drastic step to rollback I'd love some confirmation will it provide a temporary workaround...
|

03-07-2008, 08:05 AM
|
|
Senior Member
|
|
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
|
|
|
FYI -- We too are experiencing this issue.
Has there been any progress in figuring out what with the latest versions of cPanel are causing this?
|

03-07-2008, 08:07 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by travisbell
FYI -- We too are experiencing this issue.
Has there been any progress in figuring out what with the latest versions of cPanel are causing this?
|
Yea. Mr.George (mistwang) is with me right now and testing a script on my server.
I hope he will find a fix soon.
Vivek
|

03-07-2008, 08:13 AM
|
|
Senior Member
|
|
Join Date: May 2007
Posts: 237
|
|
I think I will install this script with a 1 minute check:
http://litespeedtech.com/support/for...=9185#post9185
It's a good idea even when this problem is fixed.
But what happens if litespeed is taken down manually on purpose
(ie. upgrades) will the script force it back up anyway when it shouldn't be?
|

03-07-2008, 10:16 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by aww
I think I will install this script with a 1 minute check:
http://litespeedtech.com/support/for...=9185#post9185
It's a good idea even when this problem is fixed.
But what happens if litespeed is taken down manually on purpose
(ie. upgrades) will the script force it back up anyway when it shouldn't be?
|
That is not a good one.
Just downgrade your cPanel to STABLE build. and also disable upcp via WHM
Vivek
|

03-07-2008, 04:01 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
Here is the cure for this problem. Now, you need to manually apply it, we are working on an automated solution.
Use the following shell script to replace Apache httpd executable, backup Apache httpd executable to httpd_ls_bak
Code:
#!/bin/sh
ARGS="$@"
ARG1="$1"
LSWS_HOME=/opt/lsws
APACHE=/usr/local/apache/bin/httpd_ls_bak
LSWS=$LSWS_HOME/bin/lswsctrl
PARAM_LOG=$LSWS_HOME/logs/ap_cmd_param.log
echo "$@" >> $PARAM_LOG
ulimit -v unlimited
if [ "x$ARG1" = 'x-DSSL' ]; then
shift
ARG1=$1
fi
if [ "x$ARG1" = 'x' ]; then
$LSWS start
elif [ "x$ARG1" = 'x-k' ]; then
ARG2=$2
case $ARG2 in
start|startssl|sslstart|start-SSL)
$LSWS start
;;
stop|graceful-stop)
$LSWS stop
;;
restart|graceful)
$LSWS restart
;;
*)
$APACHE $ARGS
esac
else
$APACHE $ARGS
fi
ERROR=$?
exit $ERROR
You need to make sure LSWS_HOME and APACHE matches your installation, roughly the follow steps are required
Code:
cd /usr/local/apache/bin
mv httpd httpd_ls_bak
vi httpd
<copy/edit the script>
chmod 0755 httpd
ATTENTION: You need to manually download and update to the latest 3.3.7 release package
No longer need to enable "Auto Reload On Changes" to apply Apache configuration changes anymore. The control panel will restart LSWS through the wrapper script after finishing updating Apache configuration files.
I knew that WHM may overwrite the script when you rebuild Apache, you need to be careful about this. We are working on a solution to automatically install the script and monitor it, if control panel change it, it will be changed back immediately. It is going to be in 3.3.8 release, maybe this weekend.
Thanks for Vivek's help with testing the solution.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:04 AM.
|
|