Debugging Solaris OS

I have access to a Solaris remote terminal that crashes periodically and I have to ask someone with physical access to boot the machine, which it does successfully. I would like to know what tools / files to look for in order to figure out the reason for the failure so that I can make the necessary configuration changes and avoid this in the future.

0


source to share


1 answer


Which tools you can use will depend on which version of the tanning bed you are using and what the actual problem is. The first thing to do is check your system console (which looks like you don't have access) and / var / adm / messages. This file is updated with system messages and the newest will be displayed at the end.

Then you can find the system kernel file. If a kernel file is created, it will be located in / var / crash / hostname, where "hostname" is the name of the machine.

If you have your main kernel file in the / var / crash / hostname directory, this set of commands will give you a good line to search google with:

# cd /var/crash/hostname

      

Replace the hostname with the hostname of your computer.



# mdb -k unix.0 vmcore.0 

      

If you have multiple kernel files, select the most recent version.

 > ::status

      

This should give you a panic message, cut and paste it on Google and see what you can find.

For a deeper analysis of files, read the following: http://cuddletech.com/blog/pivot/entry.php?id=965

+3


source







All Articles