| Convert from Lighty to apache [message #6107] |
Wed, 06 June 2007 09:53  |
Lxhelp Messages: 23701 Registered: July 2006 |
Masters |
|
|
The information below is Obsolete. You can now switch programs via gui itself. Just go to server home -> switch program
You can use the below steps as a last recourse if the gui doesn't work.
Thanks.
Here are the steps required to switch the web server on a machine from lighttpd to apache.
cd /usr/local/lxlabs/lxadmin/httpdocs/
service lighttpd stop
yum -y install httpd
lphp.exe ../bin/common/misc/changedriver.php web apache
lphp.exe ../bin/misc/fixwebdnsfullupdate.php
service httpd restart
Thanks.
[Updated on: Sat, 30 June 2007 00:49] by Moderator
|
|
|
| Re: Convert from Lighty to apache [message #6109 is a reply to message #6107] |
Wed, 06 June 2007 10:33   |
Lxhelp Messages: 23701 Registered: July 2006 |
Masters |
|
|
Converting from apache to lighty.
Here are the steps required to switch the web server on a machine from apache to Lighttpd
cd /usr/local/lxlabs/lxadmin/httpdocs/
service httpd stop
rpm -e --nodeps httpd
lphp.exe ../bin/common/misc/changedriver.php web lighttpd
lphp.exe ../bin/misc/fixwebdnsfullupdate.php
service lighttpd restart
Thanks.
|
|
|
| Re: Convert from Lighty to apache [message #7593 is a reply to message #6107] |
Fri, 29 June 2007 10:02   |
jhamon Messages: 355 Registered: May 2006 |
Masters |
|
|
Hi,
I've followed these directions to switch from lighttpd to apache but when I try to start httpd I get the following error.
How do I fix this.
[root@vps01 /]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Fri Jun 29 17:45:34 2007] [warn] VirtualHost 127.0.0.1:80 overlaps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:443 has no VirtualHosts
[Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:80 has no VirtualHosts
[Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:443 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Jonathan Hamon
FREE for UK Businesses - Never Miss Another Call
Visit http://www.0844callmanager.com to get your FREE number and call management service
|
|
|
| Re: Convert from Lighty to apache [message #7596 is a reply to message #7593] |
Fri, 29 June 2007 11:28   |
Lxhelp Messages: 23701 Registered: July 2006 |
Masters |
|
|
| Quote: |
>
>
> Hi,
>
> [mailto:root@vps01 /]# service httpd restart
> Stopping httpd: [FAILED]
> Starting httpd: [Fri Jun 29 17:45:34 2007] [warn] VirtualHost 127.0.0.1:80 overlaps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directive
> [Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:443 has no VirtualHosts
> [Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:80 has no VirtualHosts
> [Fri Jun 29 17:45:34 2007] [warn] NameVirtualHost 77.74.193.36:443 has no VirtualHosts
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
|
Try. service lighttpd stop before starting httpd
Thanks.
|
|
|
|
|
|
|
| Re: Convert from Lighty to apache [message #7645 is a reply to message #7642] |
Sat, 30 June 2007 13:38   |
Lxhelp Messages: 23701 Registered: July 2006 |
Masters |
|
|
| Quote: |
>
>
> Update i had to do this from Shell
>
> service lighttpd restart
>
> to make it work :)
|
The service is not instantly restarted. You will have to wait for one minute for the service to start. In lxadmin, all server restart is done in the background by separate daemon. But I will see what's wrong with apache.
Thanks for the report.
|
|
|
| Re: Convert from Lighty to apache [message #7646 is a reply to message #7642] |
Sat, 30 June 2007 13:53   |
Lxhelp Messages: 23701 Registered: July 2006 |
Masters |
|
|
PLease update lxadmin to version 6672. This problem has been fixed. You will have to wait for 1 minute for the services to properly restart.
Thanks.
On Sat, Jun 30, 2007 at 01:41:03PM -0000, Sukhdeep wrote:
>
>
> Update i had to do this from Shell
>
> service lighttpd restart
>
> to make it work :)
|
|
|
|
|
| Re: Convert from Lighty to apache [message #65512 is a reply to message #6107] |
Thu, 21 May 2009 22:48   |
sg552 Messages: 48 Registered: November 2008 |
Member |
|
|
| Lxhelp wrote on Wed, 06 June 2007 21:53 | The information below is Obsolete. You can now switch programs via gui itself. Just go to server home -> switch program
You can use the below steps as a last recourse if the gui doesn't work.
Thanks.
Here are the steps required to switch the web server on a machine from lighttpd to apache.
cd /usr/local/lxlabs/lxadmin/httpdocs/
service lighttpd stop
yum -y install httpd
lphp.exe ../bin/common/misc/changedriver.php web apache
lphp.exe ../bin/misc/fixwebdnsfullupdate.php
service httpd restart
Thanks.
|
This command does not work. I also can't use GUI kloxo keep giving me timeout. Please help.
Nevermind it works now.
[Updated on: Thu, 21 May 2009 23:32]
|
|
|
|
|