PDA

View Full Version : Apache Errors


dayjahone
12th July 2008, 18:42
First of all, when I delete a mail forward for an email address, it continues to send it to that email. Does this take time to propagate? I restarted apache and ispConfig, but it still does it...which brings us to the second issue. I got the following warnings when I restarted apache:

[Sat Jul 12 11:16:52 2008] [warn] VirtualHost 172.16.10.26:443 overlaps with VirtualHost 172.16.10.26:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Jul 12 11:16:52 2008] [warn] VirtualHost 172.16.10.26:443 overlaps with VirtualHost 172.16.10.26:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Jul 12 11:16:52 2008] [warn] VirtualHost 172.16.10.26:443 overlaps with VirtualHost 172.16.10.26:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Jul 12 11:16:52 2008] [warn] VirtualHost 172.16.10.26:443 overlaps with VirtualHost 172.16.10.26:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Jul 12 11:16:52 2008] [warn] NameVirtualHost 172.16.10.26:80 has no VirtualHosts
[Sat Jul 12 11:16:52 2008] [warn] NameVirtualHost 172.16.10.26:80 has no VirtualHosts
[Sat Jul 12 11:16:52 2008] [warn] NameVirtualHost 172.16.10.26:80 has no VirtualHosts
[Sat Jul 12 11:16:52 2008] [warn] NameVirtualHost 172.16.10.26:80 has no VirtualHosts

till
12th July 2008, 22:33
Please check that you dont have more then one include for Vhost_ispconfig.conf file. Also these warmings have nothing to do with your mail problem.

For the mail problem, please look into the ispconfig.log file for errors.

dayjahone
13th July 2008, 23:28
How do I check that?

till
14th July 2008, 09:29
How do I check that?

Open the apache2.conf ot httpd.conf file, go to the end of that file and count the number of includes for the Vhost_ispconfig.conf file.

dayjahone
14th July 2008, 17:49
At the end of /etc/apache2/httpd.conf there are what appear to be five of the same thing:

###############ispconfig_log###############
LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig

<Directory /home/www/*/web>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

<Directory /home/www/*/user/*/web>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

<Directory /home/www/*/cgi-bin>
Options ExecCGI -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

Is this what you mean?

I also ran this like you asked before:

# ls /etc/apache2/vhosts/
.
..
Vhosts_ispconfig.conf
Vhosts_ispconfig.conf_24-08-07_14-19-38
Vhosts_ispconfig.conf_25-08-07_15-21-59
Vhosts_ispconfig.conf_25-08-07_15-25-21
Vhosts_ispconfig.conf~

falko
15th July 2008, 17:20
How often do you see the line Include /etc/apache2/vhosts/Vhosts_ispconfig.conf in /etc/apache2/apache2.conf?

dayjahone
15th July 2008, 18:01
I only have an httpd.conf file, but the line you mentioned is in that file five times as part of the chunk of text in my earlier post.

falko
16th July 2008, 18:24
Remove four of these chunks so that only one is left and restart Apache.