今天遇到一个这样的问题:
[root@db1 /]# locate defaults.conf
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory
解决的办法:
更新数据库:
[root@db1 /]# updatedb
[root@db1 /]# less $(locate defaults.conf)
# GDM Configuration file.
#
# This file should not be updated by hand. Since GDM 2.13.0.4,。。。。。。。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8334342/viewspace-612462/ ,如需转载,请注明出处,否则将追究法律责任。