Prtdiag is Not working in Solaris 8 Ver

Hello Guys,

Pls look out the following O/P,Any Suggessions

Log Messages

=================================================

SUN> pwd

/usr/platform/SUNW,Sun-Fire-V240/sbin

SUN>

SUN>

SUN> prtdiag -v

bash: prtdiag: command not found

SUN>

=================================================

SUN> pwd

/usr/platform/sun4u/sbin

SUN> ls

eepromprtdiagwrsmconf wrsmstat

SUN> prtdiag -v

ksh: prtdiag: not found

SUN> prtdiag

ksh: prtdiag: not found

SUN>

=================================================

SUNFSD26> cat /etc/release

Solaris 8 HW 7/03 s28s_hw3wos_05a SPARC

Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.

Assembled 11 June 2003

SUNFSD26>

=================================================

SUN> ./prtdiag -v

picl_initialize failed: General system failure

SUN>

=================================================

Thanks and rgds

Suresh

[1087 byte] By [sure.solaris] at [2007-11-26 11:31:51]
# 1
Do you by any chance have any version installed of patch 108434 or 108435 ? .7/M.
mAbrante at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Yes the patches installed

SUN> ls /var/sadm/patch | grep 108434

108434-13

SUN> ls /var/sadm/patch | grep 108435

108435-13

SUN>

it is working If we give the full path.

#/usr/platform/sun4u/sbin/prtdiag -v

its not working If i give only "prtdiag -v"

Can I have a reason for this. It requires any Patch.

and the system is getting very slow.

suresolaris at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

"it is working If we give the full path.

#/usr/platform/sun4u/sbin/prtdiag -v

its not working If i give only "prtdiag -v""

For all releases of Solaris 8 and older,

that command path has never been in any user's default shell path.

You can edit your shell path to add it permanently,

or you can just type the full absolute path whenever you need to use the PRTDIAG command.

Only with Solaris 9 and newer has it been soft-linked to any user's default path.

Perhaps that is your confusion with this issue?

rukbat at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
There was a bug which caused the error you mentioned (picl_initialize failed: General system failure), but it should have been fixed in 108435-12 and 108434-12. Anyway, you could try and upgrade these two patches to the latest version (being -22) and see if it helps. .7/M.
mAbrante at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

> "it is working If we give the full path.

> #/usr/platform/sun4u/sbin/prtdiag -v

> its not working If i give only "prtdiag -v""

>

> For all releases of Solaris 8 and older,

> that command path has never been in any user's

> default shell path.

> You can edit your shell path to add it permanently,

> or you can just type the full absolute path whenever

> you need to use the PRTDIAG command.

> Only with Solaris 9 and newer has it been soft-linked

> to any user's default path.

>

> Perhaps that is your confusion with this issue?

Could u pls tell me through which command we can Edit the Shell Path

suresolaris at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6

Modifying one's path environment is an elementary sysadmin task.

It has also been described countless times

in virtually every *NIX forum and every generic *NIX textbook that exists on this planet.

I'm not going to provide the steps yet again. Brief forum searches can find the answer.

For example:

http://www.linuxquestions.org/questions/showthread.php?t=502662

A Google search also quickly [url=http://www.google.com/search?hl=en&q=solaris+path&btnG=Google+Sear ch]gets some guidance[/url].

rukbat at 2007-7-7 3:47:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...