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     mailserver

Restart apache and test it yourself.


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

    best brazilian regards!

Comments are closed.