我装的是Magic linux 1.2版本的,在/var/log/下面并没有messages,而且我的locate也用不起来,好像是没有装:
[root@node2 /]# locate messages
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[root@node2 /]#
我想用locate,也想找到messages,请高手帮助!
[quote:aabbe5cd58="wzwhh"]我装的是Magic linux 1.2版本的,在/var/log/下面并没有messages,而且我的locate也用不起来,好像是没有装:
[root@node2 /]# locate messages
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[root@node2 /]#
我想用locate,也想找到messages,请高手帮助![/quote]
dmesg看啊。
[quote:39063e12d1="wzwhh"]我装的是Magic linux 1.2版本的,在/var/log/下面并没有messages,而且我的locate也用不起来,好像是没有装:
[root@node2 /]# locate messages
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[root@node2 /]#
我想用locate,也想找到messages,请高手帮助![/quote]
You need to run the 'updatedb' command (as root) to create the database. 我翻译一下,你需要运行用root用户执行 updatedb 。