1834921 Members
2948 Online
110071 Solutions
New Discussion

Re: No manual entry

 
Achilles_2
Regular Advisor

No manual entry

hi all,

I have installed lsof and fping completely and then I type man to learn how to use but it said that : No manual entry for lsof/fping.

Do anyone help me to answer it, thanks.

Alex
6 REPLIES 6
Michael Tully
Honored Contributor

Re: No manual entry

It could that you may need to add the entry into /etc/MANPATH or the id your using makes no reference to it.

# whereis lsof
lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8

# more /etc/MANPATH
/opt/ipf/man:/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/o
pt/mx/share/man:/opt/sec_mgmt/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/gnome/man:/opt/ign
ite/share/man/%L:/opt/ignite/share/man:/opt/wbem/share/man:/opt/sec_mgmt/share/man/%L:/opt/ssh/share/man:/opt/graphics
/common/man
Anyone for a Mutiny ?
Achilles_2
Regular Advisor

Re: No manual entry

I tried to edit /opt/fping/sbin/man/man8 to the file /etc/MANPATH, but it's still failed to use man.
Matti_Kurkela
Honored Contributor

Re: No manual entry

You said: "I tried to edit /opt/fping/sbin/man/man8 to the file /etc/MANPATH, but it's still failed to use man."

MANPATH does not need to point to the directory where the actual man page files are, but to the top of the manual page hierarchy.

So you should have added only /opt/fping/sbin/man to /etc/MANPATH. The "man" command will automatically append the "man8" path element when searching for the page.

Also, /opt/fping/sbin/man looks wrong. Are you sure the directory is not /opt/fping/man?

If you're installing an utility like this from a source package, you might want to take a peek at the manual page before installing the utility. You can do this by giving the "man" command a pathname to the man page file (like .1 or .8).

Examples:
man ./lsof.8
man /opt/fping/man/man8/fping.8

Anything with a "/" character in it will make the "man" command look to the exact file you specified. But for frequent use, setting up the correct value for MANPATH is way more convenient.
MK
Achilles_2
Regular Advisor

Re: No manual entry

There is a file fping.8 in /opt/fping/man/man8, I try use the command man fping.8, but is said that no manual entry for fping.
Sunil Sharma_1
Honored Contributor

Re: No manual entry

Hi,

check the MANPATH variable.

echo $MANPATH
it should have entry for /opt/fping/man/man8. if entry is not there run
export MANPATH=$MANPATH:/opt/fping/man/man8
then try man fping .

If it work add tghis entry in /etc/MANPATH file.

Suni
*** Dream as if you'll live forever. Live as if you'll die today ***
Achilles_2
Regular Advisor

Re: No manual entry

I tried but still failed