[rancid] Ubuntu with Rancid 3.7 - Comware (CMW)
heas at shrubbery.net
Thu Dec 20 00:51:19 UTC 2018
Thu, Dec 20, 2018 at 12:25:31AM +0000, Aaron Sutton:
> 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 at 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 at rancidserver:~/bin$ ./rancid -t cisco routername100
> Can't open rotuername100.new for writing: Permission denied
> Kind Regards
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss