Current time: 12-27-2024, 01:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] All sites down and cant do anything with ispCP?
Author Message
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #1
[SOLVED] All sites down and cant do anything with ispCP?
Hello..

Yesterday, suddently all my sites went down, and cant even log into the ispCP panel anymore..

When I try to restart apache (it starts up with the server) I get this warning:
[warn] NameVirtualHost *:80 has no VirtualHosts

AND my /etc/apache2/httpd.conf is TOTALLY empty - shouldnt there be something inside that?

Ive noticed that my server changed local IP, so i have changed the IP everywhere i found it in the configs, but maybe i havent done it in all of them? Please tell me where to change it.

The error i get when trying to reach the site is:

Not Found

The requested URL / was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch Server at nemcom.dk Port 80

So not even the ispCP error... What the hell?

Greetings.
(This post was last modified: 02-12-2009 12:51 AM by BeNe.)
02-11-2009 10:07 PM
Find all posts by this user Quote this message in a reply
Nathariel Offline
Junior Member
*

Posts: 11
Joined: Jan 2009
Reputation: 0
Post: #2
RE: All sites down and cant do anything with ispCP?
If you are using NameVirtualHost *:80 as vhost 'template', then be sure that your domain entries in /etc/apache2/sites-available/ispcp.conf are in the form <VirtualHost *:80>. If you make changes there, don't forget to update /etc/ispcp/apache/working/ispcp.conf as well.

apachectl -t and apachectl -S are your friends. I recommend you to have a look at the apache docs for setting up name based vhosts - it is a must knowledge.

Btw: omitting the IP address in NameVirtualHost and putting '*' sign makes it listen on any ip address (0 0 ) so your change shouldn't bother you.

The httpd.conf in debian by default is empty. Apache is using apache2.conf so don't worry Smile
02-11-2009 11:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #3
RE: All sites down and cant do anything with ispCP?
I tried changing it some more places now, and hope it helps when the server is rebooted..

Else i really dont know what to do :S

Thanks for your help

[EDIT]Allright, my sites are online again Big Grin Thanks alot! [/EDIT]
(This post was last modified: 02-11-2009 11:46 PM by DiXeoN.)
02-11-2009 11:44 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)