码迷,mamicode.com
首页 > 数据库 > 详细

locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

时间:2016-07-21 20:06:35      阅读:357      评论:0      收藏:0      [点我收藏+]

标签:locate: can not stat () `/var/lib/mlocate/mlocate.db': no such file or directory

刚装了centos6.0,运行locate命令,控制台提示

locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory


如果出现此错误,请执行updatedb


这个命令要花一小点时间,然后再执行locate操作就行了


本文出自 “尼古风锁丝愁过” 博客,请务必保留此出处http://smoke520.blog.51cto.com/9256117/1828471

locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

标签:locate: can not stat () `/var/lib/mlocate/mlocate.db': no such file or directory

原文地址:http://smoke520.blog.51cto.com/9256117/1828471

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!