> Hi,
>
> I am playing with the elog automatic subscription script, but somehow I am failing in submitting an entry.
> I am using a syntax as this:
>
> echo test | elog -h 127.0.0.1 -p 8085 -d /usr/local/elogbooks/Elog -l "Sub Elog" -a "Type=MyType" -x -u user passwd
>
> and I get a message which says:
> "cannot get host name: Success"
>
> which seems contradictory and also there is no entry submitted.
>
> The command is executed on the host where the elog is running, the port and directory are taken from the cfg File.
>
> What is my mistake, where is my misunderstanding of the documentation?
>
> Any hints appreciated.
>
> Erik
The "-d" option is certainly wrong. This is only used when running elog under Apache. But otherwise it should work. I
tried it myself and it went fine. Try to add a "-v" flag to see verbose output. |