Freelance Boston

"WEB DESIGNER, MARKETER, CONSULTANT ...php... BOSTON"

Solved: WARNING: The locate database (/var/db/locate.database) does not exist

Linux is great but at times after you update your mac it disables some key command lines which are really helpful for developers. For example today I just discovered that my locate command was either not not working or was missing after the update. I received the error below:

WARNING: The locate database (/var/db/locate.database) does not exist.

After some investigation I finally figured it out that the database had to be rebuild again so a simple command line did the trick.

Open your terminal.app the type copy and paste this line of code :

/usr/libexec/locate.updatedb

This command will succefully update and rebuild your DB. Note that this might take a awhile so be patient and if you get an error like this after its finished just ignore as it will still work.

/usr/libexec/locate.updatedb: line 97: /var/db/locate.database: Permission denied

Happy locating!!!



2010 Copyright TripleROI.com
860 Lexington St Waltham, MA 02451 | Suite 550062 Triple ROI | Contact | PPC Boston

| Boston SEO Consultant| Landing Page Strategy | B2B PPC Campaign Components | SEO H1 Tag CSS Trick| Pay Per Click Freelancer| SEO Consultant Boston| Marketing Consultant Boston | iPhone application development Boston

Neighboring towns Belmont, MA - Watertown, MA - Cambridge, MA - Newton, MA Weston, MA - Lexington, MA - Arlington, MA - Wesley, MA - Cambridge, MA