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
# 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.
# 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?
# 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
# 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].