man whatis missing
Hello.
I installed newly a Centos 6 minimal server.
Then did a fresh cpanel installation.
Now this error occurs:
The file /usr/sbin/makewhatis exists but the directory /var/cache/man does not exist, neither does any "whatis" file. The command "man whatis" and "man makewhatis" does work. On our other Cpanel server with Centos 5, there is a /var/cache/man directory with lots of content. How can we fix this?
/etc/cron.daily/makewhatis.cron:
cp: cannot create regular file `/var/cache/man/whatis': No such file or directory
/usr/sbin/makewhatis: line 446: /var/cache/man/whatis: No such file or directory
chmod: cannot access `/var/cache/man/whatis': No such file or directoryThe file /usr/sbin/makewhatis exists but the directory /var/cache/man does not exist, neither does any "whatis" file. The command "man whatis" and "man makewhatis" does work. On our other Cpanel server with Centos 5, there is a /var/cache/man directory with lots of content. How can we fix this?
-
Addition: Created a /var/cache/man directory manually and did a yum reinstall man and yum reinstall man pages. Got content in there now, but still no "whatis" file. 0 -
Try running /usr/sbin/makewhatis as root and see if it builds your /var/cache/man/whatis file (can take several minutes to complete) 0 -
Tried running the cron again which only made a 0 byte whatis file. Your solution worked, the whatis file is present and filled now, thank you! 0 -
Hello, I'm glad to see the earlier response helped. I've marked this thread as solved. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments