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

Aaron Sutton <[email protected]> Thu, 20 Dec 2018 00:25:31 +0000
Newsgroups gmane.network.rancid
Message-ID <DM5PR22MB07613F16E44F32E0B7474643A9BF0@DM5PR22MB0761.namprd22.prod.outlook.com>
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
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