[rancid] Cisco WLC error in log

Dean Searle DSearle at geminigroup.net
Wed Jun 13 16:56:40 UTC 2012


Hi,

I'm trying to get my Cisco 2504 WLC to talk with RANCID. With the help of the posts from here

http://www.shrubbery.net/pipermail/rancid-discuss/2012-March/006254.html

I have been able to get the router.db and .cloginrc setup correctly. I also have included the information into rancid-fe.

Here is the line in router.db
----
172.x.x.x:cisco-wlc5:up
----

.cloginrc
----
add user 172.x.x.x          {user}
add autoenable 172.x.x.x    1
add password 172.x.x.x      {password}          {password}
add method 172.x.x.x    ssh
----

If I manually do the following it works great:
----
rancid at akuma:~$ bin/clogin 172.x.x.x
172.x.x.x
spawn ssh -c 3des -x -l {user} 172.x.x.x


(Cisco Controller)
User:
Password:***********
(Cisco Controller) >
(Cisco Controller) >show udi

NAME: "Chassis"    , DESCR: "Cisco 2500 Series Wireless LAN Controller"
PID: AIR-CT2504-K9,  VID: V01,  SN:

(Cisco Controller) >show sysinfo

Manufacturer's Name.............................. Cisco Systems Inc.
Product Name..................................... Cisco Controller
Product Version.................................. 7.0.116.0
Bootloader Version............................... 1.0.16
Field Recovery Image Version..................... 1.0.0
Firmware Version................................. PIC 15.0
----

But when I run this:
----
rancid at akuma:~$ bin/rancid-run -r 172.19.141.30
----

I see this in the log:
----
Trying to get all of the configs.
couldn't read file "--^M": no such file or directory
172.x.x.x: missed cmd(s): show sysinfo,show udi,show run-config commands
172.x.x.x: End of run not found
!
=====================================
Getting missed routers: round 1.
couldn't read file "--^M": no such file or directory
172.x.x.x: missed cmd(s): show sysinfo,show udi,show run-config commands
172.x.x.x: End of run not found
!
----

I'm not sure what file it couldn't read.  If you could point me in the right direction it would be greatly appreciated. RANCID is a very nice program and has saved my hide a few times.

Thanks in advance!

Cheers,

-Dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20120613/264a5116/attachment.html>


More information about the Rancid-discuss mailing list