Инструменты пользователя
- Войти
locate._var_lib_mlocate_mlocate.db_no_such_file_or_directory
Содержание
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
Проблема
root@workpc:~/ $ locate locate locate: не удалось выполнить stat () «/var/lib/mlocate/mlocate.db»: No such file or directory
Лечение
locate._var_lib_mlocate_mlocate.db_no_such_file_or_directory.txt
· Последнее изменение: 2016/08/29 00:00 (внешнее изменение)
Инструменты страницы
- Показать исходный текст
- История страницы
- Ссылки сюда
- Наверх
A handy package to search through indexed files is mlocate which you will get bundled in a server or workstation installation of a Linux operating system.
The first time you will always get this error:
[root@puppetmaster manifests] locate "site.pp" locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directoryThis means that the file mlocate.db is missing because the file index database has never been builded before.
Run this command to build the file index database:
[root@puppetmaster manifests] updatedbYou also can run this command to update the database.
Note that it could take a while to build the database.
Written by Administrator on Monday April 6, 2020 While installing some program or package or library on your system, you can meet an error:
Very often, problem is in out-of-date db. You can easily fix it running a command:
$ sudo updatedbProblem is solved!
Category: linux Tags: opensuse locate
« How to install Draw.io on Linux How to install GIT in Solus OS [with … »Read these next...
Hyper-V Type 1 vs Type 2. Why, not just what?
VirtualizationI'm just starting out with Virtualization for production. I know I'm late to the game but it is what it is. If I read one more article that explains Type 1 is bare metal, I'm going to cram some bare metal into my eyeballs. I understand what they are, I...
That Sinking Feeling, and how I fought it.
IT & Tech CareersDo you ever get that feeling that it is all going to pot? Or more accurately I should ask, Do you ever NOT get that feeling?! At least it happened on a Friday, so I can fully justify my double rations of Guinness tonight. And maybe whiskey too. An...
Snap! Edge News Feed scams, EU's largest DDoS attack to date, SSDs vs HDDs, etc
Spiceworks OriginalsYour daily dose of tech news, in brief. We've made it to Friday, everyone! I hope everyone has a great, fun, and relaxing weekend! But before you start checking out, let's jump into today's Snap! You need to hear this. Microsoft Edge’s News F...
In depth story of industrial espionage, complete with social engineering
SecurityThe bit about getting the "horse" planted reminded me of how vulnerable we all are to that kind of attack vector. Thank goodness my company doesn't design jet engines!//www.bloomberg.com/news/features/2022-09-15/china-wanted-ge-s-secrets-but-then-th...
Spark! Pro Series - September 16th, 2022
Water CoolerSummer has faded more and the march towards fall is nearly over. The days are shorter, the nights cooler, of course depending on where you live. The day is September 16th, the year is 1908 and, on this day, “Ge...