[rancid] Ubuntu with Rancid 3.7 - Comware (CMW)
<[email protected]> Wed, 19 Dec 2018 06:12:56 +0000
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Seeking some assistance as I'm a RANCID noob. Have had no issues getting Cisco devices to work, however no luck with HPE switches. I have a large environment of HPE switches which run COMEWARE v7. I found the following device scripts by JRBINKS at the following link: https://sites.google.com/site/jrbinks/code/rancid/cmwrancid When I attempt to run a test against my device, I get the following error: rancid@testrancidserver:~/bin$ ./rancid -d -t cmw aubneleaf3a0508 loadtype: device type cmw loadtype: found device type cmw in /etc/rancid/rancid.types.conf loadtype: loading cmw failed: Can't locate cmw.pm in @INC (you may need to install the cmw module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /usr/share/perl5/rancid) at /usr/share/perl5/rancid/rancid.pm line 257. Couldn't load device type spec for cmw Server: Ubuntu x64 18.04 Rancid version 3.7 From /etc/rancid/rancid.conf BASEDIR=/var/lib/rancid; export BASEDIR PATH=/usr/lib/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin; export PATH I've copied cmwlogin to /var/lib/rancid/bin I've copied cmw.pm to /var/lib rancid@aubnesrv7rancid1:~/bin$ pwd /var/lib/rancid/bin rancid@aubnesrv7rancid1:~/bin$ ls cmwlogin -l -rwxr-xr-x 1 root root 30304 Dec 19 15:18 cmwlogin rancid@aubnesrv7rancid1:~$ pwd /var/lib/rancid rancid@aubnesrv7rancid1:~$ ls cmw.pm -l -rwxr-xr-x 1 rancid rancid 16533 Dec 19 15:21 cmw.pm rancid@testrancidserver:~/bin$ export declare -x HOME="/var/lib/rancid" declare -x LANG="en_US.UTF-8" declare -x LOGNAME="rancid" declare -x MAIL="/var/mail/rancid" declare -x OLDPWD="/var/lib/rancid" declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" declare -x PWD="/var/lib/rancid/bin" declare -x SHELL="/bin/bash" declare -x SHLVL="1" declare -x TERM="xterm" declare -x USER="rancid" declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share:/var/lib/snapd/desktop" Anyone able to assist? Kind Regards Aaron ********************************************************************************* LEGAL DISCLAIMER. The contents of this electronic communication and any attached documents are strictly confidential and they may not be used or disclosed by someone who is not a named recipient. If you have received this electronic communication in error please notify the sender by replying to this electronic communication inserting the word "misdirected" as the subject and delete this communication from your system. ********************************************************************************* _______________________________________________ Rancid-discuss mailing list [email protected] http://www.shrubbery.net/mailman/listinfo/rancid-discuss