[rancid] Release Authorised RANCID Email Issue
Hinote, Scotty (MSFC-IS40)[NICS]
willie.s.hinote at nasa.gov
Thu Apr 4 14:17:45 UTC 2013
Hi Scott,
You should be executing the rancid-run command as the rancid user and not as root. The error message states that it cannot find a .cloginrc file in root's directory. You can su - rancid then execute rancid-run which should successfully backup your devices or produce another error in the logs.
Regards,
Scotty
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Gilmour, Scott
Sent: Thursday, April 04, 2013 9:02 AM
To: heasley; rancid-discuss at shrubbery.net; Tom Simpson
Subject: Re: [rancid] Release Authorised RANCID Email Issue
Hi,
I am looking in the /usr/local/rancid/var/logs/networking.... file and I am seeing this error could not read /root/.cloginrc no such file or directory.
How can I correct this? I believe this is why I am not seeing anything in the config files.
Any suggestions is greatly appreciated.
Thanks
Scott
On Wed, Apr 3, 2013 at 8:15 PM, heasley <heas at shrubbery.net<mailto:heas at shrubbery.net>> wrote:
Wed, Apr 03, 2013 at 04:04:46PM -0400, Gilmour, Scott:
> Sorry I have been looking and I am missing something. I would greatly
> appreciate any help you can offer.
try rancid-run networking
else see section 3 of the rancid FAQ.
> I went to the /usr/local/rancid/bin rancid file and added this to the
> @commandtable
> {'show config' => 'WriteTerm'},
> #Main
> {'show controllers cbus' => 'ShowContCbus'},
> {'show diagbus' => 'ShowDiagbus'},
> {'show diag' => 'ShowDiag'},
> {'show capture' => 'ShowCapture'}, # ASA/PIX
> {'show module' => 'ShowModule'}, # cat 6500-ios
> {'show spe version' => 'ShowSpeVersion'},
> {'show c7200' => 'ShowC7200'},
> {'show inventory raw' => 'ShowInventory'},
> {'show vtp status' => 'ShowVTP'},
> {'show vlan' => 'ShowVLAN'},
> {'show vlan-switch' => 'ShowVLAN'},
> {'show debug' => 'ShowDebug'},
> {'show shun' => 'ShowShun'}, # ASA/PIX
> {'more system:running-config' => 'WriteTerm'}, # ASA/PIX
> {'show running-config view full'=> 'WriteTerm'}, # workaround for
> # role-based CLI
> {'show running-config' => 'WriteTerm'},
> {'show config' => 'WriteTerm'},
> {'write term' => 'WriteTerm'},
> );
> Thanks
> Scott
>
>
> On Wed, Apr 3, 2013 at 3:28 PM, heasley <heas at shrubbery.net<mailto:heas at shrubbery.net>> wrote:
>
> > Wed, Apr 03, 2013 at 03:04:05PM -0400, Gilmour, Scott:
> > > Hi
> > > I have followed the directions at:
> > >
> > http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid#.UVG_0BeG32t
> > > Now when I go to /usr/local/rancid/var/networking/configs and look in the
> > > config file the file is empty. How do I get it so I can see the
> > > configuration file present. Do I need to add something to the crontab
> > > file.
> >
> > it must first collect sucessfully. look at the log files for errors, to
> > make sure that it is running successfully. otherwise, it might be a
> > configuration error with rancid.conf or the group's router.db files.
> >
> > > I would like to have the script do a "show support" or "show config"
> >
> > it doesnt support that. you can add it
> >
> > > I am currrently running the script every 5 minutes repeatedly.
> > > Under the Clean out configs differ logs what does the 50 and 23 numbers
> > > represent.
> >
> > i'm not answering that. look at the manpage.
> >
>
>
>
> --
>
> Scott Gilmour | SQA Engineer
>
> Enterasys Networks | A Siemens Enterprise Communications Company
>
> Office: (603) 952-5924<tel:%28603%29%20952-5924>
>
> Email: sgilmour at enterasys.com<mailto:sgilmour at enterasys.com>
--
Scott Gilmour | SQA Engineer
Enterasys Networks | A Siemens Enterprise Communications Company
Office: (603) 952-5924
Email: sgilmour at enterasys.com<mailto:sgilmour at enterasys.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130404/3e3c7a8e/attachment.html>
More information about the Rancid-discuss
mailing list