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
how to put file from one ftp to another ftp location prasee Shell Programming and Scripting 1 03-28-2008 02:34 AM
Untar a TAR file at different location malaymaru UNIX for Dummies Questions & Answers 5 09-18-2006 05:59 PM
Location of file on disk cysang High Level Programming 3 08-02-2006 05:11 AM
What is the file location? Chanakya.m Shell Programming and Scripting 5 07-16-2006 09:42 PM
Location of defaultrouter file in Red Hat 98_1LE UNIX for Dummies Questions & Answers 4 12-11-2001 03:23 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-12-2008
Registered User
 

Join Date: Jun 2008
Posts: 43
Error Log File Location

Hi,

Where i can find the solaris server log file having the day to day activity registered for root cause analysis of system crashed ?

apart from the /var/adm directory ???
Reply With Quote
Forum Sponsor
  #2  
Old 09-12-2008
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 460
In case the OS really crashed (i.e. kernel panic), have a look at the /var/crash/$(hostname) directory.
Reply With Quote
  #3  
Old 09-12-2008
Registered User
 

Join Date: Jun 2008
Posts: 43
Quote:
Originally Posted by jlliagre View Post
In case the OS really crashed (i.e. kernel panic), have a look at the /var/crash/$(hostname) directory.


I have seen this But the Not in readable format

Any other way ??
Reply With Quote
  #4  
Old 09-12-2008
Registered User
 

Join Date: Jul 2008
Posts: 35
of course it is unreadable, even if you have contract with SUN to give them it for analyze you will have difficulties in uploading because of maybe Gb files of crashes.thats why use ACT tool (Cte(act)) .. only in case if you have contract with SUN.
Otherwise /var/adm/messages .. gives a lot of useful flowers ))
Reply With Quote
  #5  
Old 09-12-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 872
on some systems, even the messages files would not give you blooming flowers Instead the console messages would give you even better information,eg ALOM, RSC, depending on the type of system and IF you have configured it to do so..
Reply With Quote
  #6  
Old 09-12-2008
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 460
You can easily retrieve useful information from the /var/crash files by using mdb.

eg.:

Code:
mdb unix.3 vmcore.3<<%
::status
::ps
::msgbuf
::panicinfo
$c
%
If you want to go further, you can download Solaris Crash Analysis Tool.

SolarisCAT
Reply With Quote
  #7  
Old 09-12-2008
Registered User
 

Join Date: Apr 2008
Location: Calgary
Posts: 196
/var/log/syslog is useful as well

check out coreadm.conf, syslog.conf, etc.
Read their man pages (man core/coreadm/syslog/logadm)

If you are having issues, you can increase the amount of information that is being captured in your log, you can control the circumstances for core file creation, etc.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
crash, error, solaris 10

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:48 PM.


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