[rancid] Error when trying to back up a JunOS device, SRX100
heas at shrubbery.net
Wed Apr 25 16:11:30 UTC 2018
Wed, Apr 25, 2018 at 03:28:03PM +0000, Lauri Haveri:
> Thank you for the fast reply.
> Where should the command "rancid" be executed?
> I have logged in as the users "rancid" and "root" have ran the command "rancid -t hp -C DEVICENAME" in the folder ("/var/lib/rancid/bin/") that has the executable file "rancid", but it just produces "rancid: command not found".
> I also typed the whole path to command "/var/lib/rancid/bin/rancid -t hp -C hostname" I just get the following output: "hlogin -t 90 -c '' DEVICENAME.
> Am I doing it wrong?
Sorry; thats my fault; hp still uses the rancid 2.x method; so,
hrancid -C hostname.
> -----Original Message-----
> From: Heasley <heas at shrubbery.net>
> Sent: lauantai 21. huhtikuuta 2018 18.44
> To: Lauri Haveri <lauri.haveri at alsocloudsolutions.fi>
> Cc: Emille Blanc <emille at abccommunications.com>; Rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Error when trying to back up a JunOS device, SRX100
> Sat, Apr 21, 2018 at 10:48:42AM +0000, Lauri Haveri:
> > Hello,
> > I just wanted to tell that little over one week ago I was able to fix this error by using an account that had admin-rights. The ones I used previously were root-account and read-only account.
> the root account typically receives a unix prompt, which the scripts do not expect.
> > Now the same problem is facing me with a “HP procurve 2510”. I have assigned an account with manager-rights and configured it to .cloginrc file. I am able to login to the HP Switch by using command “/var/lib/rancid/bin/clogin DEVICENAME”
> > Do you have any idea if there are any special things to be considered in HP Switches?
> rancid -t hp -C hostname
> will give you the complete command that rancid will run; use that for testing.
> Also, see the FAQ section 3 qestion 2.
More information about the Rancid-discuss