Just finished setting up a new server (Ubuntu 11.10) and copied/pasted all conf files for Apache2 from an older fully functional server (Ubuntu 10.04). All the virtual hosts are functioning, but on apache2 restart I get the following warning (the old server gives no warnings, just a clean restart):

* Restarting web server apache2 [Wed Nov 30 14:02:12 2011] [error] (EAI 2)Name or service not known: Failed to resolve server name for 127.0.0.0 (check DNS) -- or specify an explicit ServerName [Wed Nov 30 14:02:12 2011] [warn] NameVirtualHost 192.168.0.90:80 has no VirtualHosts [Wed Nov 30 14:02:12 2011] [warn] NameVirtualHost 192.168.0.90:80 has no VirtualHosts
etc, etc 19 times
... waiting [Wed Nov 30 14:02:13 2011] [error] (EAI 2)Name or service not known: Failed to resolve server name for 127.0.0.0 (check DNS) -- or specify an explicit ServerName [Wed Nov 30 14:02:13 2011] [warn] NameVirtualHost 192.168.0.90:80 has no VirtualHosts [Wed Nov 30 14:02:13 2011] [warn] NameVirtualHost 192.168.0.90:80 has no VirtualHosts
etc, etc 19 times

The only differences that I can find between the two installations (used a "default" install on both) using apache2 -V are that (a) the new version is 2.2.17 (old 2.2.16) and that (b) the new one gives me

-D APACHE_MPM_DIR="server/mpm/worker" while the old gives
-D APACHE_MPM_DIR="server/mpm/prefork"

Is there anything in 2.2.17 c/w .16 or in the worker/prefork that would explain this? And is there a quick method of changing worker to prefork?

Tnx - Paul


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to