Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon8.gif   "Error: Cannot find hostname", posted by Exaos Lee on Sun Oct 9 20:39:50 2005 
    icon2.gif   Re: "Error: Cannot find hostname", posted by Stefan Ritt on Mon Oct 10 08:03:57 2005 
       icon2.gif   Re: "Error: Cannot find hostname", posted by Exaos Lee on Mon Oct 10 10:52:02 2005 
Message ID: 1434     Entry time: Sun Oct 9 20:39:50 2005     Reply to this: 1437
Icon: Angy  Author: Exaos Lee  Author Email: Exaos.Lee@gmail.com 
Category: Bug report  OS: Linux | Mac OSX  ELOG Version: 2.6.0beta5 
Subject: "Error: Cannot find hostname" 
I usually access hosts in LAN with their IPs. But elogd seems to prefer hostnames to IPs. I cannot ask each one to add the hostname to their system config file while they visit my host. I encounter several problems which seems to be related to the hostname resolution:
  • I can visit remote elog service through IP and port, but cannot submit entry and cannot open the config page remotely. For example, my powerbook's name is "exaos-pb-12" and its IP is 10.10.2.96. I run elogd on my PB and try to access it through URL http://10.10.2.96:8080/ on host 10.10.2.99. While I submit a new entry or open the config page, my firefox alway blames: "exaos-pb-12.local could not be found. Please check the name and try again."
  • Sometimes, all the images, colors are missing. It looks like that my firefox cannot find the correct URL of these images or CSS files. It might be the same problem of "cannot find hostname".
ELOG V3.1.5-fe60aaf