openSUSE Forums > Network/Internet » httpd2-prefork: ... no fully qualified domain name

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Aug-2008, 19:45
Student Penguin
 
Join Date: Aug 2008
Location: Seattle
Posts: 57
fogelfish hasn't been rated much yet
Send a message via ICQ to fogelfish
Default httpd2-prefork: ... no fully qualified domain name

Can someone help me diagnose this message when I restart apache2?
Quote:
Starting httpd2 (prefork) httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
I am using SuSE 11.0 and I'm on a LAN where there is no domain I know of. I don't think there is a fully qualified domain name to be had here.

The following info may be useful.
Quote:
/etc/hosts
127.0.0.1 localhost loopback www.dci.site
127.0.0.2 localhost.aif.com fogelfish
"aif.com" is not a real domain, but I didn't know what was needed next to 127.0.0.2. "www.dci.site" is a virtual host for local testing of a website I'm working on.

And the contents of the only file included in httpd.conf in the "/etc/apache2/vhosts.d/*.conf" path.
Quote:
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /srv/www/htdocs/dci
ServerName dci
ServerAlias dci.site, *.dci.site

HostnameLookups Off
UseCanonicalName Off
ServerSignature On

</VirtualHost>

<VirtualHost *:80>
DocumentRoot /srv/www/htdocs
ServerName localhost

HostnameLookups Off
UseCanonicalName Off
ServerSignature On

</VirtualHost>
Reply With Quote
  #2 (permalink)  
Old 26-Aug-2008, 19:58
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,232
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: httpd2-prefork: ... no fully qualified domain name

Code:
127.0.0.1 localhost loopback www.dci.site
If you have a FQDN you should name it first in /etc/host lines, i.e.

Code:
127.0.0.1 www.dci.site localhost loopback
See if that helps.
Reply With Quote
  #3 (permalink)  
Old 26-Aug-2008, 20:41
Student Penguin
 
Join Date: Aug 2008
Location: Seattle
Posts: 57
fogelfish hasn't been rated much yet
Send a message via ICQ to fogelfish
Default Re: httpd2-prefork: ... no fully qualified domain name

That helps for sure. Thanks!
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2