[rancid] Re: Help with Rancid Netscreen
john heasley
heas at shrubbery.net
Wed Feb 17 17:32:02 UTC 2010
Wed, Feb 17, 2010 at 01:59:01PM -0000, Trevor Coyle:
> The PATH is
>
> PATH=/usr/local/rancid/bin:/usr/bin:/usr/sbin:.:/bin:/usr/kerberos/bin:/
> usr/local/bin:/usr/bin; export PATH
is cvs in one of those directories? is that one line, and its just your
MUA that wrapped it? sh rancid.conf should produce no errors.
> CVSROOT=$BASEDIR/CVS; export CVSROOT
>
> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net]
> Sent: 12 February 2010 17:02
> To: Trevor Coyle
> Cc: john heasley; ?rni Birgisson; rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Re: Help with Rancid Netscreen
>
> Fri, Feb 12, 2010 at 09:07:13AM -0000, Trevor Coyle:
> > Rancid has been running for the last few years backing up cisco's
> >
> > I edited the GROUPS in the rancid.conf to include the new netscreen
> > group
>
> check the PATH variable in rancid.conf. ensure that the syntax is
> correct and the location of cvs is included.
>
> > Then I ran rancid-cvs
> >
> > Test the nlogin to see if it could login under the Rancid user which
> it
> > could get into the firewall
> >
> > I Ran Rancid-run and I get that error my first mail in the logs
> >
> > NOTE: I had to change some things in the bin/nrancid to get it to run,
> I
> > was getting missing curly bracket errors so I added them in to the
> > correct place and the errors stopped
>
> that was fixed and is definitely in the current version.
>
> > Crontab -
> >
> > # rancid
> > 01 0 * * * rancid /usr/local/rancid/bin/rancid-run
> >
> > Thank You for your help,
> > Trevor
> >
> > -----Original Message-----
> > From: john heasley [mailto:heas at shrubbery.net]
> > Sent: 11 February 2010 21:10
> > To: Trevor Coyle
> > Cc: ?rni Birgisson; rancid-discuss at shrubbery.net
> > Subject: Re: [rancid] Re: Help with Rancid Netscreen
> >
> > 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
> > 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
> 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
More information about the Rancid-discuss
mailing list