Forum Search:
HyperVM & Kloxo Support

Home » LxCenter Knowledge Base » LxAdmin KB » Convert from Lighty to apache
Convert from Lighty to apache [message #6107] Wed, 06 June 2007 09:53 Go to next message
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
jhamon  is currently offline 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 Go to previous messageGo to next message
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

 

 service lighttpd stop

 



Thanks.


Re: Convert from Lighty to apache [message #7628 is a reply to message #6107] Sat, 30 June 2007 00:47 Go to previous messageGo to next message
Lxhelp
Messages: 23701
Registered: July 2006
Masters

There is a web interface to do this now; Just go to server home -> switch program and you can switch to any of the alternatives. All your configuration will be intact.


Re: Convert from Lighty to apache [message #7631 is a reply to message #6107] Sat, 30 June 2007 01:17 Go to previous messageGo to next message
sukhdeepsingh  is currently offline sukhdeepsingh
Messages: 419
Registered: May 2007
Masters
Gui Interface is awesome Very Happy
Re: Convert from Lighty to apache [message #7641 is a reply to message #6107] Sat, 30 June 2007 09:38 Go to previous messageGo to next message
sukhdeepsingh  is currently offline sukhdeepsingh
Messages: 419
Registered: May 2007
Masters
Ok i was just testing this out on my Website. Seems like it has some bugs.

Changed Lighttpd to Apache and it showed Apache Test page on main domain and 404 at rest of the pages.

Tried Changing back to Lighttpd from Apache and whole Webserver is down.
Re: Convert from Lighty to apache [message #7642 is a reply to message #6107] Sat, 30 June 2007 09:41 Go to previous messageGo to next message
sukhdeepsingh  is currently offline sukhdeepsingh
Messages: 419
Registered: May 2007
Masters
Update i had to do this from Shell

service lighttpd restart 


to make it work Smile
Re: Convert from Lighty to apache [message #7645 is a reply to message #7642] Sat, 30 June 2007 13:38 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 #13644 is a reply to message #7646] Tue, 18 September 2007 10:07 Go to previous messageGo to next message
Instinct  is currently offline Instinct
Messages: 47
Registered: July 2007
Member

When I do the lighttpd convert to htppd even after 10 minutes the service doesnt start, so i opened the shell and did httpd start and this is the error that it presents:

[root@vgsweb1 forum.vgstudios.co.uk]# service httpd start
Starting httpd: [Tue Sep 18 15:49:32 2007] [warn] NameVirtualHost 85.234.133.9:80 has no VirtualHosts
[Tue Sep 18 15:49:32 2007] [warn] NameVirtualHost 85.234.133.9:443 has no VirtualHosts
[Tue Sep 18 15:49:32 2007] [warn] NameVirtualHost 85.234.150.182:80 has no VirtualHosts
[Tue Sep 18 15:49:32 2007] [warn] NameVirtualHost 85.234.150.182:443 has no VirtualHosts


Im running version: Current Version: 5.0.1012


Chris Brooks
Re: Convert from Lighty to apache [message #13645 is a reply to message #13644] Tue, 18 September 2007 10:34 Go to previous messageGo to next message
Lxhelp
Messages: 23701
Registered: July 2006
Masters
That's not error. They are merely warnings. Is the httpd running now?

thanks.

Re: Convert from Lighty to apache [message #65512 is a reply to message #6107] Thu, 21 May 2009 22:48 Go to previous messageGo to next message
sg552  is currently offline 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]

Re: Convert from Lighty to apache [message #65581 is a reply to message #65512] Fri, 22 May 2009 02:11 Go to previous messageGo to next message
lxbhargava  is currently offline lxbhargava  India
Messages: 597
Registered: May 2009
Masters

Hello,

Which step is failing, post the exact error message you get.



Thanks and Regards

S Bhargava
Lxlabs Support
Re: Convert from Lighty to apache [message #65724 is a reply to message #65581] Sat, 23 May 2009 06:28 Go to previous message
sg552  is currently offline sg552
Messages: 48
Registered: November 2008
Member
lxbhargava wrote on Fri, 22 May 2009 14:11

Hello,

Which step is failing, post the exact error message you get.





error because the lxadmin directory is missing!
cd /usr/local/lxlabs/lxadmin/httpdocs/

anyway I have fix this problem with kloxo GUI. thank you. Smile
Previous Topic:How to Configure SSL on Lxadmin
Next Topic:Re: Lighttp Rewrite Rule
Goto Forum:
  


Current Time: Fri Sep 3 14:18:15 EDT 2010

Total time taken to generate the page: 0.01513 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2009 FUDforum Bulletin Board Software