LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2004, 04:53 PM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
man error in suse 9, kernel update questions as well


when i try to "man" a command, it returns the following error:

gdbm fatal: read error

what does it mean? I am running suse 9 with k 2.6.0.

I did a kernel update not long ago through a rpm file. It seems to mess a few things up. I was going to compile the kernel but the box kept telling me the linux source code is not avaiable, finally gave up and just used rpm instead. I also couldn't run the patch file, when i did patch -E p1 <Kernel_patch>, nothing happened, so that's why i just rpm it. The rpm seemed to keep the old kernel as well, but somehow i can't get to it. I use grub and try to edit it in order to manually added old kernel back to boot list. So when i edit the /boot/grub/menu.lst file, i just copy of the lines for the new kernel, paste it, and change the "initrd=<new kernel image>". Interesting, out of everything i read, it should something like initrd(kernel#).img, but i could not find in my system. the new inrtd used by the new kernel is an alias pointing to a file initrd-2.6.0-test5-10-default, there is no 'img' as an ending. Can anyone tell me what's going on? If what i wrote is too confusing, please let me know and i will try to make it more clear. Thx.
 
Old 03-04-2004, 01:52 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
gdbm fatal: read error: try mandb -csp

Hi -

PROBLEM:
---------------
I had exactly the same problem with SusE 8.2:

1. Many of the "man" pages worked OK (example: "man ls" => NO PROBLEM)

2. Most "man" lookups, however, failed:
man connect =>
"gdbm fatal: read error".

3. If I did an "apropos SUBJECT", then specified the section, it worked:
a) man connect
<= GDBM FATAL: READ ERROR
b) apropos connect
<= THE SOCKETS "CONNECT()" API DOCUMENTED IN SECTION 2
c) man 2 connect
<= THIS WORKS OK

CAUSE:
-----------
I tried a "mandb -c" to recreate the index, and discovered "whatis" couldn't
parse many (about 300 or so) man pages.

In other words, the global "man" index could not be build because of
numerous local "whatis" parse errors.

EXAMPLE:
a) su - root
b) mandb -c =>mandb: warning: /usr/share/man/man1/eyuvtoppm.1.gz: whatis parse for eyuvtoppm(1) failed
mandb: warning: /usr/share/man/man1/pnmtotiffcmyk.1.gz: whatis parse for pnmtotiffcmyk(1) failed
mandb: warning: /usr/share/man/man1/pgmnoise.1.gz: whatis parse for pgmnoise(1) failed
<= MANY MORE ERRORS LIKE THIS

SOLUTION:
----------------
Rebuild the "man" index using "mandb -csp" instead of "mandb -c"
<= THIS SUCCESSFULLY REBUILDS THE "MAN" INDEXES
YOU SHOULD NO LONGER GET ANY "GDBM" ERRORS ... EVEN
THE OFFENDING PAGES (LIKE "pgmnoise") SHOULD WORK OK

Cheers .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
update kernel error longnam Slackware 3 05-25-2006 08:24 PM
SUSE LINUX Professional 9.3 Update Questions cheetahman SUSE / openSUSE 2 04-26-2005 11:34 AM
Error executing man after kernel recompile vharishankar Slackware 1 02-18-2005 04:33 AM
kernel update error mfeyzifar Mandriva 2 05-09-2004 06:24 PM
hotplug error on suse with 2.6 kernel after update gazzer82 Linux - General 4 03-06-2004 07:06 PM


All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration