From sbartesaghi at net-project.net Mon May 2 14:38:54 2016 From: sbartesaghi at net-project.net (Stefano Bartesaghi) Date: Mon, 2 May 2016 14:38:54 +0000 Subject: [rancid] Cisco SG-500 configs? Message-ID: > On 05/06/14 15:27, Alexander Bochmann wrote: >> >> Exactly. For example, csbrancid wants to use an "lcli" command upon >> logging >> in that the current SG switches don't know about anymore - they >> expect an >> "enable"... > I'm not an expect expert, but on line 361 of https://github.com/chrpinedo/rancid-cisco-sb/blob/master/src/csblogin I guess this is the start of a conditional, and it tries each possibility in that code block against what it sees. So if there is no menu bit, it never has to send the ^z then lcli and just goes straight for the credentials. Alexd Hi, I've a same problem with login on Cisco Small Business sg500, how do you fix the problem? Can you explain me? Thanks a lot for your support Kind regards Stefano Bartesaghi NETPROJECT T. +39 0313334049 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rancid at ale.cx Tue May 3 10:01:21 2016 From: rancid at ale.cx (Alex DEKKER) Date: Tue, 3 May 2016 11:01:21 +0100 Subject: [rancid] Cisco SG-500 configs? In-Reply-To: References: Message-ID: <572876F1.9060305@ale.cx> On 02/05/16 15:38, Stefano Bartesaghi wrote: > > > On 05/06/14 15:27, Alexander Bochmann wrote: > > >> > > >> Exactly. For example, csbrancid wants to use an "lcli" command upon > > >> logging > > >> in that the current SG switches don't know about anymore - they > > >> expect an > > >> "enable"... > > > Hi, > > I?ve a same problem with login on Cisco Small Business sg500, how do > you fix the problem? Can you explain me? > > Thanks a lot for your support > > Kind regards > > *Stefano Bartesaghi** > *** > I didn't have the problem in the first place, so I didn't have to do anything to fix it. All I did was follow the install instructions at https://github.com/chrpinedo/rancid-cisco-sb . alexd -------------- next part -------------- An HTML attachment was scrubbed... URL: From sbartesaghi at net-project.net Tue May 3 05:43:02 2016 From: sbartesaghi at net-project.net (Stefano Bartesaghi) Date: Tue, 3 May 2016 05:43:02 +0000 Subject: [rancid] I: Re: Cisco SG-500 configs? Message-ID: > On 05/06/14 15:27, Alexander Bochmann wrote: >> >> Exactly. For example, csbrancid wants to use an "lcli" command upon >> logging >> in that the current SG switches don't know about anymore - they >> expect an >> "enable"... > I'm not an expect expert, but on line 361 of https://github.com/chrpinedo/rancid-cisco-sb/blob/master/src/csblogin I guess this is the start of a conditional, and it tries each possibility in that code block against what it sees. So if there is no menu bit, it never has to send the ^z then lcli and just goes straight for the credentials. Alexd Hi, I've a same problem with login on Cisco Small Business sg500, how do you fix the problem? Can you explain me? Thanks a lot for your support Kind regards Stefano Bartesaghi NETPROJECT T. +39 0313334049 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ttom20160401 at gmail.com Wed May 4 10:43:12 2016 From: ttom20160401 at gmail.com (=?UTF-8?B?5rWF6YeO5Yqq?=) Date: Wed, 4 May 2016 19:43:12 +0900 Subject: [rancid] HP2920 Can't login Message-ID: I tried to use RANCID to manage HP2920 procurve switch. I installed RANCID in raspberry pi. (use apt) When executing `rancid-run` but not work. --- sudo cat /var/lib/rancid/logs/HP.20160504.192449 Trying to get all of the configs. hpsw-1 clogin error: Error: Couldn't login hpsw-1: missed cmd(s): show module,write term,show tech transceivers,show stack,show version,show flash,show config files,show system-information,show system information,show config status hpsw-1: End of run not found --- Then I execute 'hlogin', but it does not work. --- pi at raspberrypi:~ $ sudo -u rancid /var/lib/rancid/bin/hlogin hpsw-1 hpsw-1 spawn hpuifilter -- ssh -c 3des -x -l manager hpsw-1 usage: hpuifilter [-hv] [-t timeout] [] [] --- What should I confirm? Please help... -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajeeshvettoor at gmail.com Thu May 5 01:56:21 2016 From: ajeeshvettoor at gmail.com (Ajeesh) Date: Thu, 5 May 2016 07:26:21 +0530 Subject: [rancid] Rancid-discuss Digest, Vol 67, Issue 2 In-Reply-To: References: Message-ID: Hello, I use rancid 3.41 and works on all my devices except Cisco WLC. This is 5508 controller with 8.x is the version. This simply gives end of file not found and not taking backup. It is able to login to the device , but not able to run any command. Can anybody help? On Thu, May 5, 2016 at 1:30 AM, wrote: > Send Rancid-discuss mailing list submissions to > rancid-discuss at shrubbery.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > or, via email, send a message with subject or body 'help' to > rancid-discuss-request at shrubbery.net > > You can reach the person managing the list at > rancid-discuss-owner at shrubbery.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Rancid-discuss digest..." > > > Today's Topics: > > 1. HP2920 Can't login (???) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 4 May 2016 19:43:12 +0900 > From: ??? > To: rancid-discuss at shrubbery.net > Subject: [rancid] HP2920 Can't login > Message-ID: > < > CAJ6C4ZTcJcyjFdyvBDVVxCLe0kZCK_sqkx1s9tLyMtCkUhZmvA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I tried to use RANCID to manage HP2920 procurve switch. > I installed RANCID in raspberry pi. (use apt) > When executing `rancid-run` but not work. > --- > sudo cat /var/lib/rancid/logs/HP.20160504.192449 > > Trying to get all of the configs. > hpsw-1 clogin error: Error: Couldn't login > hpsw-1: missed cmd(s): show module,write term,show tech transceivers,show > stack,show version,show flash,show config files,show > system-information,show system information,show config status > hpsw-1: End of run not found > --- > > Then I execute 'hlogin', but it does not work. > --- > pi at raspberrypi:~ $ sudo -u rancid /var/lib/rancid/bin/hlogin hpsw-1 > hpsw-1 > spawn hpuifilter -- ssh -c 3des -x -l manager hpsw-1 > usage: hpuifilter [-hv] [-t timeout] [] > [] > --- > > What should I confirm? > Please help... > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160504/f03bf6f0/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > > ------------------------------ > > End of Rancid-discuss Digest, Vol 67, Issue 2 > ********************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajeeshvettoor at gmail.com Thu May 5 01:57:49 2016 From: ajeeshvettoor at gmail.com (Ajeesh) Date: Thu, 5 May 2016 07:27:49 +0530 Subject: [rancid] Rancid 3.41 and Cisco WLC with 8.x Message-ID: Sorry , I have just corrected the subject line now. Hello, I use rancid 3.41 and works on all my devices except Cisco WLC. This is 5508 controller with 8.x is the version. This simply gives end of file not found and not taking backup. It is able to login to the device , but not able to run any command. Can anybody help? Regards Ajeesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From pratik.regmi at subisu.net.np Fri May 6 11:18:39 2016 From: pratik.regmi at subisu.net.np (Pratik) Date: Fri, 6 May 2016 17:03:39 +0545 Subject: [rancid] clogin error: Error: password file (/root/.cloginrc) does not exist Message-ID: <572C7D8F.1020608@subisu.net.np> Hello Team, I am getting the error below. This host configuration has not been updated in rancid configs. Can you please help. host.subisu.net.np clogin error: Error: TIMEOUT reached host.subisu.net.np: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,dir /all slavedisk1:,show env all,show module,show controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show running-config,show c7200,dir /all slot1: host: End of run not found -- Regards, *Pratik Regmi** System Administrator* *Subisu Cablenet (P.) Ltd.* Thirbum Sadak, Baluwatar Kathmandu, Nepal www.subisu.net.np -------------- next part -------------- An HTML attachment was scrubbed... URL: From dandenoth at gmail.com Mon May 9 13:44:37 2016 From: dandenoth at gmail.com (Derek) Date: Mon, 9 May 2016 08:44:37 -0500 Subject: [rancid] Rancid stopped working Message-ID: Hello everyone, RANCID has stopped working for me over the weekend. There haven't been any changes made that I am aware of, I just noticed when I got in to work this AM that I had tons of fetch errors showing my devices haven't been contacted for over 24 hours. I checked the logs, and they're all showing this error: "Can't localize lexical variable $dev at /usr/lib/rancid/bin/rancid line 1126." Anyone have any ideas on what I can do to solve this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at biel-tech.com Mon May 9 15:47:54 2016 From: jason at biel-tech.com (Jason Biel) Date: Mon, 9 May 2016 10:47:54 -0500 Subject: [rancid] Rancid stopped working In-Reply-To: References: Message-ID: I'd suggest rolling back the changes made, or investigate line 1126 within your rancid file. Sounds like something wasn't changed properly. On Mon, May 9, 2016 at 10:29 AM, Derek wrote: > None that I'm aware of, however I was told there was a change to the main > rancid file on Friday, so I wonder if that's what caused this. The change > was the one here: > http://www.shrubbery.net/pipermail/rancid-discuss/2014-June/007677.html, > so I'm wondering if that could have caused the issue. I'm currently running > perl 5, version 18, subversion 2 (v5.18.2) > > > > On Mon, May 9, 2016 at 9:56 AM, Jason Biel wrote: > >> Any updates to Perl? >> >> On Mon, May 9, 2016 at 8:44 AM, Derek wrote: >> >>> Hello everyone, >>> >>> RANCID has stopped working for me over the weekend. There haven't been >>> any changes made that I am aware of, I just noticed when I got in to work >>> this AM that I had tons of fetch errors showing my devices haven't been >>> contacted for over 24 hours. I checked the logs, and they're all showing >>> this error: >>> >>> "Can't localize lexical variable $dev at /usr/lib/rancid/bin/rancid line >>> 1126." >>> >>> >>> Anyone have any ideas on what I can do to solve this? >>> >>> >>> _______________________________________________ >>> Rancid-discuss mailing list >>> Rancid-discuss at shrubbery.net >>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>> >> >> >> >> -- >> Jason >> > > -- Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at biel-tech.com Mon May 9 14:56:48 2016 From: jason at biel-tech.com (Jason Biel) Date: Mon, 9 May 2016 09:56:48 -0500 Subject: [rancid] Rancid stopped working In-Reply-To: References: Message-ID: Any updates to Perl? On Mon, May 9, 2016 at 8:44 AM, Derek wrote: > Hello everyone, > > RANCID has stopped working for me over the weekend. There haven't been any > changes made that I am aware of, I just noticed when I got in to work this > AM that I had tons of fetch errors showing my devices haven't been > contacted for over 24 hours. I checked the logs, and they're all showing > this error: > > "Can't localize lexical variable $dev at /usr/lib/rancid/bin/rancid line > 1126." > > > Anyone have any ideas on what I can do to solve this? > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -- Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hitesh.Vinzoda at cerberusnetworks.co.uk Wed May 11 07:03:07 2016 From: Hitesh.Vinzoda at cerberusnetworks.co.uk (Hitesh Vinzoda) Date: Wed, 11 May 2016 07:03:07 +0000 Subject: [rancid] Fortigate 5.0.9 Problems Message-ID: <8bd70d5307754cba9df3a2e02dbecf04@GF-EX02.cerberusnetworks.co.uk> Hi all, We are facing the same issues with 5.0.9 Fortigate where RANCID does reformatting of whitespaces and the full configuration is not backed up. I think this is related to whitespaces in the fnlogin when ?=more=? is seen in the terminal. Any pointers will be helpful. #RANCID-CONTENT-TYPE: fortigate #Version: FortiGate-200D v5.0,build0292,140801 (GA Patch 9) #IPS-ETDB: 0.00000(2001-01-01 00:00) #Serial-Number: FG200D4614808124 #Botnet DB: 2.00913(2016-05-10 10:00) #BIOS version: 05000004 #System Part-Number: P11545-05 #Log hard disk: Available #Internal Switch mode: interface #Hostname: THN-FW05 #Operation Mode: NAT #Current virtual domain: root #Max number of virtual domains: 10 #Virtual domains status: 7 in NAT mode, 0 in TP mode #Virtual domain configuration: enable #FIPS-CC mode: disable #Current HA mode: a-a, master #Branch point: 292 #Release Version Information: GA Patch 9 #FortiOS x86-64: Yes #config-version=FG200D-5.00-FW-build292-140801:opmode=0:vdom=1:user=amsrancid #buildno=0292 #global_vdom=1 config vdom edit root next edit ABC next edit XYZ next edit PQR next edit MNV next edit UVW next edit BMX next end config global config system global --More-- set admin-concurrent enable --More-- Thanks Hitesh Hitesh Vinzoda Technical Support Manager | Senior Network Engineer Cerberus Networks Ltd DDI: +44 (0)20 8432 7281 Tel: +44 (0)345 257 1333 hitesh.vinzoda at cerberusnetworks.co.uk | www.cerberusnetworks.co.uk Cerberus Networks Ltd, 9 Walmgate Road, Greenford, Middlesex, UB6 7LH, UK Registered in England and Wales No. 05734067, VAT No. 879 2864 56 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajeeshvettoor at gmail.com Thu May 12 02:02:45 2016 From: ajeeshvettoor at gmail.com (Ajeesh) Date: Thu, 12 May 2016 07:32:45 +0530 Subject: [rancid] Rancid-discuss Digest, Vol 67, Issue 6 In-Reply-To: References: Message-ID: Hello, To avoid white space / ?=more=? you can set the console output format to standard. This will give the output without making the output as pages. FG # config system console FG (console) # set output standard FG (console) # end FG # show system console config system console set output standard end On Thu, May 12, 2016 at 1:30 AM, wrote: > Send Rancid-discuss mailing list submissions to > rancid-discuss at shrubbery.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > or, via email, send a message with subject or body 'help' to > rancid-discuss-request at shrubbery.net > > You can reach the person managing the list at > rancid-discuss-owner at shrubbery.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Rancid-discuss digest..." > > > Today's Topics: > > 1. Fortigate 5.0.9 Problems (Hitesh Vinzoda) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 11 May 2016 07:03:07 +0000 > From: Hitesh Vinzoda > To: "rancid-discuss at shrubbery.net" > Subject: [rancid] Fortigate 5.0.9 Problems > Message-ID: > <8bd70d5307754cba9df3a2e02dbecf04 at GF-EX02.cerberusnetworks.co.uk> > Content-Type: text/plain; charset="utf-8" > > Hi all, > > We are facing the same issues with 5.0.9 Fortigate where RANCID does > reformatting of whitespaces and the full configuration is not backed up. > > I think this is related to whitespaces in the fnlogin when ?=more=? is > seen in the terminal. > > Any pointers will be helpful. > > > #RANCID-CONTENT-TYPE: fortigate > > #Version: FortiGate-200D v5.0,build0292,140801 (GA Patch 9) > #IPS-ETDB: 0.00000(2001-01-01 00:00) > #Serial-Number: FG200D4614808124 > #Botnet DB: 2.00913(2016-05-10 10:00) > #BIOS version: 05000004 > #System Part-Number: P11545-05 > #Log hard disk: Available > #Internal Switch mode: interface > #Hostname: THN-FW05 > #Operation Mode: NAT > #Current virtual domain: root > #Max number of virtual domains: 10 > #Virtual domains status: 7 in NAT mode, 0 in TP mode > #Virtual domain configuration: enable > #FIPS-CC mode: disable > #Current HA mode: a-a, master > #Branch point: 292 > #Release Version Information: GA Patch 9 > #FortiOS x86-64: Yes > > > #config-version=FG200D-5.00-FW-build292-140801:opmode=0:vdom=1:user=amsrancid > #buildno=0292 > #global_vdom=1 > config vdom > edit root > next > edit ABC > next > edit XYZ > next > edit PQR > next > edit MNV > next > edit UVW > next > edit BMX > next > end > config global > config system global > --More-- set admin-concurrent enable > --More-- > > > Thanks > Hitesh > > > > Hitesh Vinzoda > > Technical Support Manager | Senior Network Engineer > > Cerberus Networks Ltd > > > > DDI: +44 (0)20 8432 7281 > > Tel: +44 (0)345 257 1333 > > > > hitesh.vinzoda at cerberusnetworks.co.uk | www.cerberusnetworks.co.uk > > > > Cerberus Networks Ltd, 9 Walmgate Road, Greenford, Middlesex, UB6 7LH, UK > Registered in England and Wales No. 05734067, VAT No. 879 2864 56 > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160511/bb905e84/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > > ------------------------------ > > End of Rancid-discuss Digest, Vol 67, Issue 6 > ********************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hitesh.Vinzoda at cerberusnetworks.co.uk Thu May 12 06:28:51 2016 From: Hitesh.Vinzoda at cerberusnetworks.co.uk (Hitesh Vinzoda) Date: Thu, 12 May 2016 06:28:51 +0000 Subject: [rancid] Rancid-discuss Digest, Vol 67, Issue 6 In-Reply-To: References: Message-ID: Hi Ajeesh, That worked and we now have the backup of config. Thanks for your help Hitesh From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Ajeesh Sent: Thursday, May 12, 2016 07:33 AM To: rancid-discuss at shrubbery.net Subject: Re: [rancid] Rancid-discuss Digest, Vol 67, Issue 6 Hello, To avoid white space / ?=more=? you can set the console output format to standard. This will give the output without making the output as pages. FG # config system console FG (console) # set output standard FG (console) # end FG # show system console config system console set output standard end On Thu, May 12, 2016 at 1:30 AM, > wrote: Send Rancid-discuss mailing list submissions to rancid-discuss at shrubbery.net To subscribe or unsubscribe via the World Wide Web, visit http://www.shrubbery.net/mailman/listinfo/rancid-discuss or, via email, send a message with subject or body 'help' to rancid-discuss-request at shrubbery.net You can reach the person managing the list at rancid-discuss-owner at shrubbery.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Rancid-discuss digest..." Today's Topics: 1. Fortigate 5.0.9 Problems (Hitesh Vinzoda) ---------------------------------------------------------------------- Message: 1 Date: Wed, 11 May 2016 07:03:07 +0000 From: Hitesh Vinzoda > To: "rancid-discuss at shrubbery.net" > Subject: [rancid] Fortigate 5.0.9 Problems Message-ID: <8bd70d5307754cba9df3a2e02dbecf04 at GF-EX02.cerberusnetworks.co.uk> Content-Type: text/plain; charset="utf-8" Hi all, We are facing the same issues with 5.0.9 Fortigate where RANCID does reformatting of whitespaces and the full configuration is not backed up. I think this is related to whitespaces in the fnlogin when ?=more=? is seen in the terminal. Any pointers will be helpful. #RANCID-CONTENT-TYPE: fortigate #Version: FortiGate-200D v5.0,build0292,140801 (GA Patch 9) #IPS-ETDB: 0.00000(2001-01-01 00:00) #Serial-Number: FG200D4614808124 #Botnet DB: 2.00913(2016-05-10 10:00) #BIOS version: 05000004 #System Part-Number: P11545-05 #Log hard disk: Available #Internal Switch mode: interface #Hostname: THN-FW05 #Operation Mode: NAT #Current virtual domain: root #Max number of virtual domains: 10 #Virtual domains status: 7 in NAT mode, 0 in TP mode #Virtual domain configuration: enable #FIPS-CC mode: disable #Current HA mode: a-a, master #Branch point: 292 #Release Version Information: GA Patch 9 #FortiOS x86-64: Yes #config-version=FG200D-5.00-FW-build292-140801:opmode=0:vdom=1:user=amsrancid #buildno=0292 #global_vdom=1 config vdom edit root next edit ABC next edit XYZ next edit PQR next edit MNV next edit UVW next edit BMX next end config global config system global --More-- set admin-concurrent enable --More-- Thanks Hitesh Hitesh Vinzoda Technical Support Manager | Senior Network Engineer Cerberus Networks Ltd DDI: +44 (0)20 8432 7281 Tel: +44 (0)345 257 1333 hitesh.vinzoda at cerberusnetworks.co.uk | www.cerberusnetworks.co.uk Cerberus Networks Ltd, 9 Walmgate Road, Greenford, Middlesex, UB6 7LH, UK Registered in England and Wales No. 05734067, VAT No. 879 2864 56 -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Subject: Digest Footer _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss ------------------------------ End of Rancid-discuss Digest, Vol 67, Issue 6 ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From ratha018 at gmail.com Thu May 12 03:43:26 2016 From: ratha018 at gmail.com (Ratha Heng) Date: Thu, 12 May 2016 10:43:26 +0700 Subject: [rancid] Request for help - rancid Message-ID: Dear Sire, I am HENG Ratha, work as System Engineer who one who use rancid. Firstly I would like to say sorry that bother you.I just have something to ask you, while I implement it I face some problem and I would like to ask some document relate to install and configure rancind 3.4.1 in CentOS Linux release 7.2.1511 (Core). I really need it in urgent. Hopefully you can help me. I am looking forward to hearing from you soon. Thank in advance! Best regards, *HENG Ratha (Mr.)* *NTC* *System Engineer* *Tel: (+855) 97 6445 236 (+855) 15 404 336* -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Thu May 12 21:13:10 2016 From: heas at shrubbery.net (heasley) Date: Thu, 12 May 2016 21:13:10 +0000 Subject: [rancid] Fortigate 5.0.9 Problems In-Reply-To: <8bd70d5307754cba9df3a2e02dbecf04@GF-EX02.cerberusnetworks.co.uk> References: <8bd70d5307754cba9df3a2e02dbecf04@GF-EX02.cerberusnetworks.co.uk> Message-ID: <20160512211310.GL4313@shrubbery.net> Wed, May 11, 2016 at 07:03:07AM +0000, Hitesh Vinzoda: > Hi all, > > We are facing the same issues with 5.0.9 Fortigate where RANCID does reformatting of whitespaces and the full configuration is not backed up. > > I think this is related to whitespaces in the fnlogin when ?=more=? is seen in the terminal. > > Any pointers will be helpful. fnlogin sends config system console set output standard end to disable the pager. why isnt that working? > > #RANCID-CONTENT-TYPE: fortigate > > #Version: FortiGate-200D v5.0,build0292,140801 (GA Patch 9) > #IPS-ETDB: 0.00000(2001-01-01 00:00) > #Serial-Number: FG200D4614808124 > #Botnet DB: 2.00913(2016-05-10 10:00) > #BIOS version: 05000004 > #System Part-Number: P11545-05 > #Log hard disk: Available > #Internal Switch mode: interface > #Hostname: THN-FW05 > #Operation Mode: NAT > #Current virtual domain: root > #Max number of virtual domains: 10 > #Virtual domains status: 7 in NAT mode, 0 in TP mode > #Virtual domain configuration: enable > #FIPS-CC mode: disable > #Current HA mode: a-a, master > #Branch point: 292 > #Release Version Information: GA Patch 9 > #FortiOS x86-64: Yes > > #config-version=FG200D-5.00-FW-build292-140801:opmode=0:vdom=1:user=amsrancid > #buildno=0292 > #global_vdom=1 > config vdom > edit root > next > edit ABC > next > edit XYZ > next > edit PQR > next > edit MNV > next > edit UVW > next > edit BMX > next > end > config global > config system global > --More-- set admin-concurrent enable > --More-- > > > Thanks > Hitesh > > > > Hitesh Vinzoda > > Technical Support Manager | Senior Network Engineer > > Cerberus Networks Ltd > > > > DDI: +44 (0)20 8432 7281 > > Tel: +44 (0)345 257 1333 > > > > hitesh.vinzoda at cerberusnetworks.co.uk | www.cerberusnetworks.co.uk > > > > Cerberus Networks Ltd, 9 Walmgate Road, Greenford, Middlesex, UB6 7LH, UK > Registered in England and Wales No. 05734067, VAT No. 879 2864 56 > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From MichaelMcGregor at umpquabank.com Thu May 12 21:29:02 2016 From: MichaelMcGregor at umpquabank.com (Michael McGregor) Date: Thu, 12 May 2016 21:29:02 +0000 Subject: [rancid] Request for help - rancid In-Reply-To: References: Message-ID: <9b000019f13d4600b2e40ab36a88d85f@v0905a231.sterlingsavings.com> Here is the set up I just used to install a clean build of an older version of Rancid * yum -y install expect * yum groupinstall "Development tools" * groupadd netadm * useradd -g netadm -c "Networking Backups" -d /usr/local/rancid rancid * mkdir /usr/local/rancid/tar * cd /usr/local/rancid/tar * wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.8.tar.gz (SCP from another box if FTP is blocked) * tar -xvzf rancid-2.3.8.tar.gz * cd rancid-2.3.8 * ./configure --prefix=/usr/local/rancid/ * make install * cp cloginrc.sample /usr/local/rancid/.cloginrc * chmod 0640 /usr/local/rancid/.cloginrc * chown -R rancid:netadm /usr/local/rancid/ * chmod 770 /usr/local/rancid/ mike mcgregor it network engineer technology advancement group office: 509-842-9111 Web | Facebook | Twitter From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Ratha Heng Sent: Wednesday, May 11, 2016 8:43 PM To: rancid-announce at shrubbery.net; rancid-discuss at shrubbery.net Subject: [rancid] Request for help - rancid [External Email] Dear Sire, I am HENG Ratha, work as System Engineer who one who use rancid. Firstly I would like to say sorry that bother you.I just have something to ask you, while I implement it I face some problem and I would like to ask some document relate to install and configure rancind 3.4.1 in CentOS Linux release 7.2.1511 (Core). I really need it in urgent. Hopefully you can help me. I am looking forward to hearing from you soon. Thank in advance! Best regards, HENG Ratha (Mr.) NTC System Engineer Tel: (+855) 97 6445 236 (+855) 15 404 336 CONFIDENTIALITY NOTICE: This electronic mail transmission may contain legally privileged, confidential information belonging to the sender. The information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action based on the contents of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please contact sender and delete all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.hayot at inalco.fr Fri May 13 07:30:31 2016 From: alain.hayot at inalco.fr (hayot alain) Date: Fri, 13 May 2016 09:30:31 +0200 (CEST) Subject: [rancid] Request for help - rancid In-Reply-To: <9b000019f13d4600b2e40ab36a88d85f@v0905a231.sterlingsavings.com> References: <9b000019f13d4600b2e40ab36a88d85f@v0905a231.sterlingsavings.com> Message-ID: <2081840454.31097.1463124631011.JavaMail.zimbra@inalco.fr> Hello, have someone installed GIT with RANCID ? have you a documentation for this installation ? thanks you ----- Alain HAYOT Responsable R?seau INALCO - LANGUES'O 65 rue des grands moulins 75013 Paris t?l?phone bureau : 01 81 70 10 74 ----- Mail original ----- De: "Michael McGregor" ?: "Ratha Heng" , rancid-announce at shrubbery.net, rancid-discuss at shrubbery.net Envoy?: Jeudi 12 Mai 2016 23:29:02 Objet: Re: [rancid] Request for help - rancid Here is the set up I just used to install a clean build of an older version of Rancid * yum -y install expect * yum groupinstall "Development tools" * groupadd netadm * useradd -g netadm -c "Networking Backups" -d /usr/local/rancid rancid * mkdir /usr/local/rancid/tar * cd /usr/local/rancid/tar * wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.8.tar.gz (SCP from another box if FTP is blocked) * tar -xvzf rancid-2.3.8.tar.gz * cd rancid-2.3.8 * ./configure --prefix=/usr/local/rancid/ * make install * cp cloginrc.sample /usr/local/rancid/.cloginrc * chmod 0640 /usr/local/rancid/.cloginrc * chown -R rancid:netadm /usr/local/rancid/ * chmod 770 /usr/local/rancid/ mike mcgregor it network engineer technology advancement group office: 509-842-9111 Web | Facebook | Twitter From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Ratha Heng Sent: Wednesday, May 11, 2016 8:43 PM To: rancid-announce at shrubbery.net; rancid-discuss at shrubbery.net Subject: [rancid] Request for help - rancid [External Email] Dear Sire, I am HENG Ratha, work as System Engineer who one who use rancid. Firstly I would like to say sorry that bother you.I just have something to ask you, while I implement it I face some problem and I would like to ask some document relate to install and configure rancind 3.4.1 in CentOS Linux release 7.2.1511 (Core). I really need it in urgent. Hopefully you can help me. I am looking forward to hearing from you soon. Thank in advance! Best regards, HENG Ratha (Mr.) NTC System Engineer Tel: (+855) 97 6445 236 (+855) 15 404 336 CONFIDENTIALITY NOTICE: This electronic mail transmission may contain legally privileged, confidential information belonging to the sender. The information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action based on the contents of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please contact sender and delete all copies. _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From cedric.bassaget.ml at gmail.com Thu May 19 15:04:03 2016 From: cedric.bassaget.ml at gmail.com (=?UTF-8?B?Q8OpZHJpYyBC?=) Date: Thu, 19 May 2016 17:04:03 +0200 Subject: [rancid] Rancid and dell powerconnect switches Message-ID: <573DD5E3.5070506@gmail.com> Hello, I can't make rancid work with my dell powerconnect switches (m6220 / m6348). I'm stuck at dlogin level. Here's what I've done : Downloaded dlogin from http://web.rickyninja.net:81/rancid/ (quite old...). Configured .cloginrc with : add password sw-dell-m1000-* {pass} {enable#pass} add enableprompt sw-dell-m1000-* {".*>"} method is ssh and user is rancid. when I do a dlogin : rancid$ LANG=C bin/dlogin -f .cloginrc sw-dell-m1000-a1 sw-dell-m1000-a1 spawn ssh -c 3des -x -l rancid sw-dell-m1000-a1 rancid at sw-dell-m1000-a1's password: A1-M6220>enable Password: Error: TIMEOUT reached can not find channel named "exp6" while executing "send $send_this" (procedure "dsend" line 4) invoked from within "dsend "\r"" ("foreach" body line 123) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out the prompt. # autoenabl..." (file "bin/dlogin" line 660) I've tried to set autoenable to 0 or 1 in .cloginrc : changes nothing, same result. I've also tried this : http://www.shrubbery.net/pipermail/rancid-discuss/2015-October/008721.html Any idea about what's wrong in my config ? Regards From schoenam at lafayette.edu Thu May 19 16:52:19 2016 From: schoenam at lafayette.edu (Schoenagel, Michael) Date: Thu, 19 May 2016 12:52:19 -0400 (EDT) Subject: [rancid] Trouble logging into new Cisco MDS9148 Message-ID: <549969450.29175695.1463676739369.JavaMail.zimbra@lafayette.edu> We just replaced an old MDS9124 with a new MDS9148 switch and now rancid is having trouble logging in with ssh. WE receive this error: [root at horcrux0 PROD S schoenam]# clogin -f /var/rancid/.cloginrc -t 90 -c "sh ver" 172.20.64.36 172.20.64.36 spawn ssh -c 3des -x -l rancid 172.20.64.36 no matching cipher found: client 3des-cbc server aes128-ctr,aes192-ctr,aes256-ctr Error: Couldn't login: 172.20.64.36 Can these ciphers be added? Thanks, Michael Schoenagel From Ryan.Jones at mlb.com Fri May 20 14:17:19 2016 From: Ryan.Jones at mlb.com (Jones, Ryan) Date: Fri, 20 May 2016 14:17:19 +0000 Subject: [rancid] rancid 300 emails Message-ID: Hey Folks, Ever since upgrading to Rancid 3.x I?ve been struggling with rancid sending too many emails, about 300 every time it runs. I?ve customized the @commandtable so that rancid only does a show run, that helped greatly with cleaning up the ACS logs. The only issue that remains is the email count, it seems as though rancid runs the backups more than once. I have the cron set to run once at 3am. Been cruising this list for weeks looking for answers and I haven?t seen anything about this particular issue. Thanks Ryan ********************************************************** MLB.com - Where Baseball is Always On. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ratha018 at gmail.com Fri May 27 06:53:59 2016 From: ratha018 at gmail.com (Ratha Heng) Date: Fri, 27 May 2016 13:53:59 +0700 Subject: [rancid] Request for help - rancid In-Reply-To: References: <9b000019f13d4600b2e40ab36a88d85f@v0905a231.sterlingsavings.com> Message-ID: Dear Michael McGregor, I am sorry that bother you again. I really need you help again after I install it completed I meet one from relate configure it. I use rancind 3.4.1 when I configure to back network device configuration I meed this message error: Trying to get all of the configs. 192.168.0.1: missed cmd(s): all commands 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 192.168.0.1 End of run not found ! ===================================== Getting missed routers: round 1. 192.168.0.1: missed cmd(s): all commands 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 192.168.0.1 End of run not found ! ===================================== Getting missed routers: round 2. 192.168.0.1: missed cmd(s): all commands 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 192.168.0.1 End of run not found ! ===================================== Getting missed routers: round 3. 192.168.0.1: missed cmd(s): all commands 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 192.168.0.1 End of run not found ! ===================================== Getting missed routers: round 4. 192.168.0.1: missed cmd(s): all commands 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 192.168.0.1 End of run not found I use tacacs user and password configure in .clogin file. Could you help me to fix it pleas? I really need it in urgent.Thanks in advance! I am looking forward to hearing from you soon Best Regards, *HENG Ratha (Mr.)* *System Engineer * *Tel: (+855) 97 6445 236 (+855) 15 404 336* On Tue, May 17, 2016 at 3:02 PM, Ratha Heng wrote: > Dear Michael McGregor, > > Many thanks for your good support. It has done now. I am sorry for being > late to reply your mail because it was my holiday for me. > > Thanks! > > Best Regards, > > *HENG Ratha (Mr.)* > *neocomisp* > > *System Engineer * > > > *Tel: (+855) 97 6445 236 <%28%2B855%29%2097%206445%20236> (+855) 15 > 404 336 <%28%2B855%29%2015%20404%20336>* > > On Fri, May 13, 2016 at 4:29 AM, Michael McGregor < > MichaelMcGregor at umpquabank.com> wrote: > >> Here is the set up I just used to install a clean build of an older >> version of Rancid >> >> - yum -y install expect >> - yum groupinstall "Development tools" >> - groupadd netadm >> - useradd -g netadm -c "Networking Backups" -d /usr/local/rancid >> rancid >> - mkdir /usr/local/rancid/tar >> - cd /usr/local/rancid/tar >> - wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.8.tar.gz (SCP >> from another box if FTP is blocked) >> - tar -xvzf rancid-2.3.8.tar.gz >> - cd rancid-2.3.8 >> - ./configure --prefix=/usr/local/rancid/ >> - make install >> - cp cloginrc.sample /usr/local/rancid/.cloginrc >> - chmod 0640 /usr/local/rancid/.cloginrc >> - chown -R rancid:netadm /usr/local/rancid/ >> - chmod 770 /usr/local/rancid/ >> >> >> >> >> >> mike mcgregor >> it network engineer >> technology advancement group >> >> office: 509-842-9111 >> >> Web >> >> | Facebook >> >> | Twitter >> >> >> >> >> *From:* Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] *On >> Behalf Of *Ratha Heng >> *Sent:* Wednesday, May 11, 2016 8:43 PM >> *To:* rancid-announce at shrubbery.net; rancid-discuss at shrubbery.net >> *Subject:* [rancid] Request for help - rancid >> >> >> >> [External Email] >> >> Dear Sire, >> >> I am HENG Ratha, work as System Engineer who one who use rancid. Firstly >> I would like to say sorry that bother you.I just have something to ask you, >> while I implement it I face some problem and I would like to ask some >> document relate to install and configure rancind 3.4.1 in CentOS Linux >> release 7.2.1511 (Core). >> I really need it in urgent. Hopefully you can help me. >> >> I am looking forward to hearing from you soon. >> >> Thank in advance! >> >> Best regards, >> >> *HENG Ratha (Mr.)* >> >> *NTC* >> >> *System Engineer* >> >> >> *Tel: (+855) 97 6445 236 <%28%2B855%29%2097%206445%20236> (+855) >> 15 404 336 <%28%2B855%29%2015%20404%20336>* >> CONFIDENTIALITY NOTICE: This electronic mail transmission may contain >> legally privileged, confidential information belonging to the sender. The >> information is intended only for the use of the individual or entity named >> above. If you are not the intended recipient, you are hereby notified that >> any disclosure, copying, distribution or taking any action based on the >> contents of this electronic mail is strictly prohibited. If you have >> received this electronic mail in error, please contact sender and delete >> all copies. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Fri May 27 07:42:41 2016 From: heas at shrubbery.net (John Heasley) Date: Fri, 27 May 2016 09:42:41 +0200 Subject: [rancid] Request for help - rancid In-Reply-To: References: <9b000019f13d4600b2e40ab36a88d85f@v0905a231.sterlingsavings.com> Message-ID: <68C8FB18-55FB-4839-9A80-0974FB95C8F1@shrubbery.net> Am 27.05.2016 um 08:53 schrieb Ratha Heng : > > Dear Michael McGregor, > > I am sorry that bother you again. I really need you help again after I install it completed I meet one from relate configure it. I use rancind 3.4.1 when I configure to back network device configuration I meed this message error: > > Trying to get all of the configs. > > 192.168.0.1: missed cmd(s): all commands > 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 > 192.168.0.1 End of run not found > ! > ===================================== > Getting missed routers: round 1. > 192.168.0.1: missed cmd(s): all commands > 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 > 192.168.0.1 End of run not found > ! > ===================================== > Getting missed routers: round 2. > 192.168.0.1: missed cmd(s): all commands > 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 > 192.168.0.1 End of run not found > ! > ===================================== > Getting missed routers: round 3. > 192.168.0.1: missed cmd(s): all commands > 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 > 192.168.0.1 End of run not found > ! > ===================================== > Getting missed routers: round 4. > 192.168.0.1: missed cmd(s): all commands > 192.168.0.1 clogin error: Error: Check your passwd for 192.168.0.1 > 192.168.0.1 End of run not found > > I use tacacs user and password configure in .clogin file. Incorrectly, Apparently. See section 3 of the FAQ and cloginrc(5). -------------- next part -------------- An HTML attachment was scrubbed... URL: From mahepillaveetil at gmail.com Tue May 24 22:07:32 2016 From: mahepillaveetil at gmail.com (Mahesh Raghunandanan) Date: Tue, 24 May 2016 15:07:32 -0700 (PDT) Subject: [rancid] Clarification regarding using git-remote in latest rancid release-3.4.1 Message-ID: <3e1ffe39-5558-429c-b5ac-fa6255cdd36a@googlegroups.com> Hey Folks, I am pretty new to rancid. Have been assigned the task to take backups of our networking devices via rancid and use git as revision system. I have already played around using rancid using svn and it works as expected and creates local checkouts and emails me the differences if any changes has happened in configs on my devices. I am happy with this. But I need to accomplish it using git and push all the configurations to my remote GITLAB. I have created a new project rancid.git in my GITLAB (remote-host) account. So, I need to configure rancid in such a way, that all configurations are automatically pushed to GITLAB instead of local checkouts. I read somewhere that in Rancid-2.3.6, there was a patch called git-remote which accomplishes this task. But in the latest rancid release, 3.4.1, I tried , it doesn't work. Any experts here, who have configured rancid-3.4.1 using git and changes being pushed to GITLAB. Your thoughts are much appreciated. Best Regards, Mahesh R -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Sat May 28 20:27:15 2016 From: heas at shrubbery.net (heasley) Date: Sat, 28 May 2016 20:27:15 +0000 Subject: [rancid] Clarification regarding using git-remote in latest rancid release-3.4.1 In-Reply-To: <3e1ffe39-5558-429c-b5ac-fa6255cdd36a@googlegroups.com> References: <3e1ffe39-5558-429c-b5ac-fa6255cdd36a@googlegroups.com> Message-ID: <20160528202715.GB47422@shrubbery.net> Tue, May 24, 2016 at 03:07:32PM -0700, Mahesh Raghunandanan: > I read somewhere that in Rancid-2.3.6, there was a patch called git-remote > which accomplishes this task. But in the latest rancid release, 3.4.1, I > tried , it doesn't work. > > Any experts here, who have configured rancid-3.4.1 using git and changes > being pushed to GITLAB. 3.4.1 with git works for me. "it doesnt work" provides zero information for anyone to help you. what doesn not work? it doesnt diff? doesnt commit? doesnt pull configs from devices? what are the errors? From heas at shrubbery.net Sun May 29 10:40:58 2016 From: heas at shrubbery.net (heasley) Date: Sun, 29 May 2016 10:40:58 +0000 Subject: [rancid] Clarification regarding using git-remote in latest rancid release-3.4.1 In-Reply-To: References: <3e1ffe39-5558-429c-b5ac-fa6255cdd36a@googlegroups.com> <20160528202715.GB47422@shrubbery.net> Message-ID: <20160529104058.GB65371@shrubbery.net> Sat, May 28, 2016 at 09:17:33PM -0500, Jason Biel: > https://books.google.com/books?id=GYAQAgAAQBAJ&pg=PA3&lpg=PA3&dq=rancid+git+remote&source=bl&ots=5eKwh8MSX8&sig=xBW3wlqwixl8ewuqslzCeIbPwcU&hl=en&sa=X&ved=0ahUKEwiSzayzm_7MAhVPTlIKHXhdBLM4ChDoAQhCMAY#v=onepage&q&f=false > > There is a good example. Indeed, that is a good example. From jason at biel-tech.com Sun May 29 02:17:33 2016 From: jason at biel-tech.com (Jason Biel) Date: Sat, 28 May 2016 21:17:33 -0500 Subject: [rancid] Clarification regarding using git-remote in latest rancid release-3.4.1 In-Reply-To: <20160528202715.GB47422@shrubbery.net> References: <3e1ffe39-5558-429c-b5ac-fa6255cdd36a@googlegroups.com> <20160528202715.GB47422@shrubbery.net> Message-ID: https://books.google.com/books?id=GYAQAgAAQBAJ&pg=PA3&lpg=PA3&dq=rancid+git+remote&source=bl&ots=5eKwh8MSX8&sig=xBW3wlqwixl8ewuqslzCeIbPwcU&hl=en&sa=X&ved=0ahUKEwiSzayzm_7MAhVPTlIKHXhdBLM4ChDoAQhCMAY#v=onepage&q&f=false There is a good example. On Sat, May 28, 2016 at 3:27 PM, heasley wrote: > Tue, May 24, 2016 at 03:07:32PM -0700, Mahesh Raghunandanan: > > I read somewhere that in Rancid-2.3.6, there was a patch called > git-remote > > which accomplishes this task. But in the latest rancid release, 3.4.1, I > > tried , it doesn't work. > > > > Any experts here, who have configured rancid-3.4.1 using git and changes > > being pushed to GITLAB. > > 3.4.1 with git works for me. "it doesnt work" provides zero information > for anyone to help you. what doesn not work? it doesnt diff? doesnt > commit? doesnt pull configs from devices? what are the errors? > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -- Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: