mod_unique_id: unable to gethostbyname

Yes, that message display when I try to start apache inside my jail box.

 [Thu Jul 10 13:23:41 2008] [alert] mod_unique_id: unable to gethostbyname(”mailserver”)

To resolve this problem, just edit /etc/hosts

add record for ‘mailserver’ entry, like :

::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain
172.88.1.5              email.rasyid.com mailserver

Restart apache and test it yourself.

2 Comments

  • sirboderafael
    March 26, 2009 - 11:23 pm | Permalink

    thanks my friend, I had a trouble similar on a friend’s server… then, your tip saved my beer!

    best brazilian regards!

  • nima
    April 25, 2009 - 9:00 am | Permalink

    thanx

  • Comments are closed.