Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Anonymous on February 22, 2004, 04:38:10 PM
-
I am getting this message every day after upgrading from 5.1 to 5.5
Anyone know what it is?
From: : root@foo.com (Cron Daemon)
Date: Sun Feb 22, 2004 4:02:22 AM Canada/Eastern
To: root@foo.com
Subject: Cron <root@esmith> run-parts /etc/cron.daily
/etc/cron.daily/slocate.cron:
updatedb: invalid option -f
Usage: updatedb [--localpaths='dir1 dir2...'] [--netpaths='dir1 dir2...']
[--prunepaths='dir1 dir2...'] [--output=dbfile] [--netuser=user]
[--old-format] [--version] [--help]
-
Looks like you have an entry running in cron.daily updating the db 'updatedb' with an -f option. I do not know specifically if there is a difference in the versions of this from 5.1 to 5.5, but that is what it appears.
slocate.cron is an entry which keeps your db up-to-date daily so when you use 'locate/slocate' the db includes all recent entries.
I would check your version of slocate:
rpm -q slocate
On my 5.6 boxes it is version slocate-2.6-1
It may be that you need to update this package because on slocate-2.6-1 locatedb -f is a valid command.
Craig
-
I just got a chance to get back into the box. It has been running fine except for the daily message. I found that there is no slocate, rpm or otherwise. should I download and install it?