Current time: 11-16-2024, 12:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
apache2 Debian
Author Message
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #1
apache2 Debian
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?
03-28-2009 02:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: apache2 Debian
1. Add "ServerName your.fqdn.tld" to /etc/apache2/apache2.conf
2. Comment the "NameVirtualHost *:80" line in /etc/apache2/ports.conf
03-28-2009 03:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #3
RE: apache2 Debian
configure your server with a fqdn... (in /etc/hosts)
03-28-2009 03:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #4
RE: apache2 Debian
so it must be correct to write?how to enable awstats?
(This post was last modified: 03-28-2009 04:29 AM by server801.)
03-28-2009 03:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)