The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
prtdiag and memory banks kumar27 SUN Solaris 1 02-13-2008 02:16 PM
Question on prtdiag output ... luft UNIX for Dummies Questions & Answers 5 11-14-2006 09:27 AM
/usr/bin/cut not working with largefiles on Solaris 10 wottie SUN Solaris 1 04-04-2006 02:57 PM
Sun Solaris "prtdiag -v" on redhat brshell UNIX for Advanced & Expert Users 2 03-04-2006 02:05 AM
equivalent prtdiag and prtconf command antalexi SUN Solaris 4 01-21-2005 02:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
Question Prtdiag is Not working in Solaris 8 Ver

Hello Guys,

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
Reply With Quote
Forum Sponsor
  #2  
Old 11-16-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
Have you try typing the whole path?
Code:
/usr/platform/sun4u/sbin/prtdiag
Reply With Quote
  #3  
Old 11-16-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 244
This should work..

/usr/platform/`uname -i`/sbin/prtdiag -v
Reply With Quote
  #4  
Old 11-16-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 244
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
Reply With Quote
  #5  
Old 11-23-2006
Registered User
 

Join Date: Nov 2006
Posts: 4
Smile

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
Reply With Quote
  #6  
Old 11-23-2006
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 244
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
Reply With Quote
  #7  
Old 11-23-2006
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0