LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-06-2004, 07:28 PM   #1
jleakey77
LQ Newbie
 
Registered: Apr 2003
Location: San Diego, CA
Distribution: Fedora
Posts: 26

Rep: Reputation: 15
receive error when trying to locate files.


$ locate gcc
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
warning: locate: Could not find the group: slocate in the /etc/group file.
fatal error: This is a result of the group missing or corrupted group file.

So I switched to root and ran updatedb. this is what i got.

# updatedb
warning: updatedb: Could not find the group: slocate in the /etc/group file.
fatal error: This is a result of the group missing or a corrupted group file.

Any idea on how to fix the corrupted group? I vi into the file and everything looks normal.

Any help would be greatly appreciated.
 
Old 03-06-2004, 09:17 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
I wouldn't have thought you would have needed to, but try adding an slocate group to the groups file. You could also try upgrading locate... some of the old versions are incompatible with new db's, not that this should really be a problem with Fedora however.

Good luck though...
 
Old 03-07-2004, 07:33 PM   #3
jleakey77
LQ Newbie
 
Registered: Apr 2003
Location: San Diego, CA
Distribution: Fedora
Posts: 26

Original Poster
Rep: Reputation: 15
Well got it working it didn't work when trying to add the group so i just downloaded the newest version and now it works beautifully.

Thanks for all your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locate and invisible files pittopitto Linux - Software 2 10-24-2005 02:22 AM
Can't send or receive files with KMess TazG Linux - Software 0 06-11-2004 08:44 AM
how do I locate all *~ files ner Linux - General 3 11-18-2003 01:57 AM
how do i locate files? Pleasure Linux - Software 2 08-16-2003 08:42 AM
Receive files in LICQ Qebex Linux - Software 15 09-22-2002 09:35 AM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration