Cron Deamon - Log ?

Mark_S

Verified User
Joined
Sep 14, 2006
Messages
67
Hi,
Ive been getting a Cron Deamon - Log via e-mail from root?

Subject : Cron <root@server> run-parts /etc/cron.daily

Content :
/etc/cron.daily/prelink:

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

----------
Ive recieved 2 e-mails now, from the same time period 4:03am
With the same subject and content?

Is it somthing to be worried about?
I have had some issues with the server set up and wanted to make sure
this hasnt been a bug just lying there?

Thanks in advance mark.
 
It looks as if prelink is aborting. To see what prelink does, try:
Code:
$ man prelink
from your shell login.

It shuldn't matter, but I'd be a bit curious as to why it doesn't work.

Jeff
 
Sorry for the delay.

[root@server ~]# man prelink
Formatting page, please wait...
prelink(8) prelink(8)

NAME
prelink - prelink ELF shared libraries and binaries to speed up
startup time

SYNOPSIS
prelink [OPTION...] [FILES]

DESCRIPTION
prelink is a program which modifies ELF shared libraries and ELF
dynamically linked binaries, so that the time which dynamic linker
needs for their relocation at startup significantly decreases and also
due to fewer relocations the run-time memory consumption decreases too
(especially number of unshareable pages). Such prelinking information
is only used if all its dependant libraries have not changed since
prelinking, otherwise programs are relocated normally.

prelink first collects ELF binaries which should be prelinked and all
the ELF shared libraries they depend on. Then it assigns a unique vir-
tual address space slot for each library and relinks the shared
library to that base address. When the dynamic linker attempts to
load such a library, unless that virtual address space slot is already
:


---------
4:00am I have a cron job which backs up a database.
4:02am I get a ################### LogWatch 5.2.2 (06/23/04) #################### email
4:03am E-mail Cron Deamon - Prelink error.
4:04am e-mail report that database has been backed up.

I opened up the prelink.log file in nano and scrolled to line 47 ish

/lib/libattr.so.1 00847000-0084a4c4
/lib/libpam_misc.so.0 007a1000-007a3b1c

========================
I scrolled to the end of this file and it looks like this..

Prelinking /usr/bin/open
/usr/sbin/prelink: Could not prelink /usr/bin/grepjar because its dependency /u$
Prelinking /usr/bin/gpm-root
Prelinking /sbin/mkfs.ext2
Linking /sbin/mke2fs to /sbin/mkfs.ext2
Linking /sbin/mkfs.ext3 to /sbin/mkfs.ext2
Prelinking /usr/bin/jpegtran
Prelinking /usr/sbin/setup
Prelinking /usr/bin/rngtest
Prelinking /usr/sbin/setquota
Prelinking /usr/sbin/yptest
Prelinking /bin/ed
Prelinking /usr/bin/sesearch
Prelinking /usr/bin/diff
Prelink failed with return value 134


Thanks for any help.
 
Last edited:
I didn't mean for you to post the man file here, just to understand for yourself what it does ;) . We all have our own copies of the file, we don't need to see yours.

More interesting is the prelink.log. Prelinking is failing while trying to prelink /usr/bin/diff.

Note that prelinking isn't critical on a server, where the important programs are daemons that run all the time.

to find out why prelinking of /usr/bin/diff failed you'd need to find a support group for your OS and ask about that error message.

Jeff
 
Thanks jeoff
Sorry

I ddint get an e-mail to bring me back to this post ?
But ive moved my cron jobs to diffrent time slots and it happens
after the server sends out a LogWatch for server.mydomain.co.uk

Thanks for the feed back,
good to know its not mission critical ;)

Mark.
 
Back
Top