Ok I found a few interesting things. I am working with Suse10.3, and the httpd.conf file had an entry
Include /etc/apache2/vhosts.d/*.conf and then right at the bottom of the file it had almost the same thing again but looking like this:
Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
I removed the first Include calling for the file in /vhosts.d, and the proceeded to delete a few of the dormant domains. Even after emptying the recycle bin in ISPConfig, I had absolutely no error anywhere. But when I manually restarted the apache server in SSH, this is what I got, preventing apache from starting.
PHP Code:
mail:/etc/apache2/vhosts # /etc/init.d/apache2 restart
Warning: DocumentRoot [/var/www/web13/web] does not exist
Warning: DocumentRoot [/var/www/web72/web] does not exist
Warning: DocumentRoot [/var/www/web177/web] does not exist
Warning: DocumentRoot [/var/www/web13/web] does not exist
Warning: DocumentRoot [/var/www/web72/web] does not exist
Warning: DocumentRoot [/var/www/web13/web] does not exist
Warning: DocumentRoot [/var/www/web72/web] does not exist
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 196.37.170.xx for ServerName
[Sun Mar 23 20:03:48 2008] [warn] NameVirtualHost 196.37.170.xx:80 has no VirtualHosts
[Sun Mar 23 20:03:48 2008] [warn] NameVirtualHost 196.37.170.xx:80 has no VirtualHosts
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) Warning: DocumentRoot [/var/www/web13/web] does not exist
Warning: DocumentRoot [/var/www/web72/web] does not exist
Warning: DocumentRoot [/var/www/web177/web] does not exist
Warning: DocumentRoot [/var/www/web13/web] does not exist
Warning: DocumentRoot [/var/www/web72/web] does not exist
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 196.37.170.xx for ServerName
[Sun Mar 23 20:03:49 2008] [warn] NameVirtualHost 196.37.170.xx:80 has no VirtualHosts
[Sun Mar 23 20:03:49 2008] [warn] NameVirtualHost 196.37.170.xx:80 has no VirtualHosts
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
To fix this I had to delete the entries for these domains again from the VHosts_ispconfig.conf file and restart, this time without errors.
So it would seem that ISPConfig does not have permission to write to the vhost file when you add and delete domains.
Recent comments
17 hours 25 min ago
20 hours 20 min ago
21 hours 34 min ago
22 hours 58 min ago
1 day 36 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 23 hours ago