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

heasley heas at shrubbery.net
Fri Sep 16 16:34:23 UTC 2016


Fri, Sep 16, 2016 at 10:00:11AM +0630, Mathieu Ploton:
> This is what it does without:
> 
> [root at localhost bin]# ./urancid 192.168.251.21
> 192.168.251.21 /usr/local/rancid/bin/clogin error: Error: password file
> (/root/.cloginrc) does not exist
> 192.168.251.21: missed cmd(s): sort /tmp/system.cfg
> 192.168.251.21: End of run not found
> 
> So I believe -f is being used by clogin properly.

no, the -f *login is not the same as the -f to *rancid.  .cloginrc should
located in ~.

> On Fri, Sep 16, 2016 at 3:40 AM, heasley <heas at shrubbery.net> wrote:
> 
> > Thu, Sep 15, 2016 at 11:01:36PM +0630, Mathieu Ploton:
> > > The problem is that the output comes too fast.
> > >
> > > With clogin, I have to wait a few sec for the ssh connection to be
> > > authentified.
> > > With urancid, the error message comes instantly. So it does not even try
> > to
> > > connect.
> > >
> > > On Sep 15, 2016 10:13 PM, "heasley" <heas at shrubbery.net> wrote:
> > >
> > > > Wed, Sep 14, 2016 at 10:47:40PM -0700, Mathieu P:
> > > > > 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
> > > > >
> > > >
> > > > > However when I try to launch urancid:
> > > > >
> > > > > [rancid at localhost bin]$ ./urancid -f ../.cloginrc 192.168.251.21
> >
> > -f arg is probably not what you think it is.
> >
> > > > > ../.cloginrc: missed cmd(s): sort /tmp/system.cfg
> > > > >
> > > > > ../.cloginrc: End of run not found
> > > > >
> > > > > #
> > > >
> > > > when this occurs, the most likely problem is that the function handling
> > > > the preceeding command ate more of the output than it should have.
> > > >
> > > >
> >



More information about the Rancid-discuss mailing list