Share!

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.

  • mod_unique_id: unable to gethostbyname
  • unable to gethostbyname
  • mod_unique_id unable to gethostbyname
  • mod_unique_id: unable to gethostbyname(
  • mod_unique_id: unable to gethostbyname()

2 Responses to “mod_unique_id: unable to gethostbyname”

  1. sirboderafael says:

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

    best brazilian regards!

  2. thanx