当前位置:网站首页>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边栏推荐
- 奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
- [leetcode] 695 - maximum area of the island
- Ant group's large-scale map computing system tugraph passed the national evaluation
- 2303. 计算应缴税款总额
- 数组和链表的区别浅析
- 高考录取分数线爬虫
- 6092. 替换数组中的元素
- Wechat Alipay account system and payment interface business process
- 【LeetCode】344-反转字符串
- Basic knowledge of cryptography
猜你喜欢
![[network security] network asset collection](/img/3e/6665b5af0dedfcbc7bd548cc486878.png)
[network security] network asset collection

【LeetCode】1254-统计封闭岛屿的数量
![[leetcode] 417 - Pacific Atlantic current problem](/img/30/c541bc1e81eb4e348ca11116a05e84.png)
[leetcode] 417 - Pacific Atlantic current problem

使用 percona 工具给 MySQL 表加字段中断后该如何操作
![[leetcode] 1254 - count the number of closed Islands](/img/84/f888ae0e164951cd9623fb3bf4a984.png)
[leetcode] 1254 - count the number of closed Islands

PTA 天梯赛习题集 L2-001 城市间紧急救援

Redux——详解

《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究

彻底弄懂浏览器强缓存和协商缓存

Thoroughly understand browser strong cache and negotiation cache
随机推荐
【LeetCode】876-链表的中间结点
Basic knowledge of cryptography
[leetcode] 1020 number of enclaves
6091. 划分数组使最大差为 K
[leetcode] 977 - carré du tableau ordonné
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
Some problems about pytorch extension
lseek 出错
ssh/scp 使不提示 All activities are monitored and reported.
[leetcode] 695 - maximum area of the island
/bin/ld: 找不到 -lxml2
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
【LeetCode】19-删除链表的倒数第N个结点
夏季高考文化成绩一分一段表
Redux——详解
[idea] recommend an idea translation plug-in: translation "suggestions collection"
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
Aike AI frontier promotion (7.2)
For the problem that Folium map cannot be displayed, the temporary solution is as follows
C # get PLC information (kepserver) II