PDA

View Full Version : Cron error: prelink



saiko
02-05-2010, 01:53 AM
LS,

This is the error I am getting:

etc/cron.daily/prelink:

/etc/cron.daily/prelink: line 47: 25442 Aborted /usr/sbin/prelink -av $PRELINK_OPTS >> /var/log/prelink/prelink.log 2>&1

I've searched the forum and it looks like it's a centos issue. Should I disable prelink at all? And if so how?

nobaloney
02-06-2010, 04:45 PM
It's a CentOS issue and should best be discussed on a CentOS list or forum. You should use Prelink if at all possible; it saves a lot of time.

Jeff

johannes
03-25-2012, 04:25 AM
I did read man prelink, but i dont understand if cron should run daily (for prelinking ongoing processes) or it would be enough for weekly (like prelinking libraries) .. what is ELF used for?

(.. "relocations at startup significantly decreases" ... which startup? the box, upgrades, processes?)

NoBaloney2
03-26-2012, 01:04 PM
I did read man prelink, but i dont understand if cron should run daily (for prelinking ongoing processes)
If your distribution runs it in cron.daily, then there's probably a reason why. As I already mentioned, you might find some better informaton from a CentOS forum. Note that it's been aborting, and your server is running, which shows you it's not required. It speeds up startup of many processes when they're running, but once they're running has no effect.

or it would be enough for weekly (like prelinking libraries)
I'm not sure; I'd recommend asking on a CentOS forum (I think I'm beginning to sound like a broken record :)).

.. what is ELF used for?

This Wikipedia article (http://en.wikipedia.org/wiki/Executable_and_Linkable_Format) (wikipedia.org) explains ELF well.

(.. "relocations at startup significantly decreases" ... which startup? the box, upgrades, processes?)
The process.

Jeff

johannes
03-28-2012, 02:42 AM
Thank you, this makes it much more clear for me.