Prtdiag is Not working in Solaris 8 Ver


 
Thread Tools Search this Thread
Operating Systems Solaris Prtdiag is Not working in Solaris 8 Ver
# 1  
Old 11-16-2006
Question Prtdiag is Not working in Solaris 8 Ver

Hello Guys, Smilie

I have tried Up to my Levels

pls help me if u know any solution

Pls look out the following O/P,
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
eeprom prtdiag wrsmconf 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>
=================================================

The patch which is used for prtdiag


SUN> pkginfo -l SUNWkvm
PKGINST: SUNWkvm
NAME: Core Architecture, (Kvm)
CATEGORY: system
ARCH: sparc.sun4u
VERSION: 11.8.0,REV=2000.01.08.18.12
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core software for a specific hardware platform group
PSTAMP: on28-patch20031120190653
INSTDATE: Jan 13 2006 17:15
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 226 installed pathnames
49 shared pathnames
54 directories
10 executables
3 setuid/setgid executables
1645 blocks used (approx)

SUN>
=================================================


Thanks and rgds

Suresh
# 2  
Old 11-16-2006
Have you try typing the whole path?
Code:
/usr/platform/sun4u/sbin/prtdiag

# 3  
Old 11-16-2006
This should work..

/usr/platform/`uname -i`/sbin/prtdiag -v
Tornado
# 4  
Old 11-16-2006
Oh.. I just saw the error you are getting...

Try running it as root.
If this works then check the permisions on /var/run/picld_door

Running JASS sometimes does this, the JASS finish script sets default CMASK to 027.

The permisions should be set to 444
ie:
ls -l /var/run/picld_door
Dr--r--r-- 1 root root 0 Aug 27 07:40 /var/run/picld_door

This is the fix:
Code:
chmod 444 /var/run/picld_door

Tornado
# 5  
Old 11-23-2006
Bug

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.

I have checked this also
==========================================================
SUN> ls -l picld*
-rwxr--r-- 3 root sys 328 Jul 5 2000 picld
SUNFSD26> chmod
==========================================================

SUN> ls -l picld*
Dr--r--r-- 1 root other 0 Nov 20 04:50 picld_door
==========================================================

SUN> chmod 444 /var/run/picld_door
==========================================================

SUN> ls -l picld*
Dr--r--r-- 1 root other 0 Nov 20 04:50 picld_door
SUN> pwd
# 6  
Old 11-23-2006
Quote:
Originally Posted by sure.solaris
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.
This is not what you had in your first post..
In your first post using the full path didn't work and you had the error: picl_initialize failed: General system failure

The problem you are now describing is related to your path.

No patch is required, all you need to do is add /usr/platform/sun4u/sbin/ to your path variable..

To check you path type:
echo $PATH
Tornado
# 7  
Old 11-23-2006
This is indeed correct behaviour for Solaris 8. From solaris 9 it can be run from /sbin and hence is in the default path for root.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

prtdiag -v troubleshooting

selected lines from the output of the "prtdiag -v" command on a T5240 SUN server running Solaris 10. Are the following known as FRU names and what do they mean? MB/CMP0/BR0/CH0/D0 MB/CMP0/BR0/CH1/D0 SYS/FANBD0/FM0/F0 SYS/FANBD0/FM0/F1 SYS/MB/CMP0/BR1/CH0/D1 ... (1 Reply)
Discussion started by: snoman1
1 Replies

2. Solaris

prtdiag

Hi everyone, Please can you tell me what kind of memro we are talking about when we run : prtdiag -v Memory size: 98016 Megabytes Thank you (7 Replies)
Discussion started by: adilyos
7 Replies

3. Solaris

prtdiag output for Solaris on Fujitsu hardware shows vendor as Sun Microsystems

Hello, I was under the impression that the Header of the prtdiag output shows the hardware vendor information in the section between System Configuration and sun4u/sun4us. But on some Solaris machines which are running on Fujitsu hardware, the vendor is shown as Sun Microsystems in this... (8 Replies)
Discussion started by: chattygk
8 Replies

4. Solaris

Executable compiled on solaris 10 not working on solaris 9

Hi I compiled an executable on Solaris 10 which creates semaphore ( semget) but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. It is throwing the system error that Invalid arguments ( system error 22) on solaris 9. the ldd for the executable on two servers is as... (4 Replies)
Discussion started by: ash_bit2k2
4 Replies

5. Solaris

SF T2000 prtdiag problem

Hi, a couple of T2000 servers did not show the component status and the output was too short. There was a patch that needed to be installed. I also updated to the latest recommended patch cluster and OBP patch. After reboot/restart of picl, it worked ok for a couple of weeks. Then suddenly it went... (12 Replies)
Discussion started by: incredible
12 Replies

6. Solaris

prtdiag - Segmentation Fault

Hi, Recently installed a Firmware patch on T5120 (solaris 10,138888-03). The patch installation was Success and system came up fine as well. My apps are running fine too. Problem is prtdiag does not work as it used to earlier. the output is very different from other t5120s I have and... (1 Reply)
Discussion started by: upengan78
1 Replies

7. Solaris

prtdiag and memory banks

hi, we have an e6900 and my sys admin says that the number of processors and memory were reduced to 4 and 8GB. However, a prtdiag |grep Memory returns 16GB of memory. So what is my system's memory? psrinfo returns 4 online and 4 offline CPUs. Thanks. Kumar (1 Reply)
Discussion started by: kumar27
1 Replies

8. Solaris

SOLARIS/BEA WEBLOGIC ver.8.1

Hello all, I am having a little issue with BEA webloigc server Version 8.1, previously, we we confugred we where able to Grep processes for BEA and we could get the processes listed now I am only able to see the start weblogic script process. the weblogic server is up and running and performing its... (2 Replies)
Discussion started by: jvgvr6
2 Replies

9. UNIX for Advanced & Expert Users

Sun Solaris "prtdiag -v" on redhat

Does anyone know of a command or list of commands that shows the same amount of detail as prtdiag -v for redhat linux? (2 Replies)
Discussion started by: brshell
2 Replies
Login or Register to Ask a Question