problem starting apache server on linode
[alert] moduniqueid: unable to gethostbyname("(none)")
Any clues? Thanks.
5 Replies
hostname your-hostname
and put your-hostname in /etc/hostname.
mod_unique_id: unable to gethostbyname("node.tribalsage.com")
If i type hostname: node.tribalsage.com
Apache still wont start
You need to put at least this in your /etc/hosts:
127.0.0.1 localhost
aaa.bbb.ccc.ddd hostname.domain.tld hostname
Thanks =)
@Apache Documentation:
don't configure Apache in such a way that it relies on DNS resolution for parsing of the configuration files
Check this out -- to avoid reliability problems (e.g. http server fails to start if DNS query times out during config file parsing) and possible DoS vulnerabilities with Apache. httpd.apache.org/docs-2.0/dns-caveats
Putting your own IP and host in /etc/hosts is the best way round this.