[rancid] Missed cmd(s): all commands / clogin error: Error: extra characters after close-brace

Calgon heas at shrubbery.net
Tue Jul 7 23:28:32 UTC 2015


Tue, Jul 07, 2015 at 05:41:19PM +0000, Hart, Benjamin:
> I have searched and I know the usual cause for this.. but my cloginrc file seriously has all the proper close-braces, see below:
> 
> 
> 
> Add password x.x.x.x     {[password]}      {[password]}
> Add user x.x.x.x               {admin}
> Add method x.x.x.x        {ssh}
> 
> Add password x.x.x.x     {[password]}      {[password]}
> Add user x.x.x.x               {root}
> Add method x.x.x.x        {telnet}
> 
> The two specific IP's stated in the log file is seriously, and 100% triple verified to only have the text above. Yes my passwords include a bracket which worked for the initial diff polling. My issue today is that I made changes to a single switch, those changes were not polled by rancid.  Only the initial 'new router' entry is seen. No config changes have been done to the rancid server either. No security changes have been done to the switches either.
> 
> Did the syntax for the .cloginrc file change? Hell in the examples it shows how the user and method values are not wrapped in braces however after testing that by removing the braces around mine I still get the same error.
> 
> Calgon, take me away.

The first two questions will always be: does the login scripts work for an
interactive login to the device?  if yes, then does a command (-c) work.


More information about the Rancid-discuss mailing list