man page issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users man page issue
# 1  
Old 06-07-2007
man page issue

Man page is not working my system. It is giving the following the following error

> man ls
gdbm fatal: read error

with debug option

> man -d ls
...
....
...
...
using less as pager
checking for locale en_US
add_nls_manpath(): processing /usr/local/man:/usr/share/man:/usr/X11R6/man
adding /usr/local/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/X11R6/man to manpathlist
*manpath search path* = /usr/local/man:/usr/share/man:/usr/X11R6/man
--priv_drop_count = 0
regain_effective_privs()
searching in /usr/local/man, section 1
gdbm fatal: read error


Here the strange thing is that the man pages are working under 'root' id and not under other ids

Please help
# 2  
Old 06-07-2007
Check the permissions on the man pages and their directories.
# 3  
Old 06-07-2007
Quote:
Originally Posted by blowtorch
Check the permissions on the man pages and their directories.
Seems to be okay

/usr/local/man> ll
total 0
drwxr-xr-x 2 root root 72 2007-06-05 10:53 man1
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man2
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man3
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man4
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man5
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man6
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man7
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man8
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man9
drwxr-xr-x 2 root root 48 2004-03-25 16:30 mann


/usr/share/man> ll
total 176
drwxr-xr-x 2 root root 80 2004-03-25 16:30 cat8
drwxr-xr-x 5 root root 120 2004-03-25 16:30 de
drwxr-xr-x 5 root root 120 2004-03-25 16:30 es
drwxr-xr-x 5 root root 120 2004-03-25 16:30 fr
drwxr-xr-x 5 root root 120 2004-03-25 16:30 it
drwxr-xr-x 5 root root 120 2004-03-25 16:30 ja
drwxr-xr-x 2 root root 43992 2007-06-04 18:14 man1
drwxr-xr-x 2 root root 9856 2004-03-25 16:30 man2
drwxr-xr-x 2 root root 95440 2007-06-07 11:18 man3
drwxr-xr-x 2 root root 1200 2004-03-25 17:19 man4
drwxr-xr-x 2 root root 7000 2007-06-02 14:01 man5
drwxr-xr-x 2 root root 144 2004-03-25 17:24 man6
drwxr-xr-x 2 root root 2312 2004-03-25 17:20 man7
drwxr-xr-x 2 root root 13592 2004-04-06 15:01 man8
drwxr-xr-x 2 root root 48 2004-03-25 16:30 man9
drwxr-xr-x 2 root root 7928 2004-03-25 16:30 mann
drwxr-xr-x 3 root root 72 2004-03-25 17:25 pl
drwxr-xr-x 3 root root 72 2004-03-25 16:30 pt_BR
# 4  
Old 06-08-2007
An alternative way to read man page
gunzip -c /usr/share/man/man1/ls.1.gz |nroff -man |less
# 5  
Old 06-08-2007
Any help please on this man page issue?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to write a UNIX man page

I realise that with GNU 'info' a lot of developers become, dare I say it, quite lazy when it comes to providing a well written man page - and some argue they're not needed at all. But I find, in the products that I develop, that man pages are used more often for quick reference, and therefore the... (1 Reply)
Discussion started by: cambridge
1 Replies

2. Solaris

man page question

What does the last change means in man page .. does that this man page has not been updated since 2003 or something else ? newfs-options The options are documented in the newfs man page. SunOS 5.10 Last change: 9 Dec 2003 1 System... (2 Replies)
Discussion started by: fugitive
2 Replies

3. Solaris

Unable to get help from man page

Help, it seem that i am unable to get man help form solaris 10. I am running SunOS unknown 5.10 Generic_120012-14 i86pc i386 i86pc when ever i try to man a command what i get is "No manual entry" like the one below. # man grep No manual entry for grep. # man ls No manual entry for ls.... (8 Replies)
Discussion started by: ezsurf
8 Replies

4. UNIX for Advanced & Expert Users

Man page search issue

I have an issue with my man page configuration. I can able to see man pages for 1st section. But for not the rest of the sections. But If it give section number, man page is working properly Following are the details echo $MANPATH... (4 Replies)
Discussion started by: praveenkumar_l
4 Replies

5. Red Hat

scp-1.2.27 man page

Hi Guys, I'm looking for the man page for scp version 1.2.27 I have an old redhat server that has a few large scripts that use this version and I want to know what the -A flag does and the man page is not on there. (4 Replies)
Discussion started by: Tornado
4 Replies

6. UNIX for Dummies Questions & Answers

adding a man page

I was wonderiong if ther is a way for a user to add a man page specific to thier account. similar to copying the .1 or .1.gz to /usr/share/man/man1 "cp *.1.gz /usr/share/man/man1". Except for using another folder as I don't have access to /usr/share/man/man1. I would think that this might involve... (1 Reply)
Discussion started by: jacob358
1 Replies

7. UNIX for Dummies Questions & Answers

how do you create a man page?

i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies
Login or Register to Ask a Question