Bug 24519 - slocate cron job error
Summary: slocate cron job error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: slocate
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
: 25252 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-21 21:47 UTC by Jeremy Katz
Modified: 2014-03-17 02:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-01-30 02:36:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeremy Katz 2001-01-21 21:47:54 UTC
/etc/cron.daily/slocate.cron:

fatal error: updatedb: create_db(): rename: No such file or directory


I think this may have begun happening only after updating to slocate-2.5-1,
but it seems I've got a couple messages about it sitting in the local
mailspool.

Comment 1 Helge Deller 2001-01-22 19:51:11 UTC
I couldn't reproduce your problem here. After updating to slocate-2.5-1 no
errors occured, but when I removed /var/lib/slocate/slocate.db I got:
warning: updatedb: could not open database: /var/lib/slocate/slocate.db: No such
file or directory,
but afterwards it worked everytime without problems.

Please, check:
1. the existance of the /var/lib/slocate directory
2. remove all slocate.*-files there,
3. and try again by directly starting /etc/cron.daily/slocate.cron 
You should get one error, but after that it should work cleanly again.


Comment 2 Jeremy Katz 2001-01-22 20:06:42 UTC
Even if only generated on the initial install on the slocate package, it still
shouldn't generate an error that gets mailed to root due to the confusion this
causes to users.  See bugs 13611 and 14222 for previous reports and resolutions
of this on older versions of slocate

Comment 3 Jeremy Katz 2001-01-30 02:36:07 UTC
*** Bug 25252 has been marked as a duplicate of this bug. ***

Comment 4 Bill Nottingham 2001-01-31 18:21:16 UTC
Fixed in 2.5-2; slocate-2.5-info patch was broken.


Note You need to log in before you can comment on or make changes to this bug.