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: 1437     Entry time: Mon Oct 10 08:03:57 2005     In reply to: 1434     Reply to this: 1438
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: Linux | Mac OSX  ELOG Version: 2.6.0beta5 
Subject: Re: "Error: Cannot find hostname" 

Exaos Lee wrote:
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".


In such a situation you describe it might help to use

URL = http://10.10.2.96:8080/

in the configuration file. This way elogd uses also IP numbers for redirection. Please let me know if that works.
ELOG V3.1.5-fe60aaf