[rancid] Urancid missed cmd(s): sort /tmp/system.cfg

Mathieu P arrgghh at zoho.com
Thu Sep 15 05:47:40 UTC 2016


Hello,



I am trying to backup my Ubiquiti AirOS devices with rancid on Centos 6. I edited rancid-fe and downloaded urancid from https://github.com/dotwaffle/rancid-git/tree/master/bin



ulogin and clogin are working properly.



Example:


./clogin -f ../.cloginrc -c "sort /tmp/system.cfg" 192.168.251.21



192.168.251.21 

spawn ssh -x -l BW-Admin 192.168.251.21 

BW-Admin at 192.168.251.21's password: 

KM                       ,ok0KNWW 

KM               :NMMMMMMMM 

KM  ..             WMMMMMMMMM 

KM      KM             WMMMMMMMMM 

KM    KM               WMMMMMMMMM 

KM  KM  ..             WMMMMMMMMM 

KM  ..  KM             WMMMMMMMMM 

KM  KM  KM             WMMMMMMMMM 

KMNXWM  KM             WMMMMMMMMK 

KMMMMMKONM             WMMMMMMMW 

KMMMMMMMMM             WMMMMMMM x 

lMMMMMMMMM             WMMMMMN xK 

MMMMMMMMMl           ,WMMMP dXM: 

lMMMMMMMMx .        ,,,aaadXMMd 

lNMMMMMMW: XOxolcclodOKMMMMWc 

lXMMMMMNc lMMMMMMMMMMMMNo. 

llONMMM0c lMMMMMMNOo' 

'lMN;. lMWl' 



[...]

wpasupplicant.profile.1.network.1.psk=BWN at t4MYM@(#!^ 

wpasupplicant.status=disabled 

XM.v5.6.8#exit 

Connection to 192.168.251.21 closed. 



So it connects properly to my test device and provide the output



Same result for ulogin.



However when I try to launch urancid:



[rancid at localhost bin]$ ./urancid -f ../.cloginrc 192.168.251.21 

../.cloginrc: missed cmd(s): sort /tmp/system.cfg 

../.cloginrc: End of run not found 

# 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160914/280329f4/attachment.html>


More information about the Rancid-discuss mailing list