当前位置:网站首页>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边栏推荐
- ssh/scp 使不提示 All activities are monitored and reported.
- Add an empty column to spark dataframe - add an empty column to spark dataframe
- 高考录取分数线爬取
- The outline dimension function application of small motherboard
- 【LeetCode】486-预测赢家
- 【LeetCode】877-石子游戏
- [development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
- 树-二叉搜索树
- Thoroughly understand browser strong cache and negotiation cache
- Moveit obstacle avoidance path planning demo
猜你喜欢

使用 percona 工具给 MySQL 表加字段中断后该如何操作

全是精华的模电专题复习资料:基本放大电路知识点

Thoroughly understand browser strong cache and negotiation cache

蚂蚁集团大规模图计算系统TuGraph通过国家级评测

(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice

怎样从微信返回的json字符串中截取某个key的值?

二叉树前,中,后序遍历

Two traversal sequences are known to construct binary trees

How to intercept the value of a key from the JSON string returned by wechat?

《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
随机推荐
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
2303. 计算应缴税款总额
【LeetCode】1254-统计封闭岛屿的数量
树-二叉搜索树
睿智的目标检测23——Pytorch搭建SSD目标检测平台
[leetcode] 486 predict winners
Strings and arrays
[leetcode] 200 number of islands
(万字精华知识总结)Shell脚本编程基础知识
/bin/ld: 找不到 -lssl
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
6090. Minimax games
[leetcode] 283 move zero
Moveit 避障路径规划 demo
[leetcode] 1162 map analysis
[leetcode] 977 - carré du tableau ordonné
怎样从微信返回的json字符串中截取某个key的值?
【LeetCode】200-岛屿数量
终于搞懂了JS中的事件循环,同步/异步,微任务/宏任务,运行机制(附笔试题)
Golang MD5 encryption and MD5 salt value encryption