On a new EC2 Lucid AMI, I've tried:
$ locate include_prompt.sh
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
I've created the locate database using
updatedb, and it works fine.
Do I need to put
updatedb in some cron file?
Is it invoked automatically? If not, what would be a reasonable interval?