[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-devel
Subject:    [opennms-devel] Rancid RWS
From:       Tom Bone <tom_bone () xyratex ! com>
Date:       2011-05-20 10:55:16
Message-ID: BANLkTinRHc9HgHQo0Q43fWEeLNoNU3Mcxw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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. \
______________________________________________________________________  


[Attachment #5 (text/html)]

Hi,<div><br></div><div>I&#39;m having problems applying the latest Rancid-opennms \
patch for Rancid 2.3.6.</div><div>I have rancid and opennms installed on the same \
Centos X86_64 server and all is working correctly.</div><div>

<br></div><div>rancid home is /usr/local/rancid</div><div>opennms home is \
/opt/opennms</div><div><br></div><div>When applying the patch, I get the following \
messages:</div><div><br></div><div><div><div>#patch -Nbp1 -z .original &lt; \
~/rancid-2.3.6-opennms.patch </div>

<div>can&#39;t find file to patch at input line 4</div><div>Perhaps you used the \
wrong -p or --strip option?</div><div>The text leading up to this \
was:</div><div>--------------------------</div><div>|diff -Nru \
rancid-2.3.6.orig/bin/<a href="http://control_rancid.in">control_rancid.in</a> \
rancid-2.3.6/bin/<a href="http://control_rancid.in">control_rancid.in</a></div>

<div>|--- rancid-2.3.6.orig/bin/<a \
href="http://control_rancid.in">control_rancid.in</a><span class="Apple-tab-span" \
style="white-space:pre">	</span>2010-12-09 02:21:33.000000000 +0100</div><div>|+++ \
rancid-2.3.6/bin/<a href="http://control_rancid.in">control_rancid.in</a><span \
class="Apple-tab-span" style="white-space:pre">	</span>2011-03-10 10:23:55.000000000 \
+0100</div>

<div>--------------------------</div><div>File to patch:     </div><div>Skip this \
patch? [y] n</div><div>File to patch: control_rancid</div><div>patching file \
control_rancid</div><div>Hunk #1 FAILED at 2.</div><div>Hunk #3 FAILED at 83.</div>

<div>2 out of 9 hunks FAILED -- saving rejects to file \
control_rancid.rej</div><div>can&#39;t find file to patch at input line \
212</div><div>Perhaps you used the wrong -p or --strip option?</div><div>The text \
leading up to this was:</div>

<div>--------------------------</div><div>|diff -Nru \
rancid-2.3.6.orig/bin/Makefile.in rancid-2.3.6/bin/Makefile.in</div><div>|--- \
rancid-2.3.6.orig/bin/Makefile.in<span class="Apple-tab-span" \
style="white-space:pre">	</span>2011-01-10 21:15:15.000000000 +0100</div>

<div>|+++ rancid-2.3.6/bin/Makefile.in<span class="Apple-tab-span" \
style="white-space:pre">	</span>2011-03-10 10:34:47.000000000 \
+0100</div><div>--------------------------</div><div>File to patch: \
rancid-trap</div><div>rancid-trap: No such file or directory</div>

<div>Skip this patch? [y] n</div><div>File to patch: </div><div>Skip this patch? [y] \
</div><div>Skipping patch.</div><div>2 out of 2 hunks ignored</div><div>can&#39;t \
find file to patch at input line 242</div><div>Perhaps you used the wrong -p or \
--strip option?</div>

<div>The text leading up to this \
was:</div><div>--------------------------</div><div>|diff -Nru \
rancid-2.3.6.orig/bin/<a href="http://rancid-run.in">rancid-run.in</a> \
rancid-2.3.6/bin/<a href="http://rancid-run.in">rancid-run.in</a></div>

<div>|--- rancid-2.3.6.orig/bin/<a href="http://rancid-run.in">rancid-run.in</a><span \
class="Apple-tab-span" style="white-space:pre">	</span>2009-06-24 07:15:47.000000000 \
+0200</div><div>|+++ rancid-2.3.6/bin/<a \
href="http://rancid-run.in">rancid-run.in</a><span class="Apple-tab-span" \
style="white-space:pre">	</span>2011-03-10 10:23:55.000000000 +0100</div>

<div>--------------------------</div><div>File to patch: \
rancid-run</div><div>patching file rancid-run</div><div>Hunk #1 succeeded at 1 with \
fuzz 2.</div><div>Hunk #2 succeeded at 43 with fuzz 2.</div><div>Hunk #3 FAILED at \
91.</div>

<div>1 out of 4 hunks FAILED -- saving rejects to file \
rancid-run.rej</div><div>patching file bin/<a \
href="http://rancid-trap.in">rancid-trap.in</a></div></div><div><br></div><div>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.</div>

<div><br></div><div>Many thanks,</div><div><br></div><font \
style="font-family:georgia,serif">Tom Bone</font><br \
style="font-family:georgia,serif"><br style="font-family:georgia,serif"><font \
style="font-family:georgia,serif"><span style="color:rgb(102, 102, 102)"><span \
style="font-size:x-small">Network Engineer</span></span><span \
style="font-size:x-small"><br style="color:rgb(102, 102, 102)">

</span><span style="color:rgb(102, 102, 102)"><span style="font-size:x-small">Xyratex \
Technology Ltd</span></span><br style="color:rgb(102, 102, 102)"></font><font \
class="Apple-style-span" color="#666666" size="1"><br></font> </div>

<pre>______________________________________________________________________
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic