Hi,
I'm having problems applying the latest Rancid-opennms patch for Rancid
2.3.6.
I have rancid and opennms installed on the same Centos X86_64 server and all
is working correctly.
rancid home is /usr/local/rancid
opennms home is /opt/opennms
When applying the patch, I get the following messages:
#patch -Nbp1 -z .original < ~/rancid-2.3.6-opennms.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru rancid-2.3.6.orig/bin/control_rancid.in rancid-2.3.6/bin/
control_rancid.in
|--- rancid-2.3.6.orig/bin/control_rancid.in 2010-12-09 02:21:33.000000000
+0100
|+++ rancid-2.3.6/bin/control_rancid.in 2011-03-10 10:23:55.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: control_rancid
patching file control_rancid
Hunk #1 FAILED at 2.
Hunk #3 FAILED at 83.
2 out of 9 hunks FAILED -- saving rejects to file control_rancid.rej
can't find file to patch at input line 212
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru rancid-2.3.6.orig/bin/Makefile.in rancid-2.3.6/bin/Makefile.in
|--- rancid-2.3.6.orig/bin/Makefile.in 2011-01-10 21:15:15.000000000 +0100
|+++ rancid-2.3.6/bin/Makefile.in 2011-03-10 10:34:47.000000000 +0100
--------------------------
File to patch: rancid-trap
rancid-trap: No such file or directory
Skip this patch? [y] n
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 242
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru rancid-2.3.6.orig/bin/rancid-run.in rancid-2.3.6/bin/
rancid-run.in
|--- rancid-2.3.6.orig/bin/rancid-run.in 2009-06-24 07:15:47.000000000 +0200
|+++ rancid-2.3.6/bin/rancid-run.in 2011-03-10 10:23:55.000000000 +0100
--------------------------
File to patch: rancid-run
patching file rancid-run
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 succeeded at 43 with fuzz 2.
Hunk #3 FAILED at 91.
1 out of 4 hunks FAILED -- saving rejects to file rancid-run.rej
patching file bin/rancid-trap.in
it looks like it cannot see the file, but according to the README, all I do
is run the patch command?? If anyone can offer some help it would be much
appreciated as all I can find online is that this patch is working with
Rancid 2.3.6, and nobody has had any issues.
Many thanks,
Tom Bone
Network Engineer
Xyratex Technology Ltd
______________________________________________________________________
This email may contain privileged or confidential information, which should
only be used for the purpose for which it was sent by Xyratex. No further
rights or licenses are granted to use such information. If you are not the
intended recipient of this message, please notify the sender by return and
delete it. You may not use, copy, disclose or rely on the information contained
in it.
Internet email is susceptible to data corruption, interception and unauthorised
amendment for which Xyratex does not accept liability. While we have taken
reasonable precautions to ensure that this email is free of viruses, Xyratex
does not accept liability for the presence of any computer viruses in this
email, nor for any losses caused as a result of viruses.
Xyratex Technology Limited (03134912), Registered in England & Wales,
Registered Office, Langstone Road, Havant, Hampshire, PO9 1SA.
The Xyratex group of companies also includes, Xyratex Ltd, registered in
Bermuda, Xyratex International Inc, registered in California, Xyratex
(Malaysia) Sdn Bhd registered in Malaysia, Xyratex Technology (Wuxi) Co Ltd
registered in The People's Republic of China and Xyratex Japan Limited
registered in Japan.
______________________________________________________________________
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel