Mailing List Archive

error running rancid Cisco WLC
Hi all,



I read this post to try fixing my issue.
http://www.gossamer-threads.com/lists/rancid/users/5435?do=post_view_thr
eaded#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
Re: error running rancid Cisco WLC [ In reply to ]
Hi David,

2011/6/1 Raymond, David <David.Raymond@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-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Re: error running rancid Cisco WLC [ In reply to ]
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

----- Original Message -----
From: Dale Shaw [mailto:dale.shaw+rancid-discuss@gmail.com]
Sent: Tuesday, May 31, 2011 07:59 PM
To: Raymond, David
Cc: rancid-discuss@shrubbery.net <rancid-discuss@shrubbery.net>
Subject: Re: [rancid] error running rancid Cisco WLC

Hi David,

2011/6/1 Raymond, David <David.Raymond@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-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Re: error running rancid Cisco WLC [ In reply to ]
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.shaw@gmail.com [mailto:dale.shaw@gmail.com] On Behalf Of Dale
Shaw
Sent: Tuesday, May 31, 2011 20:00
To: Raymond, David
Cc: rancid-discuss@shrubbery.net
Subject: Re: [rancid] error running rancid Cisco WLC

Hi David,

2011/6/1 Raymond, David <David.Raymond@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-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss