1826219 Members
3337 Online
109691 Solutions
New Discussion

*Some* manpages hiding?

 
SOLVED
Go to solution
jmb
Regular Advisor

*Some* manpages hiding?

I've just done a clean 11i install, without problems. I do not have manpages for "traceroute" or "whence", yet most other commands are there. I've run 'catman'. The only place I can find a traceroute file is a .cat file under /usr/lib/nls...
It's not traceroute that's a problem - it's that I want all the manpages to work, if they exist.
I'm also adding some utilities (sudo, tcp_wrappers, apache, etc). I need to connect the manpages for those. Can I just insert symlinks into /usr/share/man, or do I need to actually copy files over?

Thanks for any suggestions.
18 REPLIES 18
Steven E. Protter
Exalted Contributor

Re: *Some* manpages hiding?

Check the PATH.

You should not hae to take special actions for man pages, if you install them from depot. Maybe if you did compile off source though, though you should not have an issue.

Try this command and see if it generates an error. It enhances man functionality.

catman -w
then man -k

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: *Some* manpages hiding?

$ man traceroute
No manual entry for traceroute.
$ man whence
No manual entry for whence.
$ uname -a
HP-UX tsws1 B.11.11 U 9000/785 2006482480 unlimited-user license
$



Me, too! Curious.


Pete

Pete
S.K. Chan
Honored Contributor

Re: *Some* manpages hiding?

You just have to update MANPATH variable in /etc/profile to make any additional man pages available globally. For example I have a unix utility called "checkuids" which sits in /usr/apps/local/bin and the man pages for that sits in /usr/apps/man/man8.Z/checkuids.8, so I just add the path /usr/apps/man to the list of other man paths in the var MANPATH. I think that's all you need to do really.
James R. Ferguson
Acclaimed Contributor

Re: *Some* manpages hiding?

Hi:

'whence' is a shell built-in. You can do a 'man sh-posix' to find out more about it.

As for 'traceroute', look in '/usr/contrib/bin' and '/usr/contrib/man' for the binary and man pages respectively.

Check 'echo $MANPATH' to see if your MANPATH includes '/usr/contrib'. It should.

Regards!

...JRF...
jmb
Regular Advisor

Re: *Some* manpages hiding?

My PATH and MANPATH are fine. MANPATH is too long already, I don't want to add more to it, which is why I wanted to use symlinks. I just tried that out, and it worked. (In /usr/local/man/man1, I set up " md5.1 -> /opt/md5/man/man1/md5.1", and that works, after a "catman -w".

As far as traceroute, if Pete is also missing the pages, I'm guessing HP just hasn't done them (unlike some other Unix vendors!). So what's the .cat file under /usr/lib...?
Pete Randall
Outstanding Contributor

Re: *Some* manpages hiding?

I figured it was because traceroute was "contributed", as JRF pointed out, but there is still no man page for it anywhere on my system.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: *Some* manpages hiding?

Hi:

In answer to your question of what is the "cat" file under '/usr/lib/nls': The file is a "cat"alog file of messages. Do:

# dumpmsg

to see the contents. Do a 'man dumpmsg' for more information.

For instance, if you want to see the possible messages produced by 'fbackup', do:

# dumpmsg /usr/lib/nls/C/fbackup.cat

Regards!

...JRF...
Jeff Schussele
Honored Contributor

Re: *Some* manpages hiding?

Hi,

traceroute is not an HP developed util - it's a contributed util.
That's why it loads into /usr/contrib/bin & the man pgs into /usr/contrib/man

Funny thing is that it's a section 1 man pg & if you search thusly

man 1 traceroute

You'll get the page. If you don't specify the section, you won't.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Pete Randall
Outstanding Contributor

Re: *Some* manpages hiding?

$ man 1 traceroute
No entry for traceroute in section 1 of the manual.

Pete

Pete
jmb
Regular Advisor

Re: *Some* manpages hiding?

Yeah, me neither. I do have man pages for a lot of the other processes in /usr/contrib/bin, but not traceroute. The answer for whence (see above) worked.
Jeff Schussele
Honored Contributor

Re: *Some* manpages hiding?

Hi,

You need to have the following in MANPATH

..../usr/contrib/man/%L:/usr/contrib/man:....

Then
man 1 traceroute will work.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Pete Randall
Outstanding Contributor

Re: *Some* manpages hiding?

$ export MANPATH=/usr/contrib/man/%L:/usr/contrib/man:$MANPATH
$ man 1 traceroute
No entry for traceroute in section 1 of the manual.
$


Pete

Pete
Jeff Schussele
Honored Contributor

Re: *Some* manpages hiding?

Pete,

Do you have the traceroute.1 file in /usr/contrib/man/man1.Z ?

If not - there's your problem.
Mines an 11i system patched to Dec '02. The file's dated May 21 '02. I *think* this is when the "new" traceroute came in - you know the one that forces you to use -i lanX to force the traceroute out the proper NIC, else it goes out the first NIC found.
I suspect the traceroute man page came in then as well.

I've checked older 11 & 11i systems that are NOT patched to Dec '02 & they don't have the man page file.

So to get the man page it appears you need to patch up to Dec '02, but be advised of the new "features" of traceroute & YES, I've complained to HP about this. It's caused several wild-goose chases when unknowing SAs try to track down nonexistent routing issues.

Cheers,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bill Hassell
Honored Contributor

Re: *Some* manpages hiding?

Unfortunately, not many packages put the man pages in the traditional /usr/share/man location. An extremely long MANPATH value is normal and not a problem (like PATH which is not used for the man command). While you can use symlinks to put these wayward paths into the man command, keeping track of the links can be a problem. Another solution is to use something like /usr/contrib/man as a store for odd man page locations. A lot of apps will install into /opt and have a separate /opt/app_name/man directory...just copy the man pages to the appropriate locations in /usr/contrib/man.


Bill Hassell, sysadmin
Pete Randall
Outstanding Contributor

Re: *Some* manpages hiding?

Jeff,

Thanks, I'll check in the morning, seeing as I'm home now. I couldn't understand why I was seeing nothing and you were.


Pete

Pete
jmb
Regular Advisor

Re: *Some* manpages hiding?

Bill, I'll follow your advice and copy in the file. Whatever works...

Jeff, I've got the GOLDAPPS11i and GOLDBASE11i from Dec. 2002, installed over the base OS dated Sept. 2002. I have the FEATURE11-11 which is dated Sep, 2002.

Which patch package is missing, with the updated version of traceroute? Thanks.

Jeff Schussele
Honored Contributor
Solution

Re: *Some* manpages hiding?

Hi Guys,

Did a little digging & this is what I found.

Appears the new binary AND the man page come in the

Networking.NET-RUN fileset in 11i

Then my systems also show a patch that supersedes that

PHNE_27063

It also contains a new binary & man page.

So do at least a

swlist -l fileset Networking.NET-RUN

and also look for PHNE_27063

swlist -l patch PHNE_27063

Later,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
jmb
Regular Advisor

Re: *Some* manpages hiding?

Jeff,

That worked. That particular patch is now superceded by another rec: PHNE_28089. I installed that, and I now have mapages for traceroute!

Thanks again.