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.
|