1752808 Members
6846 Online
108789 Solutions
New Discussion юеВ

Re: man command errors

 
SOLVED
Go to solution
Ashish Parashar
Frequent Advisor

Re: man command errors

Sorry it was not in question ,but I have already checked PATH and MANPATH variable.
Dennis Handly
Acclaimed Contributor

Re: man command errors

Do you have cat or non .Z directories in /usr/share/man/?

This could also fail if this user is in a directory with file named nroff, etc.

As that user, create a subshell and retry with a limited PATH:
sh
PATH=/usr/bin
man swlist # or whatever fails
exit

You could also use tusc to trace what man(1) is doing.
Suraj K Sankari
Honored Contributor

Re: man command errors

Hi,

If you create new user, is the new user able to do man ?
if yes then
1. delete your current user who is having problem create a new one with same user name.
2. copy newly created user's .profile into that old user's .profile

Suraj
Ashish Parashar
Frequent Advisor

Re: man command errors

Well we cannot delete or make any change in .profile as its a production server....


strange thing is that ..if there is any issue on .profile or other stuff ...why man pages of cp and ls is works ...why not rest...any clue ???
Dennis Handly
Acclaimed Contributor

Re: man command errors

>why man pages of cp and ls works? why not rest, any clue?

Why keep asking questions (that don't have simple answers) when you can use tusc to tell you why. Download it from:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/
Ashish Parashar
Frequent Advisor

Re: man command errors

Hello Dennis

I have install tusc and tried to execute it for that user ....

its return with memory fault error for both the man command which is working and which is not working ...
F Verschuren
Esteemed Contributor

Re: man command errors

hi Ashish,
First of all concractelations on you new job...

Can you checkout the man path of this user?
Are all man paths availeble? ore is there a man path on a nfs share that is hanging?

Kind regards,
Freek Verschuren


ps do not forget bens and jerry's next time you are in europe...
Dennis Handly
Acclaimed Contributor

Re: man command errors

>it return with memory fault error for both the man command which is working and which is not working

No output at all for:
tusc -fp -o tusc.out man swinstall
(What's in tusc.out?)

>Do you have cat or non .Z directories in
>As that user, create a subshell and retry with a limited PATH:

What were the answers for these questions?
Ashish Parashar
Frequent Advisor

Re: man command errors

Hello Dennis

tusc command terminates with memory fault error .....with creating tusc.out file ..

>Do you have cat or non .Z directories in
>As that user, create a subshell and retry with a limited PATH:


Yes there are some non .Z directories and I have also tried vai creating subshell ...same result.
Ashish Parashar
Frequent Advisor

Re: man command errors

Hello Freek

this time I will bring Indian Ben & Jerry;s :)


Anyways manpath is ok and no NFS path is mentioned over there.