[rancid] error running rancid Cisco WLC

93 views
Skip to first unread message

Raymond, David

unread,
May 31, 2011, 4:56:35 PM5/31/11
to rancid-...@shrubbery.net

Hi all,

 

I read this post to try fixing my issue. http://www.gossamer-threads.com/lists/rancid/users/5435?do=post_view_threaded#5435

 

I have the same as Martin, I get this error :

rancid@svr-mon01:~/Backup/configs$ /usr/lib/rancid/bin/ciscowlc5 -d wlc

executing wlogin -t 90 -c"show udi;show sysinfo;show run-config commands" wlc

sh: wlogin: not found

wlc: missed cmd(s): show sysinfo,show udi,show run-config commands

wlc: missed cmd(s): show sysinfo,show udi,show run-config commands

wlc: End of run not found

wlc: End of run not found

!

 

I have add in /usr/lib/rancid/bin 3 scripts (ciscowlc5, ciscowlc,wlogin)

 

I’m ok to run wlogin and log in.

 

In router.db, I have add my wlc as : wlc:ciscowlc:up

 

If someone can help, I will appreciate.

 

Regards,

 

David Raymond

Dale Shaw

unread,
May 31, 2011, 7:59:59 PM5/31/11
to Raymond, David, rancid-...@shrubbery.net
Hi David,

2011/6/1 Raymond, David <David....@ca.ebarrette.com>:


> I have the same as Martin, I get this error :
>

[...]
> sh: wlogin: not found

Is /usr/lib/rancid/bin/ in your PATH?

cheers,
Dale
_______________________________________________
Rancid-discuss mailing list
Rancid-...@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

Raymond, David

unread,
May 31, 2011, 8:38:29 PM5/31/11
to dale.shaw+ra...@gmail.com, rancid-...@shrubbery.net
Hi Dale,

Yes, this is the path. And my backup folder is /var/lib/rancid/backup/configs

Thx to help me fix my issue.
Regards,
David Raymond

D: 450.357.7000 x7064 C: 514.603.0986 F: 450.357.7050
www.batiparbarrette.com

Raymond, David

unread,
Jun 1, 2011, 9:56:30 AM6/1/11
to rancid-...@shrubbery.net
Hi Dale,

In /etc/rancid/rancid.conf, the path is there.
BASEDIR=/var/lib/rancid; export BASEDIR
PATH=/usr/lib/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin
; export PATH

I have also add those line in rancid-fe :
'ciscowlc' => 'ciscowlc5',
'cisco-wlc' => 'ciscowlc5',
'cisco-wlc5' => 'ciscowlc5',

Regards,

David Raymond


-----Original Message-----
From: dale...@gmail.com [mailto:dale...@gmail.com] On Behalf Of Dale
Shaw
Sent: Tuesday, May 31, 2011 20:00
To: Raymond, David
Cc: rancid-...@shrubbery.net
Subject: Re: [rancid] error running rancid Cisco WLC

Reply all
Reply to author
Forward
0 new messages