Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support for the Plugin Architecture
Moderators: Developers , Moderators
Voiper99
Cacti User
Posts: 276 Joined: Thu Mar 01, 2007 5:43 pm
Location: Melbourne, Australia
Post
by Voiper99 » Fri Jul 30, 2010 7:15 pm
Hi all, when performing a dry run for my PIA install, I received this message:
Code: Select all
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 117.
Hunk #6 FAILED at 145.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
patching file include/top_header.php
However, when I tried to find the .rej file to see what was wrong, I could not find it.
Code: Select all
/var/www/cacti# find / -name top_graph_header.php.rej
I ran the dry run with root permissions so I assume that the file should have had no issues being created?
Thanks everyone.
Linegod
Developer
Posts: 1626 Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:
Post
by Linegod » Sat Jul 31, 2010 11:32 am
--dry-run does not create any files, even .rej files.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Voiper99
Cacti User
Posts: 276 Joined: Thu Mar 01, 2007 5:43 pm
Location: Melbourne, Australia
Post
by Voiper99 » Sat Jul 31, 2010 2:56 pm
Linegod wrote: --dry-run does not create any files, even .rej files.
Ah ok, thanks for the info. What does the "saving rejects to file include/top_graph_header.php.rej" line mean then? And how does the .rej files get created/how does one find out what errors occurred before applying the patches?
Linegod
Developer
Posts: 1626 Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:
Post
by Linegod » Sat Jul 31, 2010 3:27 pm
IIRC, run patch without --dry-run and use the '-o' switch.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Voiper99
Cacti User
Posts: 276 Joined: Thu Mar 01, 2007 5:43 pm
Location: Melbourne, Australia
Post
by Voiper99 » Sat Jul 31, 2010 3:44 pm
ah ok, thanks for that
Users browsing this forum: No registered users and 1 guest