![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange one (likely something simple...) | alexop | Shell Programming and Scripting | 6 | 10-30-2007 07:40 AM |
| Something strange... | B14speedfreak | SUN Solaris | 0 | 06-29-2006 10:48 AM |
| strange error | laila63 | High Level Programming | 1 | 07-27-2004 02:09 PM |
| Strange problem.Please Help ! | lyhsm | UNIX for Dummies Questions & Answers | 1 | 12-01-2000 12:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All
I am doing a locate <file_name> on my Redhat 7 System. I am unable to get the output. All the keep getting is: locate: this is not a vlaid slocate database: /var/lib/locate/slocate.db What des this mean? Is my system compromised? Thanks in advance. KS |
|
|||||
|
That doesn't make sense, the slocate db is usable by root, but not users? Sounds like a permissions problem to me...
Usually, locate/slocate are updated from cron. Depending on which locate you're using, it may be at /usr/bin/updatedb, /usr/libexec/update.locatedb, or others... Being that you're on a Redhat system, try running /usr/bin/updatedb as root to rebuild the file. Then check the permissions. |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|