rhm.geerts

Well-Known Member
Jul 29, 2008
134
12
68
Maastricht
cPanel Access Level
Root Administrator
Hello.

I installed newly a Centos 6 minimal server.
Then did a fresh cpanel installation.

Now this error occurs:
Code:
/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 directory
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?
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
458
113
UK
cPanel Access Level
Root Administrator
Try running /usr/sbin/makewhatis as root and see if it builds your /var/cache/man/whatis file (can take several minutes to complete)
 
  • Like
Reactions: rhm.geerts

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
463
Hello,

I'm glad to see the earlier response helped. I've marked this thread as solved.

Thank you.