ispCP - Board - Support
apache2 Debian - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: apache2 Debian (/thread-6223.html)



apache2 Debian - server801 - 03-28-2009 02:58 AM

Code:
/etc/init.d/apache2 restart
Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for hosting
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Mar 27 19:53:39 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting ....apache2: apr_sockaddr_info_get() failed for hosting
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Mar 27 19:53:44 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
how to solve the problem?


RE: apache2 Debian - kilburn - 03-28-2009 03:41 AM

1. Add "ServerName your.fqdn.tld" to /etc/apache2/apache2.conf
2. Comment the "NameVirtualHost *:80" line in /etc/apache2/ports.conf


RE: apache2 Debian - rbtux - 03-28-2009 03:43 AM

configure your server with a fqdn... (in /etc/hosts)


RE: apache2 Debian - server801 - 03-28-2009 03:57 AM

so it must be correct to write?how to enable awstats?