- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MANPATH problem
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
07-10-2005 06:48 PM
07-10-2005 06:48 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 06:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 06:56 PM
07-10-2005 06:56 PM
Re: MANPATH problem
if u have not modify "# Set MANPATH" variable in /etc/profile, just vi to /etc/MANPATH and add the new path with a colon (:) as a separator.
hope it helps.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 06:58 PM
07-10-2005 06:58 PM
Re: MANPATH problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 07:11 PM
07-10-2005 07:11 PM
Re: MANPATH problem
then u just have to create one.
# vi /etc/MANPATH
/usr/share/man/%L:/usr/share/man:/usr/local/man/%L:/usr/local/man/
after adding the rest of the manual path, chown:
# chown bin:bin /etc/MANPATH
# chmod 444 /etc/MANPATH
regards.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 07:36 PM
07-10-2005 07:36 PM
Re: MANPATH problem
So just edit your .profile
MANPATH=$MANPATH:...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2005 10:36 PM
07-10-2005 10:36 PM
Re: MANPATH problem
Are you running a very old version of HP-UX (pre-10.00)? If so, then /etc/PATH and /etc/MANPATH won't exist and you have no choice but to create something like that in that very obsolete system. If this is 10.20 or 11.xx or later, then someone has removed /etc/MANPATH, which is not a good idea. Many installation and patch packages will add updated pathname information to these files. For 10.xx and higher, your /etc/pofile will have statements like:
PATH=`cat /etc/PATH`
MANPATH=`cat /etc/MANPATH`
(usually wrapped in an if test for readability of those files) If those statements are not in /etc/profile, make sure they go back in again. See the original /etc/profile that came with your system at:
/usr/newconfig/etc/profile
And for pre-10.00 systems, just add a statements like the above to your /etc/profile and simply add to the single line in /etc/MANPATH or /etc/PATH as needed. NOTE: Both files must have one long line (become familiar with vi and very long lines) for the complete list.
Bill Hassell, sysadmin