当前位置:网站首页>Locate: cannot execute stat() `/var/lib/mlocate/mlocate Db ': there is no such file or directory
Locate: cannot execute stat() `/var/lib/mlocate/mlocate Db ': there is no such file or directory
2022-07-02 15:47:00 【Six element】
Catalog
scene
When we perform compilation, we need to use the operating system locate Command loading library file , An error is as follows :
[[email protected] ~]# locate lselinux
locate: Unable to execute stat () `/var/lib/mlocate/mlocate.db': There is no file or directory Problems arise
locate: Unable to execute stat () `/var/lib/mlocate/mlocate.db': There is no file or directory
Problem analysis
Use locate When loading library files , Because there is no file index relationship , As a result, the library file cannot be searched , To report a mistake .
resolvent
Update the index relationship of the library file
[[email protected] ~]# updatedbRe execution locate success
other
Usually, if your operating system does not locate command , After you install the tool as follows , Immediate execution will also report errors in the scene description
yum install -y mlocate边栏推荐
- Soul torture, what is AQS???
- beforeEach
- [leetcode] 977 - carré du tableau ordonné
- Lseek error
- PHP static members
- 二叉树前,中,后序遍历
- 2022 college students in Liaoning Province mathematical modeling a, B, C questions (related papers and model program code online disk download)
- 《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
- 【LeetCode】577-反转字符串中的单词 III
- [leetcode] 1140 stone game II
猜你喜欢

《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量

PTA ladder game exercise set l2-001 inter city emergency rescue

【LeetCode】1162-地图分析

【LeetCode】1254-统计封闭岛屿的数量

自定义异常
![[leetcode] 1254 - count the number of closed Islands](/img/84/f888ae0e164951cd9623fb3bf4a984.png)
[leetcode] 1254 - count the number of closed Islands

Custom exception
![[leetcode] 1905 statistics sub Island](/img/82/d2f7b829f5beb7f9f1eabe8d101ecb.png)
[leetcode] 1905 statistics sub Island

Deux séquences ergodiques connues pour construire des arbres binaires
![[leetcode] 417 - Pacific Atlantic current problem](/img/30/c541bc1e81eb4e348ca11116a05e84.png)
[leetcode] 417 - Pacific Atlantic current problem
随机推荐
蚂蚁集团大规模图计算系统TuGraph通过国家级评测
[experience cloud] how to get the metadata of experience cloud in vscode
College entrance examination score line climbing
6.12 critical moment of Unified Process Platform
Aike AI frontier promotion (7.2)
[leetcode] 486 predict winners
数组和链表的区别浅析
/bin/ld: 找不到 -lssl
[leetcode] 19 delete the penultimate node of the linked list
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
高考分数线爬取
Strings and arrays
【LeetCode】189-轮转数组
The outline dimension function application of small motherboard
Some problems about pytorch extension
locate: 无法执行 stat () `/var/lib/mlocate/mlocate.db‘: 没有那个文件或目录
Demo of converting point cloud coordinates to world coordinates
数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码
[leetcode] 977 - carré du tableau ordonné
树-二叉搜索树