Re: [rancid] Ubuntu with Rancid 3.7 - Comware (CMW)

heasley <[email protected]> Thu, 20 Dec 2018 00:51:19 +0000
Newsgroups gmane.network.rancid
Message-ID <[email protected]>
Thu, Dec 20, 2018 at 12:25:31AM +0000, Aaron Sutton:
> Hi,
> 
> More information,
> 
> I think the SH: 1: cmwlogin: not found error is due to not running this as the rancid user. I also get the same error with cisco devices which run completely run with rancid-run.
> 
> admin@rancidserver:/var/lib/rancid/bin$ sudo ./rancid -t cisco routername100
> [sudo] password for admin:
> sh: 1: clogin: not found

it does not assume a PATH, it inherits; so clogin must be in yours.  the
rancid-run uses rancid.conf to adjust its PATH.

> routername100: missed cmd(s): all commands
> routername100: End of run not found
> 
> If i try and run under rancid account however, i'm getting permission errors.
> rancid@rancidserver:~/bin$ ./rancid -t cisco routername100
> Can't open rotuername100.new for writing: Permission denied
> 
> Kind Regards
> Aaron
> 
> 

> _______________________________________________
> Rancid-discuss mailing list
> [email protected]
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss