Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   error "Cannot retrieve host name: No error" using command line in Windows, posted by Dan Gawarecki on Fri Feb 15 22:55:11 2008 
    icon2.gif   Re: error "Cannot retrieve host name: No error" using command line in Windows, posted by Stefan Ritt on Mon Feb 18 07:03:29 2008 
       icon2.gif   Re: error "Cannot retrieve host name: No error" using command line in Windows, posted by Dan Gawarecki on Mon Feb 18 17:25:42 2008 
          icon2.gif   Re: error "Cannot retrieve host name: No error" using command line in Windows, posted by Stefan Ritt on Mon Feb 18 17:51:49 2008 
             icon2.gif   Re: error "Cannot retrieve host name: No error" using command line in Windows, posted by Dan Gawarecki on Mon Feb 18 22:20:02 2008 
Message ID: 65744     Entry time: Fri Feb 15 22:55:11 2008     Reply to this: 65745
Icon: Question  Author: Dan Gawarecki  Author Email: dan_gawarecki@datacard.com 
Category: Bug report  OS: Windows  ELOG Version:  
Subject: error "Cannot retrieve host name: No error" using command line in Windows 

I automatically install software on 3 machines in our lab, and at the end of the process, use eLOG to record relevant information for each machine (all running Windows XP) via the command line program elog.exe.  2 of the machines log their info correctly, but on third machine, I get the following error:

    Cannot retrieve host name: No error

The error is not very clear (i.e., the error is "no error"?), and furthermore, operationally, the error makes no sense to me, for the three machines are supposedly configured the same.  Additionally, the elog.exe used is stored on a network drive, as are the other batch files that all3 machines use, so it is not as a problem could creep in due to differing versions/configurations of files.

Just in case I am overlooking something, here's the command line invocation (I've X'd out sensitive information):

 

C:\>x:\@adat\tools\elog.exe -h max13 -l "Maxtee" -u xxxxxxxxxx xx1234   -a Tester=AULS_xxx_y    -a M
achine="Mercury 99"   -a "Module Type"=Controller   -a "Action Description=Configuration Change"   -
a Title="AULS upgraded to 1.2.7344 from [1.1.7343]."   -a "Card Count=998352"   -m X:\@ADAT\InterimP
F\MERCURY29.Blat_Msg1_PostBoot.TXT 1>X:\@ADAT\InterimPF\MERCURY29_eLog_CmdLineOutput1_(PostBoot).txt

Cannot retrieve host name: No error

 

Obvoiusly, there *must* be some configuration difference between the 2 working and 1 non-working machine, but I am at a loss to figure it out.

 

I am not sure which version of eLOG is being used, but the size of the elog.exe is 139,264. 

I suggest a new option be added to display the version information, or display the version info whenever eLOG is execute, or display the version info when "-?" option is used.

ELOG V3.1.5-3fb85fa6