Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For



Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For
Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For
Post Description:
Post Tags: starting, httpd, httpd, apr, sockaddr, info, get, failed, for
This Post Has Been Viewed 2231 Times Since Mon Mar 03, 2008 12:29 am Posted By lunar with 1 replies
Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For
i had to change my hostname and now im getting this error:
Starting httpd: httpd: apr_sockaddr_info_get() failed for hostname.domain.com

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


i got this dedicated linux server and i was making a few changes on my ssh linux shell and i think i screw it up, any help you can give me on how to fix this error?

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For




:: 1 :: #43987 - Reply By hostman On Mon Mar 03, 2008 12:34 am
looks like your hostname is screwed up. fix with these commands

HOSTNAME.DOMAIN.COM = your hostname and domain name

hostname HOSTNAME.DOMAIN.COM


nano /etc/hosts

if your HOSTNAME.DOMAIN.COM is not corrrect, change it and save the changes

echo HOST.DOMAIN.com > /etc/hostname


/bin/hostname -F /etc/hostname


/etc/init.d/httpd restart


if you need more help, go to this post:

http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html