Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED man whatis missing

Discussion in 'General Discussion' started by rhm.geerts, Dec 8, 2017.

  1. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    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?
     
  2. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    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.
     
  3. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    981
    Likes Received:
    385
    Trophy Points:
    113
    Location:
    Spain
    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)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    rhm.geerts likes this.
  4. rhm.geerts

    rhm.geerts Well-Known Member

    Joined:
    Jul 29, 2008
    Messages:
    93
    Likes Received:
    6
    Trophy Points:
    58
    Location:
    Maastricht
    cPanel Access Level:
    Root Administrator
    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!
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,444
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice