[rancid] Re: Log Files
Austin Schutz
tex at off.org
Fri Apr 18 20:05:12 UTC 2008
jrancid is missing the path to the perl interpreter at the top
of the file. It looks like something weird happened when you installed
rancid- maybe couldn't find the interpreter but didnt' stop installing.
Austin
On Fri, Apr 18, 2008 at 11:36:52AM -0400, Scott Huffman wrote:
> Any thoughts on these logs? The error continues to repeat. I think this is
> why my rancid is hanging.
>
> Rancid:~ dtidelaware$ cat
> /opt/local/var/rancid/logs/jrouters.20080416.233000 | more
> starting: Wed Apr 16 23:30:00 EDT 2008
>
> Trying to get all of the configs.
> /opt/local/libexec/rancid/jrancid: line 28: use: command not found
> /opt/local/libexec/rancid/jrancid: line 28: use: command not found
> /opt/local/libexec/rancid/jrancid: line 28: use: command not found
> /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 29: syntax error near unexpected
> token `
> 'dfl''
> /opt/local/libexec/rancid/jrancid: line 29: `getopts('dfl');'
> /opt/local/libexec/rancid/jrancid: line 29: syntax error near unexpected
> token `
> 'dfl''
>
>
>
> #JRancid file------------------------------------------
>
> use Getopt::Std; <---------------- Line 28
> getopts('dfl'); <---------------- Line 29
>
> $debug = $opt_d;
> $log = $opt_l;
> $file = $opt_f;
> $host = $ARGV[0];
>
> -------------------------------------------------------------
>
>
> !DSPAM:4808c186173864550419146!
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
> !DSPAM:4808c186173864550419146!
More information about the Rancid-discuss
mailing list