Home / Solaris 10 / How to Generate Crash Dump When the Solaris OS is Hung

How to Generate Crash Dump When the Solaris OS is Hung

This post explains about  forcing a system crash dump when the system is in a hang condition and crashdump files are required for Oracle root cause analysis.In most cases, a system crash dump of a hung system can be forced. But this won;t work in all type of system hang conditions. In order to force crash dump,you need to send break signal from console and bring the system to OK prompt and suspending all current program execution.

If the system is not able to ssh/telnet and not able access via console,then you need follow the below method to force the system to crashdump.
Login to server console , 
login:admin
password:****
sc>break

After sending break signal ,system will be able to to drop to OBP(OK prompt).Its again break command may vary depends on sun server model.This procedue will work on v-series servers where you will get sc promt.

Type ‘go’ to resume
ok

If you don’t see this message, you were probably not successful in stopping the system.Once at the ok prompt, type sync and press Enter.

ok sync
The system will immediately panic and hang condition has been converted into a panic, so an image of memory will be stored in /var/crash/ location depends on dumpadm configurationAfter saving the dump,system will attempts to reboot.
VMTURBO-CLOUD-CAPACITY

One comment

  1. What if the stop-A command is disabled?

    #> cat /etc/system|grep abort

    set abort_enable = 0

    #>

Leave a Reply

Your email address will not be published. Required fields are marked *