On Tue, 24 Apr 2001, Ben Ocean wrote:
>>All the time? Or just at certain times?
>
>Dunno for the slocate problem. When the problem was in logrotate.status
>(presumably before it got to slocate) it ran for *hours* then crashed.
>Makes newbies skittish...
The slocate/locate command searches for files on your hard disk
by looking them up in a database created nightly at 4:05am by
a cron job running "updatedb". This job will take a while
depending on how large your disk is.
>> > So I d'l'd a new rpm for slocate and
>> > updated it. Now I get this error when I try to slocate something:
>> > >>>
>> > fatal error: slocate: decode_db: 'pathlen == -1'! Corrupt Database!
>> > <<<
>>
>>Since updating slocate, have you run updatedb(1L)?
>
>You mean updatedb without the (1L) I presume? It chokes. Gave it about 10
>seconds then killed the command.
The (1L) is the manpage documentation.
Try:
man updatedb
man locate
updatedb scans your hard disk, and as such it takes a while to
complete. If you run it manually, you either wait, or run it in
the background with:
updatedb &
Yes, it will use CPU power because it is a running program.
>>Haven't followed it myself but you might want to start there for docs
>>and tips not covered in the manpages, which I'm sure you've read...
>>right?
>
>Tried B4 I wrote the list. No man page on my box for slocate. RH6.2
Try:
man locate
If your /var partition is not large enough, it is possible your
disk is full. make /var larger if need be. If you do not need
logfiles for things, then look at the manuals for the items that
are logging stuff so you can disable logging. If you want to
change logrotate's configuration, try:
man logrotate
If you're not used to the commandline, try:
man man
Hope this helps.
TTYL
--
Mike A. Harris Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc. Ontario, Canada, P6C 5B3
http://www.redhat.com Phone: (705)949-2136
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list