[rancid] powerconnect problem
Ron Whitney
ron.whitney at doitbest.com
Fri Feb 4 18:43:36 UTC 2011
Not sure if this is relevant but on my Powerconnect switches, I created user 'rancid' as a privledged (15) user. I then configured 'add autoenable <device> 1' to my .cloginrc file. This avoids the 'enable' command which may be causing your issue. Just a thought.
Ron Whitney
Network Administrator
Do it Best Corp. | 6502 Nelson Road | Fort Wayne, IN 46803
260.748.5657 (direct) | 260.748.5623 (fax)
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of
> Angelo Höngens
> Sent: Friday, February 04, 2011 13:24
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] powerconnect problem
>
>
> Hey,
>
> I'm running rancid 2.3.6 on CentOS5.5..
>
> I was running on old version of rancid, which worked
> perfectly for over a year, but I was stupid enough to break
> it. (I trashed the vm and installed a new clean CentOS
> machine to start fresh)
>
> I'm monitoring cisco, hp and dell devices. Cisco and HP work
> fine, but I have some problems with my dell devices
> (PowerConnect 6224 switches). I'm running Ricky Ninja's
> dlogin and drancid scripts, the latest on his site.
>
> When I run dlogin interactively, it works fine:
>
> -----------------------------------------------------
> [rancid at til-bak-02 logs]$ dlogin -c "show ver"
> wol-swi-a1.weeronlinecolo.local
> wol-swi-a1.weeronlinecolo.local spawn ssh -c 3des -x -l root
> wol-swi-a1.weeronlinecolo.local
> root at wol-swi-a1.weeronlinecolo.local's password:
>
> console>enable
>
> console#
> console#show ver
>
> <..bla, correct output..]
>
> 1 2.2.0.3 2.2.0.3 image1 image1
> 2 2.2.0.3 2.2.0.3 image1 image1
>
> console#exit
>
> console>exit
> ^
> % Invalid input detected at '^' marker.
>
> console>quitReceived disconnect from 10.216.254.181: 11: Logout
> [rancid at til-bak-02 logs]$
> -----------------------------------------------------
> As you can see, the command exits nicely (it sends an 'exit',
> and when that gives an error it send a 'quit').
>
>
> Hoewever, when running from rancid-run, it seems to hang.
> When I tail the logfile, I see it logs in to the switch, it
> sends the enable command, and then.. nothing, everything just hangs:
>
> -----------------------------------------------------
> wol-swi-a1.weeronlinecolo.local
> spawn ssh -c 3des -x -l root wol-swi-a1.weeronlinecolo.local
> root at wol-swi-a1.weeronlinecolo.local's password:
>
> console>enable
>
> console#
> console#
> -----------------------------------------------------
>
> Does anyone have any clever ideas?
>
> --
>
>
> With kind regards,
>
>
> Angelo Höngens
> systems administrator
>
> MCSE on Windows 2003
> MCSE on Windows 2000
> MS Small Business Specialist
> ------------------------------------------
> NetMatch
> tourism internet software solutions
>
> Ringbaan Oost 2b
> 5013 CA Tilburg
> +31 (0)13 5811088
> +31 (0)13 5821239
>
> A.Hongens at netmatch.nl
> www.netmatch.nl
> ------------------------------------------
>
>
> _______________________________________________
> 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