[rancid] error after migrating to new server

Charles T. Brooks Charles.Brooks at hbcs.org
Tue Oct 16 15:24:19 UTC 2018


The "file" command says it's an executable image, not a script.

[charlie at gitdrome ~]# file /usr/libexec/rancid/par

/usr/libexec/rancid/par: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=968bbb9325486639b0fd1294bebcfef7c67317ed, stripped

If you've found the correct par (and not one of the other programs of the same name) then like Nick said you need to make sure it's in the PATH of the user executing rancid-run.

--Charlie

________________________________
From: Andrew Meyer [andrewm659 at yahoo.com]
Sent: Tuesday, October 16, 2018 11:06 AM
To: Charles T. Brooks
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] error after migrating to new server

Is this a perl/python or something else command?  I think I found the package in Amazon Linux.


On Tuesday, October 16, 2018 9:44 AM, Charles T. Brooks <Charles.Brooks at hbcs.org> wrote:


Short answer, yes.  But "par" is troublesome.

RANCiD needs a program by that name for "parallel command processing", but the name conflicts with other software packages, particularly on Ubuntu linux as I recall.  I don't know if it conflicts with Amazon's linux.

I renamed it to rancid_par back when I built the Red Hat packages of RANCiD 3.4.1, but I haven't done so in more recent packages because I don't need any of the other programs named "par" on any of my Red Hat boxen.

--Charlie



From: Rancid-discuss [rancid-discuss-bounces at shrubbery.net<mailto:rancid-discuss-bounces at shrubbery.net>] on behalf of Andrew Meyer [andrewm659 at yahoo.com<mailto:andrewm659 at yahoo.com>]

Sent: Tuesday, October 16, 2018 10:14 AM

To: rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>

Subject: [rancid] error after migrating to new server







Recently we have migrated from our in house setup to AWS.  Rancid is installed on Amazon Linux 2, but i'm seeing this issue in the logs:



cat NetworkDevices.20181016.140101
starting: Tue Oct 16 14:01:01 UTC 2018






Trying to get all of the configs.
/usr/bin/control_rancid: line 503: par: command not found
=====================================
Getting missed routers: round 1.
/usr/bin/control_rancid: line 533: par: command not found
=====================================
Getting missed routers: round 2.
/usr/bin/control_rancid: line 533: par: command not found
=====================================
Getting missed routers: round 3.
/usr/bin/control_rancid: line 533: par: command not found
=====================================
Getting missed routers: round 4.
/usr/bin/control_rancid: line 533: par: command not found


On branch master
Your branch is up-to-date with 'origin/master'.


nothing to commit, working tree clean
Everything up-to-date


ending: Tue Oct 16 14:01:01 UTC 2018



Is this a command that didn't get installed?







------------------  CONFIDENTIALITY NOTICE  ---------------

  This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.

    ------------------  CONFIDENTIALITY NOTICE  ---------------



------------------  CONFIDENTIALITY NOTICE  ---------------

  This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.
 
     ------------------  CONFIDENTIALITY NOTICE  ---------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20181016/5d5252e7/attachment.html>


More information about the Rancid-discuss mailing list