[rancid] Re: Errors in Logs

Ed Ravin eravin at panix.com
Tue Apr 22 16:37:16 UTC 2008


On Fri, Apr 18, 2008 at 11:28:33AM -0400, Scott Huffman wrote:
>    Any thoughts on this error:
>    /opt/local/libexec/rancid/jrancid: line 29: `getopts('dfl');'
>    =====================================
>    Getting missed routers: round 4.
>    /opt/local/libexec/rancid/jrancid: line 28: use: command not found
>    /opt/local/libexec/rancid/jrancid: line 29: syntax error near
>    unexpected token `'dfl''
>    /opt/local/libexec/rancid/jrancid: line 29: `getopts('dfl');'
>    /opt/local/libexec/rancid/jrancid: line 28: use: command not found

The errors above suggest that an interpreter other than Perl is trying to
run "jrancid".  Check that the first line of "jrancid" is pointing to
a working version of Perl, and that the newline format of "jrancid"
properly matches your OS.


More information about the Rancid-discuss mailing list