[rancid] Re: Help with Rancid Netscreen

john heasley heas at shrubbery.net
Thu Feb 11 21:09:56 UTC 2010


Thu, Feb 11, 2010 at 04:31:12PM -0000, Trevor Coyle:
> Arni,
> 
>  
> 
> It's a run as atask with crontab
> 
> Its running as user rancid the same as the cisco devices
> 
> Its one instance for the routers and firewalls

if its one cron job, its truely bizarre.

you must be affecting the path environment variable somehow between running
one group and the next.

your cronjob should be similar to

<time spec> <path>/bin/rancid-run

no more is required.
>  
> 
> Tks,
> 
> Trevor
> 
>  
> 
> ________________________________
> 
> From: ?rni Birgisson [mailto:ABirgisson at fattoc.com] 
> Sent: 11 February 2010 16:26
> To: Trevor Coyle
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Help with Rancid Netscreen
> 
>  
> 
> If rancid is working correctly for other devices then your version control system works.
> 
>  
> 
> Are you running the commands manually to get this error?
> 
> Is it possible that rancid normally runs as some user (ie. "rancid") but you are running it as a different user (root) ?
> 
> Is it one instance of rancid doing everything or a seperate instance/config for the firewalls?
> 
>  
> 
> - Arni
> 
>  
> 
> On Feb 11, 2010, at 4:22 PM, Trevor Coyle wrote:
> 
> 
> 
> 
> 
> Thank you for the reply,
> 
>  
> 
> Rancid is working for all Cisco Devices but the Netscreen Firewall is having the problem, I have created a new group for Juniper and it can login into the Firewall OK but doesn't seem to be taking the config down, would you say I need to install CVS in this case?
> 
>  
> 
> Trevor
> 
>  
> 
> ________________________________
> 
> From: ?rni Birgisson [mailto:abirgisson at fattoc.com] 
> Sent: 11 February 2010 16:17
> To: Trevor Coyle
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Help with Rancid Netscreen
> 
>  
> 
> >From these logs it's apparent that you either don't have CVS installed, or the user that is running rancid
> 
> doesn't have the correct path to the cvs command.
> 
>  
> 
> You probably need to "apt-get install cvs" (debian/ubuntu) or "yum install cvs" (redhat/fedora).
> 
>  
> 
> Is your rancid installation working for anything or is this the first device you are using rancid for?
> 
>  
> 
> -Arni
> 
>  
> 
>  
> 
> On Feb 11, 2010, at 2:49 PM, Trevor Coyle wrote:
> 
> 
> 
> 
> 
> 
> Hi I was wondering if you could help?
> 
>  
> 
> I'm currently trying to backup the config for a Juniper (Netscreen SSG-550) and the log file is coming out with
> 
>  
> 
> starting: Thu Feb 11 12:51:48 GMT 2010
> 
>  
> 
> /usr/local/rancid/bin/control_rancid: line 234: cvs: command not found
> 
> /usr/local/rancid/bin/control_rancid: line 235: cvs: command not found
> 
> Added file_name
> 
>  
> 
> /usr/local/rancid/bin/control_rancid: line 260: cvs: command not found
> 
>  
> 
>  
> 
> Trying to get all of the configs.
> 
> =====================================
> 
> Getting missed routers: round 1.
> 
> =====================================
> 
> Getting missed routers: round 2.
> 
> =====================================
> 
> Getting missed routers: round 3.
> 
> =====================================
> 
> Getting missed routers: round 4.
> 
>  
> 
> /usr/local/rancid/bin/control_rancid: line 372: cvs: command not found
> 
> /usr/local/rancid/bin/control_rancid: line 384: cvs: command not found
> 
>  
> 
> ending: Thu Feb 11 12:51:50 GMT 2010
> 
>  
> 
> The File output in Configs is blank, the nlogin is able to login to the firewall but the nrancid doesn't seem to be outputting the config
> 
>  
> 
>  
> 
> Can you please Help
> 
>  
> 
> Thank You,
> 
> Trevor
> 
> 
> Registered in Ireland No. 321280, VAT Reg. No. IE 63412800
> Registered Address. 1 Parkway House, Western Parkway Business Park, Ballymount, Dublin 12
> Directors - S.MacNicholas, P.Ledwidge, C.OColmain, J.Byrne 
> <ATT00001.c>
> 
>  
> 
>  
> 
> Arni Birgisson       
> Network Engineer
> FATTOC Iceland
> Adalstraeti 6
> 101 Reykjavik
> Iceland
> 
>  
> 
> 
> Registered in Ireland No. 321280, VAT Reg. No. IE 63412800
> Registered Address. 1 Parkway House, Western Parkway Business Park, Ballymount, Dublin 12
> Directors - S.MacNicholas, P.Ledwidge, C.OColmain, J.Byrne 
> 
>  
> 
>  
> 
> Arni Birgisson       
> Network Engineer
> FATTOC Iceland
> Adalstraeti 6
> 101 Reykjavik
> Iceland
> 
>  
> 
> 
> Registered in Ireland No. 321280, VAT Reg. No. IE 63412800
> Registered Address. 1 Parkway House, Western Parkway Business Park, 
> Ballymount, Dublin 12
> Directors - S.MacNicholas, P.Ledwidge, C.OColmain, J.Byrne

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list