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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] LSWS not restarting when Plesk restarts Apache

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2011, 07:10 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
Default [solved] LSWS not restarting when Plesk restarts Apache

Hi,

I'm testing LSWS to use on a Plesk 10.3 server, everything is working fine but if I left LSWS configured to auto reload changes with Apache binary wrapper, it doesn't work.

I have configured to "(depricated) yes" and it works, but I would like to setup with Apache binary wrapper.

Any idea?

It is a Plesk 10.3 server running on Centos 5.5.

Best regards.

Last edited by NiteWave; 11-10-2011 at 05:27 PM..
Reply With Quote
  #2  
Old 10-28-2011, 08:48 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please check
/usr/local/lsws/logs/ap_cmd_param.log

see if there is anything logged during the restart.
Reply With Quote
  #3  
Old 10-28-2011, 09:08 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
This is what I have:


jue oct 27 02:14:11 CEST 2011: -k graceful
Thu Oct 27 02:14:35 CEST 2011: -t
jue oct 27 02:14:36 CEST 2011: -t
jue oct 27 02:14:36 CEST 2011: -k graceful
Thu Oct 27 02:17:32 CEST 2011: -t
jue oct 27 02:17:33 CEST 2011: -t
jue oct 27 02:17:33 CEST 2011: -k graceful
Thu Oct 27 09:21:22 CEST 2011:
Thu Oct 27 09:22:06 CEST 2011:
Thu Oct 27 09:22:40 CEST 2011:
Thu Oct 27 09:26:59 CEST 2011: -t
Thu Oct 27 09:28:50 CEST 2011: -t
Thu Oct 27 09:30:58 CEST 2011: -t
jue oct 27 10:03:50 CEST 2011: -t
jue oct 27 10:04:32 CEST 2011: -t
Reply With Quote
  #4  
Old 10-31-2011, 06:04 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
any idea?

I also get these emails when Plesk changes something:

Can not restart web server.

I suppose Plesk try to start Apache using port 80, but this is not possible because Lsws is using that port.

I will buy a LSWS enterprise license if I solve these two little problems.
Reply With Quote
  #5  
Old 11-02-2011, 05:37 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
I think the problem is related with the wrapper.

In LSWS admin I have this:
Apache Binary Path /usr/sbin/httpd

But, this is Apache binary, where is the wrapper?

thank you.

best regards
Reply With Quote
  #6  
Old 11-02-2011, 09:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The Apache binary is replaced with a shell script if wrapper enabled.
However, plesk does not call the binary directory when restart, so it is recommended not to use binary wrapper for now. We will investigate.
Reply With Quote
  #7  
Old 11-02-2011, 09:34 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
Ok, so I will leave configured for restarting LSWS when detects any change in the configuration for now.

Is there any way to avoid Plesk messages telling it is not able to restart webserver? I am getting about 10 emails per day.
Reply With Quote
  #8  
Old 11-09-2011, 03:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We installed plesk 10 in our lab.
Seems LSWS with using httpd wrapper is working fine.
We tried "restart" apache from service management page of plesk, LSWS restarts, we added a new account, LSWS restarts as well.
Please tell us more about your problem, what kind of operation you did and LSWS did not restart to apply the configuration change.
Reply With Quote
  #9  
Old 11-10-2011, 02:53 AM
javii javii is offline
Member
 
Join Date: Oct 2011
Posts: 10
Hi,

On my installation Plesk never restarts LSWS if you use wrapper. No matter what you try to do, create a new subscription, modify an existing one, etc... and I receive an email from Plesk telling me it cannot restart webserver (I suppose it is trying to restart Apache and 80 port is already used by LSWS).

I'm using Centos 5.5 x86_64 and LSWS Enterprise (I purchased the license yesterday).

Any idea?
Reply With Quote
  #10  
Old 11-10-2011, 07:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We tested plesk 10.3 on centos 5.
Maybe we need to take a look at your server if you do not mind send us a temp root access. you can create ticket under bug report department.
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 08:55 AM.



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