- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can not create full "/usr/share/lib/whatis" databa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 01:12 AM
04-15-2004 01:12 AM
Can not create full "/usr/share/lib/whatis" database file?
My "/usr/share/lib/whatis" database file was 2002 byte.
What I did up to now (as root user):
1.rm /usr/share/man/cat*
2.rm all cat* directories from my $MANPATH
3.echo $MANPATH
/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hpnp/man
4.catman (catman creates again all cat* dirs and they were full, I mean to say, files in man*.Z are almost the same like in cat*.Z dirs)
5.catman -w (it executes /usr/lbin/mkwhatis)
Again my "/usr/share/lib/whatis" database file is 2002 byte.
6.I install "PHCO_24691 B.10.00.00.AA /usr/lbin/getNAME patch"
7.Again I did all steps above.
And now my "/usr/share/lib/whatis" database file is 3641 byte.
8.pwd
/usr/share/lib
9.ll whatis
-rw-r--r-- 1 root sys 3641 Apr 15 14:41 whatis
Please help me, where I'm wrong.
Thanks in advantage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 04:03 PM
04-15-2004 04:03 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
rm /usr/share/lib/whatis
and execute catman.
(I think catman command find man pages which newer than whatis file time stamp.)
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 05:29 PM
04-15-2004 05:29 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
Please check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99091
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 11:54 PM
04-15-2004 11:54 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
sorry but I forget to mention, I did
rm /usr/share/lib/whatis before executing catman.
Unfortunately and this link couldn't help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2004 12:01 PM
04-18-2004 12:01 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
Try to execute catman with -p option.
(-p Prints what would be done instead of doing it.)
or,
more /usr/share/lib/whatis
This file is ASCII text.
What is there?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 07:22 PM
04-19-2004 07:22 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
link cat2.Z/gtty.2 cat2.Z/gtty.2
link cat2.Z/gtty.2 cat2.Z/stty.2
link cat2.Z/kill.2 cat2.Z/kill.2
link cat2.Z/kill.2 cat2.Z/raise.2
"/usr/share/lib/whatis" contain some commands(about 36) and their descriptions, this is just a parts of file:
addprinter addprinter allows user add new printer bootptab through coaddprinter
hpnpsb(1m) - print-job status broker
xjdm(1) - monitor network printing devices
xjmore(1) - display a file in a scrollable Motif window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 07:54 PM
04-19-2004 07:54 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
/usr/lbin/mkwhatis is shell script.
so, how about set -x option.
# sh -x /usr/lbin/mkwhatis
It shows what mkwhatis do.
or where mkwhatis exit with error.
(with -e option)
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 09:22 PM
04-19-2004 09:22 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
mv: /usr/share/lib/whatis: cannot access: No such file or directory
the script mkwhatis try to move whatis in whatis.old
No other errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 09:50 PM
04-19-2004 09:50 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
mkwhatis search man dirs.
try to
# sh -x /usr/lbin/mkwhatis | grep dirs
and
# sh -x /usr/lbin/mkwhatis | grep cd
Did mkwhatis cd all dirs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 10:58 PM
04-19-2004 10:58 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
I already check "/usr/share/lib/whatis" and it contain commands from all dirs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 12:30 AM
04-20-2004 12:30 AM
Re: Can not create full "/usr/share/lib/whatis" database file?
Just getNAME don't work well?
Can you debug mkwhatis?
I can't support getNAME... sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 12:49 AM
04-20-2004 12:49 AM
Re: Can not create full "/usr/share/lib/whatis" database file?
I will try to find a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 08:33 PM
04-21-2004 08:33 PM
Re: Can not create full "/usr/share/lib/whatis" database file?
I found a problem with "case" loop and with "$TEMPZ" variable now it works fine.