Discussion:
[rancid] New Install with OPENNMS
Todd Heide
2015-04-08 19:07:22 UTC
Permalink
Trying to finalize the install, and when I do rancid-run to load the configs, all I see in the files are these.
$ tail var/logs/routers.20150408.135550
starting: Wed Apr 8 13:55:50 CDT 2015

./bin/rancid-run: 206: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found

./bin/rancid-run: 213: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found

ending: Wed Apr 8 13:55:50 CDT 2015

How do I fix this?  It is running on Wheezy, and when I try whereis rancid-trap, all I get is rancid-trap: with no paths.  I even tried adding it to path$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rancid/bin/rancid-trap:/usr/local/rancid/bin/rancid-run
heasley
2015-04-08 19:19:52 UTC
Permalink
Post by Todd Heide
Trying to finalize the install, and when I do rancid-run to load the configs, all I see in the files are these.
$ tail var/logs/routers.20150408.135550
starting: Wed Apr 8 13:55:50 CDT 2015
./bin/rancid-run: 206: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
./bin/rancid-run: 213: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
that is not part of rancid. ask opennms.
Post by Todd Heide
ending: Wed Apr 8 13:55:50 CDT 2015
How do I fix this?  It is running on Wheezy, and when I try whereis rancid-trap, all I get is rancid-trap: with no paths.  I even tried adding it to path$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rancid/bin/rancid-trap:/usr/local/rancid/bin/rancid-run
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Todd Heide
2015-04-08 19:40:16 UTC
Permalink
OK, how about this?  I think I ran into this a long time ago as well Dont remember what I did to fix it, thinking it is something with Apache.

Traceback (most recent call last):
File "/var/www/viewvc/lib/viewvc.py", line 4848, in main
request.run_viewvc()
File "/var/www/viewvc/lib/viewvc.py", line 402, in run_viewvc
self.view_func(self)
File "/var/www/viewvc/lib/viewvc.py", line 2290, in view_directory
file_data, options)
File "/var/www/viewvc/lib/vclib/ccvs/bincvs.py", line 266, in dirlogs
alltags = _get_logs(self, path_parts, entries_to_fetch, rev, subdirs)
File "/var/www/viewvc/lib/vclib/ccvs/bincvs.py", line 1025, in _get_logs
% file.path)
Error: Rlog output ended early. Expected RCS file "/usr/local/rancid/var/CVS/routers/router.db,v"


From: heasley <***@shrubbery.net>
To: Todd Heide <***@yahoo.com>
Cc: "Rancid-***@shrubbery.net" <Rancid-***@shrubbery.net>
Sent: Wednesday, April 8, 2015 2:19 PM
Subject: Re: [rancid] New Install with OPENNMS
Post by Todd Heide
Trying to finalize the install, and when I do rancid-run to load the configs, all I see in the files are these.
$ tail var/logs/routers.20150408.135550
starting: Wed Apr 8 13:55:50 CDT 2015
./bin/rancid-run: 206: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
./bin/rancid-run: 213: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
that is not part of rancid.  ask opennms.
Post by Todd Heide
ending: Wed Apr 8 13:55:50 CDT 2015
How do I fix this?  It is running on Wheezy, and when I try whereis rancid-trap, all I get is rancid-trap: with no paths.  I even tried adding it to path$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rancid/bin/rancid-trap:/usr/local/rancid/bin/rancid-run
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Todd Heide
2015-04-08 21:03:44 UTC
Permalink
Woot, I finally remembered what it was, rcs tools were missing. a little tweaking of the viewvc.conf and installing RCS and its working. Also Rancid is running now without issues(at least the ones I posted about). Will see soon if it actually starts backing up devices.

First time I set this up since 2007.

From: heasley <***@shrubbery.net>
To: Todd Heide <***@yahoo.com>
Cc: "Rancid-***@shrubbery.net" <Rancid-***@shrubbery.net>
Sent: Wednesday, April 8, 2015 2:19 PM
Subject: Re: [rancid] New Install with OPENNMS
Post by Todd Heide
Trying to finalize the install, and when I do rancid-run to load the configs, all I see in the files are these.
$ tail var/logs/routers.20150408.135550
starting: Wed Apr 8 13:55:50 CDT 2015
./bin/rancid-run: 206: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
./bin/rancid-run: 213: ./bin/rancid-run: /usr/local/bin/rancid-trap: not found
that is not part of rancid.  ask opennms.
Post by Todd Heide
ending: Wed Apr 8 13:55:50 CDT 2015
How do I fix this?  It is running on Wheezy, and when I try whereis rancid-trap, all I get is rancid-trap: with no paths.  I even tried adding it to path$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rancid/bin/rancid-trap:/usr/local/rancid/bin/rancid-run
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...