I'd ran a apt-get dist-upgrade on my debian 3.1 system for all the latest packages. But now all my websites are offline... When i try to start apache2, i get this error: [Sun May 20 20:56:01 2007] [warn] VirtualHost <IP here> overlaps with VirtualHost <IP here>, the first has precedence, perhaps you need a NameVirtualHost directive. Could anybody help me please? I need to get this up and running again...
You probably upgraded some parts of the system to the Etch version. This requires a change in /etc/apt/sources.list (before upgrading),for example: if the file contained something like this (besides the server's address): running apt-get upgrade will upgrade some parts of the system (some because some other might not fit into Sarge) to Etch,because now this is the stable version. You should replace "stable" with "sarge" before the upgrade. The upgraded packages probably changed some configuration files so it's worth to check them. This is an explanation for Your problem but without the resolution.
That would cover the problems for apt-get upgrade. But isn't apt-get dist-upgrade meant to upgrade my system to etch?
apt-get update is meant to update the packages of the current installation. apt-get dist-upgrade is to update the distro to the latest version. But this isn't helping my problem i need to know how to get my apache up and running again...
@Hans, this is the content of my sources.list: deb ftp://ftp.snt.utwente.nl/pub/linux/debian/ stable main deb-src ftp://ftp.snt.utwente.nl/pub/linux/debian/ stable main deb http://security.debian.org/ stable/updates main contrib deb http://backports.org/debian stable-backports main deb-src http://backports.org/debian stable-backports main deb http://mirror.scarlet-internet.nl/pub/debian/ stable main One other question, i get tons of messages from my system and they all have this subject: "The following users are near or already over their quota limit on server " A lot of my customers are near there quota limit, but none of them are over it. Is there a way to disable this message for the near quota limit and only let it send mails if the quota is exceeded?
apache pb? If you ran a apt-get dist-upgrade from Sarge to Etch, maybe you have to adapt Apache. see... Upgrading to 2.2 from 2.0 Pad
You can modify the file /root/ispconfing/scripts/shell/quota_msg.php. Please check your Apache configuration. It seems there are two identical or similar vhosts.
@Falko, Thanks for the first answer, i finally got rid of those annoing messages. About the vhosts. Before the dist-upgrade everything was running fine, i got this error after the dist-upgrade. When i try to start my apache2, i get a whole bunch of these messages (the count equals the amount of sites hosted at the server)... It can't be that they are all similar..
I've been reading this document, but it doesn't say anything about the virtual hosts... From apache 2.0 to 2.2, did they adjust the configuration of the vhosts? Vhosts_ispconfig.conf is only included once, not twice. During the upgrade my system asked me if i wanted to change the configuration file to the new file that was included in the update, i said no!