Operating System - HP-UX
1826160 Members
4521 Online
109691 Solutions
New Discussion

How to install manpages for "man"

 
Al Langen_2
Advisor

How to install manpages for "man"

I have installed the man pages from the CORE OS cd using Document Id A4384343.
However, man man still results in "no entry for man."
6 REPLIES 6
Alan Riggs_1
Regular Advisor

Re: How to install manpages for "man"

Check your MANPATH variale. Make sure it points to the location where your man
pages are installed.
Al Langen_2
Advisor

Re: How to install manpages for "man"

Client has two HP servers both running 10.20. MANPATH is identical on both.
However, number of manpages in /usr/share/man/man1.Z is 446 on one machine and
276 on the other.
Before doing so, I was wondering if copying the /usr/share directory from one
machine to the other would work. Since swinstall required a re-boot, my fear
is that there is some library or executable that needed to be re-installed.
Alan Riggs_1
Regular Advisor

Re: How to install manpages for "man"

If man itself is functioning properly, but you are simply missing some pages,
then you should be able to just copy the file structures. Does man *anything*
work? Also, if the servers are not identically configured for all software
then a difference in file count does not necessarily imply a problem. Many
software installations install their own man pages, and some of them use the
default manpaths.
Al Langen_2
Advisor

Re: How to install manpages for "man"

Hardware is different, but o/s level is identical and both processors are
800's.
Alan Riggs_1
Regular Advisor

Re: How to install manpages for "man"

That would mean your base system man pages are identical, but it says nothing
about the layered products you might be using. Each of these has the potential
to load documentation pages into the man structure. You haven't said, though,
whether man works for any page. Is it just man man that fails, or all man
requests?
Al Langen_2
Advisor

Re: How to install manpages for "man"

About half of the manpages were present. No pattern as to which were there or
not. We have made a tar backup of /usr/share and copied /usr/share from
another. So far, no problems.
The man page for man lies under /usr/share/man/man1.Z for every other system I
have looked at. I am questioning why the restore of the manpages omitted so
many files.