As root run the command
bash-3.1# slocate -u
This will build the database for locate so you can use it but I prefer to use "find".
Here's an example of how to use the find command to find your file.
bash-3.1# find / -iname "httpd.conf"
The man pages will help you understand this better but I like examples.