Home » Infrastructure » Linux » man problem
man problem [message #280627] Wed, 14 November 2007 04:46 Go to next message
jaspreet30s
Messages: 11
Registered: January 2006
Junior Member
Hi ,
when i type command man cp, it gives error

Failed to open the message catalog man on the path NLSPATH=<none>

No manual entry for cp

but when i run manpath the result is
/usr/man:/opt/autosys/D01/doc

so , any clues how should i go ahead with
Re: man problem [message #280630 is a reply to message #280627] Wed, 14 November 2007 04:57 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Quote:

3.5 Fixing the LANG variable problem

The .sd.sh and .sd.csh files set the LANG variable. This causes problems with perl and man. Man will give the error message

" Failed to open the message catalog man on the path NLSPATH="

Perl will give the error message

" warning: setlocale(LC_CTYPE, "")..."

The .sd.sh file contains a line that sets LANG=us and another that exports a bunch of variables, including LANG. Remove the LANG=us line and remove LANG from the list of variables, and this will be fixed.

In the .sd.csh file (which is formatted for the c shell), you need to remove the line that says "setenv LANG us".


Source
Re: man problem [message #280644 is a reply to message #280630] Wed, 14 November 2007 05:27 Go to previous messageGo to next message
jaspreet30s
Messages: 11
Registered: January 2006
Junior Member
Thanks,
I am not able to find this file on my server.
the command i have used is locate

Re: man problem [message #280653 is a reply to message #280644] Wed, 14 November 2007 05:50 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

What happens if you type
man 1p cp
Re: man problem [message #280654 is a reply to message #280653] Wed, 14 November 2007 06:03 Go to previous messageGo to next message
jaspreet30s
Messages: 11
Registered: January 2006
Junior Member
Hi ,
I get the following message
man: No such file or directory
Failed to open the message catalog man on the path NLSPATH=<none>

No manual entry for lp
No manual entry for cp
Re: man problem [message #280683 is a reply to message #280654] Wed, 14 November 2007 09:06 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Quote:

but when i run manpath the result is
/usr/man:/opt/autosys/D01/doc


Have you verified that the directories exists ?

[Updated on: Wed, 14 November 2007 09:10]

Report message to a moderator

Re: man problem [message #280693 is a reply to message #280627] Wed, 14 November 2007 09:24 Go to previous messageGo to next message
BlackSwan
Messages: 22901
Registered: January 2009
Senior Member
what does ANY of this have to do with ORACLE?

jaspreet30s,
Contact your local Unix System Administrator
Re: man problem [message #280713 is a reply to message #280683] Wed, 14 November 2007 10:25 Go to previous messageGo to next message
jaspreet30s
Messages: 11
Registered: January 2006
Junior Member
yaa these directories are present
Re: man problem [message #280716 is a reply to message #280713] Wed, 14 November 2007 10:28 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Check this

Re: man problem [message #280737 is a reply to message #280716] Wed, 14 November 2007 11:07 Go to previous messageGo to next message
jaspreet30s
Messages: 11
Registered: January 2006
Junior Member
Thanks tahpush,
Setting my manpath variable solved my problem
Re: man problem [message #280742 is a reply to message #280737] Wed, 14 November 2007 11:25 Go to previous message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Thumbs Up
Previous Topic: Finding the Node
Next Topic: Oratclsh Segmentation Fault
Goto Forum:
  


Current Time: Mon Oct 20 18:54:06 CDT 2014

Total time taken to generate the page: 0.26679 seconds