Sponsored Content
Top Forums UNIX for Dummies Questions & Answers manpath errors -- standard way to set? does anyone even use it anymore? Post 302398000 by Neo on Tuesday 23rd of February 2010 02:31:58 PM
Old 02-23-2010
You need to (re) build the apropos database to get man -k to work properly.

Have you looked at the man page for mandb?

Quote:


mandb is used to initialise or manually update index database caches
that are usually maintained by man. The caches contain information
relevant to the current state of the manual page system and the infor-
mation stored within them is used by the man-db utilities to enhance
their speed and functionality.

When creating or updating an index, mandb will warn of bad ROFF .so
requests, bogus manual page filenames and manual pages from which the
whatis cannot be parsed.

Supplying mandb with an optional colon-delimited path will override the
internal system manual page hierarchy search path, determined from
information found within the man-db configuration file
.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How does the PATH and MANPATH environment variable get set?

Hi, How does the PATH and MANPATH environment variable get set? I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable. I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies

2. Shell Programming and Scripting

standard error to standard out question

Hi there how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Discussion started by: hcclnoodles
5 Replies

3. UNIX for Dummies Questions & Answers

Input of char 's' is not possible anymore

Hello, I have a big problem and no idea how to solve it. I was looking up commands in /bin with 'man' as I found 'sh'. In mistake I started the command. Now after that I can not input the character 's' in shell anymore! Even after restarting system the problem is still there. Mysterious... (7 Replies)
Discussion started by: daWonderer
7 Replies

4. UNIX for Dummies Questions & Answers

Redirect Standard output and standard error into spreadsheet

Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway? Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies

5. Red Hat

Where set manpath?

I know that the manpath varable /etc/man.config: # Every automatically generated MANPATH includes these fields # MANPATH /usr/man MANPATH /usr/share/man MANPATH /usr/local/man MANPATH /usr/local/share/man MANPATH /usr/X11R6/man but run manpath result: # manpath... (0 Replies)
Discussion started by: lazycat79
0 Replies

6. Shell Programming and Scripting

MANPATH undefined error

Hello All, I m using Linux OS and the default shell is C shell. Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the... (1 Reply)
Discussion started by: jambesh
1 Replies

7. UNIX for Dummies Questions & Answers

man page in MANPATH not found

dear unix experts, the 'man' command on my system isn't finding a manpage that is in a MANPATH directory, or even when I specify the path directly: 12:56pm ilya@node1390 /idi/sabetilab/ilya/usr/share/man $ man -M . xemacs No manual entry for xemacs 12:56pm ilya@node1390... (4 Replies)
Discussion started by: notestaff
4 Replies

8. Slackware

Anyone Using Slackware Anymore?

We used to use Slackware, but then moved all our servers to Ubuntu Linux. Does anyone use Slackware anymore? (8 Replies)
Discussion started by: Neo
8 Replies

9. Red Hat

Cannot set 'soft limits' for 'maximum stack size' for a standard user

Hi Guys, I'm trying to install Oracle Database on to Oracle Linux 7.6 but when the database install package checks the OS set-up, it keeps on failing on the soft limits for the stack. It's default value is 8192 but I'm trying to set it to 10240. This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
MANDB(8)							Manual pager utils							  MANDB(8)

NAME
mandb - create or update the manual page index caches SYNOPSIS
mandb [-dqsucpt?V] [-C file] [manpath] mandb [-dqsut] [-C file] -f filename ... DESCRIPTION
mandb is used to initialise or manually update index database caches that are usually maintained by man. The caches contain information relevant to the current state of the manual page system and the information stored within them is used by the man-db utilities to enhance their speed and functionality. When creating or updating an index, mandb will warn of bad ROFF .so requests, bogus manual page filenames and manual pages from which the whatis cannot be parsed. Supplying mandb with an optional colon-delimited path will override the internal system manual page hierarchy search path, determined from information found within the man-db configuration file. DATABASE CACHES
mandb can be compiled with support for any one of the following database types. Name Type Async Filename ------------------------------------------------------------- Berkeley db Binary tree Yes index.bt GNU gdbm Hashed Yes index.db UNIX ndbm Hashed No index.(dir|pag) Those database types that support asynchronous updates provide enhanced speed at the cost of possible corruption in the event of unusual termination. In an unusual case where this has occurred, it may be necessary to rerun mandb with the -c option to re-create the databases from scratch. OPTIONS
-d, --debug Print debugging information. -q, --quiet Produce no warnings. -s, --no-straycats Do not spend time looking for or adding information to the databases regarding stray cats. -p, --no-purge Do not spend time checking for deleted manual pages and purging them from the databases. -c, --create By default, mandb will try to update any previously created databases. If a database does not exist, it will create it. This option forces mandb to delete previous databases and re-create them from scratch, and implies --no-purge. This may be necessary if a database becomes corrupt or if a new database storage scheme is introduced in the future. -u, --user-db Create user databases only, even with write permissions necessary to create system databases. -t, --test Perform correctness checks on manual pages in the hierarchy search path. With this option, mandb will not alter existing databases. -f, --filename Update only the entries for the given filename. This option is not for general use; it is used internally by man when it has been compiled with the MAN_DB_UPDATES option and finds that a page is out of date. It implies -p and disables -c and -s. -C file, --config-file=file Use this user configuration file rather than the default of ~/.manpath. -?, --help Show the usage message, then exit. --usage Print a short usage message and exit. -V, --version Show the version, then exit. EXIT STATUS
0 Successful program execution. 1 Usage, syntax, or configuration file error. 2 Operational error. 3 A child process failed. DIAGNOSTICS
The following warning messages can be emitted during database building. <filename>: whatis parse for page(sec) failed An attempt to extract whatis line(s) from the given <filename> failed. This is usually due to a poorly written manual page, but if many such messages are emitted it is likely that the system contains non-standard manual pages which are incompatible with the man- db whatis parser. See the WHATIS PARSING section in lexgrog(1) for more information. <filename>: is a dangling symlink <filename> does not exist but is referenced by a symbolic link. Further diagnostics are usually emitted to identify the <filename> of the offending link. <filename>: bad symlink or ROFF `.so' request <filename> is either a symbolic link to, or contains a ROFF include request to, a non existent file. <filename>: ignoring bogus filename The <filename> may or may not be a valid manual page but its name is invalid. This is usually due to a manual page with sectional extension <x> being put in manual page section <y>. <filename_mask>: competing extensions The wildcard <filename_mask> is not unique. This is usually caused by the existence of both a compressed and uncompressed version of the same manual page. All but the most recent are ignored. FILES
/etc/manpath.config man-db configuration file. /var/cache/man/index.(bt|db|dir|pag) An FHS compliant global index database cache. Older locations for the database cache included: /usr/man/index.(bt|db|dir|pag) A traditional global index database cache. /var/catman/index.(bt|db|dir|pag) An alternate or FSSTND compliant global index database cache. SEE ALSO
lexgrog(1), man(1), manpath(5), catman(8) The WHATIS PARSING section formerly in this manual page is now part of lexgrog(1). AUTHOR
Wilf. (G.Wilford@ee.surrey.ac.uk). Fabrizio Polacco (fpolacco@debian.org). Colin Watson (cjwatson@debian.org). 2.8.3 2018-04-05 MANDB(8)
All times are GMT -4. The time now is 07:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy