Update Locate Database on FreeBSD

Locate

Have the system we are using FreeBSD, we are searching the files. When using whereis can not find the file, then we will use locate.

However, if our system has been installed, we often see an error message when executing this command locate. Error message is as follows:

locate: database too small: /var/db/locate.database

How to update the database which is owned by the locate this?

You can create or update the database again owned by the locate by using the command:

/usr/lib/locate.updatedb


Hopefully useful.

Comments  

 
0 # 2010-01-12 00:06
Terimakasih banyak !!
:lol:
Reply | Reply with quote | Quote
 
 
+1 # 2010-03-09 11:09
For me (FreeBSD 7.1) it is
/usr/libexec/locate.updatedb
Reply | Reply with quote | Quote
 
 
-3 # 2010-11-27 02:03
This is not the first time Peterson and his partner Mathias Lexow have awed their Yukon customers with their service, quality and fresh flavours. They’ve been doing it consistently for over 10 years, serving scrumptious all-organic meals and baked goods out of a variety of fashionable cafés, shops and restaurants they’ve owned and operated with unwavering devotion and innovation since they immigrated (Peterson from the U.S. and Lexow from Germany) to Canada in 1997.
Reply | Reply with quote | Quote
 
 
0 # sk8r 2011-12-15 21:59
Quote:
This is not the first time Peterson and his partner Mathias Lexow have awed their Yukon customers with their service, quality and fresh flavours. They’ve been doing it consistently for over 10 years, serving scrumptious all-organic meals and baked goods out of a variety of fashionable cafés, shops and restaurants they’ve owned and operated with unwavering devotion and innovation since they immigrated (Peterson from the U.S. and Lexow from Germany) to Canada in 1997.


Wtf you talking about man ......
Reply | Reply with quote | Quote
 

Add comment

Thanks for your comment


Security code
Refresh

Words

  • Character is like a tree and reputation like a shadow. The shadow is what we think of it; the tree is the real thing. "Abraham Lincoln"
  • Imagination is the key to my lyrics. The rest is painted with a little science fiction. "Jimi Hendrix"
  • The leader of genius must have the ability to make different opponents appear as if they belonged to one category. "Adolf Hitler"
  • The art of leadership... consists in consolidating the attention of the people against a single adversary and taking care that nothing will split up that attention."Adolf Hitler"
  • Courage is what it takes to stand up and speak; Courage is also what it takes to sit down and listen. "Winston Churchill"

About You :

IP Address :
38.107.179.243
United States United States
Browser :
Unknown Unknown
Operating System :
Unknown Unknown

Keep This Site Alive

Your Comments on Tips and Tricks:

Banner
Copyright © 2012 MustNoFee
This blog is 1.485 days since Jan, 12 2008