Chris DeRemer
2012-07-29 11:40:21 UTC
Hello all,
I think I'm having a newbie linux user issue. I just downloaded and put the wlogin and ciscowlc/5 scripts into my rancid users's bin directory along with all the other scripts. Can execute wlogin and successfully have it logging into my WLC. I also edited the rancid-fe to add the new device types. However if I try to execute an individual backup run of the wlc I get this output:
***@CaronRANCID:~/bin$ ./ciscowlc5 -d bs-air-5508-1
executing wlogin -t 90 -c"show udi;show sysinfo;show run-config commands" bs-air-5508-1
sh: wlogin: not found
bs-air-5508-1: missed cmd(s): show sysinfo,show udi,show run-config commands
bs-air-5508-1: missed cmd(s): show sysinfo,show udi,show run-config commands
bs-air-5508-1: End of run not found
bs-air-5508-1: End of run not found
!
***@CaronRANCID:~/bin$
.... Weird ...
So I run this:
***@CaronRANCID:~/bin$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
***@CaronRANCID:~/bin$
I expected that my /~/bin (or full path /home/rancid/bin) would be there, but it's not... however the rest of rancid works just peachy.... Any ideas?
I think I'm having a newbie linux user issue. I just downloaded and put the wlogin and ciscowlc/5 scripts into my rancid users's bin directory along with all the other scripts. Can execute wlogin and successfully have it logging into my WLC. I also edited the rancid-fe to add the new device types. However if I try to execute an individual backup run of the wlc I get this output:
***@CaronRANCID:~/bin$ ./ciscowlc5 -d bs-air-5508-1
executing wlogin -t 90 -c"show udi;show sysinfo;show run-config commands" bs-air-5508-1
sh: wlogin: not found
bs-air-5508-1: missed cmd(s): show sysinfo,show udi,show run-config commands
bs-air-5508-1: missed cmd(s): show sysinfo,show udi,show run-config commands
bs-air-5508-1: End of run not found
bs-air-5508-1: End of run not found
!
***@CaronRANCID:~/bin$
.... Weird ...
So I run this:
***@CaronRANCID:~/bin$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
***@CaronRANCID:~/bin$
I expected that my /~/bin (or full path /home/rancid/bin) would be there, but it's not... however the rest of rancid works just peachy.... Any ideas?