Operating System - HP-UX
1834456 Members
3081 Online
110067 Solutions
New Discussion

TC doesn't create a system crash

 
SOLVED
Go to solution
Damian Benavent Pla
Occasional Contributor

TC doesn't create a system crash

I tried to create a crash system file in my L-Class server. I accessed the GSP prompt and typed TC. It rebooted the system but after the system has rebooted, /var/adm/crash is empty. No system dump is created.

TC command is used to create system cores when the system is hung, isn't it ?

Thanx in advance
7 REPLIES 7
Kofi ARTHIABAH
Honored Contributor

Re: TC doesn't create a system crash

Jose:

I do not believe that you can generate a crash by using TC - TC is used to reboot the server but does not generate crash files (since technically, the server has not crashed - you opted to restart it)

Just out of curiousity, why do you want to create crash files? BTW do you have your /etc/rc.config.d/savecrash properly configured to save crash files?

good luck
nothing wrong with me that a few lines of code cannot fix!
Rita C Workman
Honored Contributor

Re: TC doesn't create a system crash

TC command only works when there is a minimal level of OS working. If your system completely crashes...no tc.

But you will find the dumped registers at /var/adm/tombstones/ ts99 is always the last dump.

Vincente Fernandes
Valued Contributor

Re: TC doesn't create a system crash

vi /etc/rc.log file and see if it says something like this.
~~~~~
Save system core image if needed
Output from "/sbin/rc1.d/S440savecore start":
----------------------------
savecore: dump previously saved
EXIT CODE: 2 - savecore found no core dump to save
"/sbin/rc1.d/S440savecore start" SKIPPED
~~~~~
The above will tell you the reason why it didn't save the core image. You can also use savecore for 10.20 and savecrash for 11.x to resave system core image if any.
Vincente Fernandes
Valued Contributor

Re: TC doesn't create a system crash

Yes, TC command does generate system core image when run, in you case the server may have not been able to generate the dump.
Darrel Louis
Honored Contributor

Re: TC doesn't create a system crash

Can you check if you have enough space defined for Dump, also check that the conf file in /etc/rc.config.d.
You can always run savecore from the command-line.
- cd /var/adm/crash
- savecore -r .
When a crash occurred and there wasn't enough space available, you can rub the command above to save it in a different location
Check the man page, for the options.
Jdamian
Respected Contributor
Solution

Re: TC doesn't create a system crash

Replies:

1. The message in rc.log is:

------------------
Save system crash dump if needed
Output from "/sbin/rc1.d/S440savecrash start":
----------------------------
EXIT CODE: 2 - savecrash found no core dump to save
"/sbin/rc1.d/S440savecrash start" SKIPPED

------------

2. The /etc/rc.config.d/crashconf file is properly configured.

3. The TC command always was the way to create a system core when the system is hung in order to be analyzed. It's equivalent to press the TOC button in some models.

4. If a TOC button is found in the rear side of L-class servers, I'll test.

5. The purpose of my trial is to check my system is ready to handle the system image core of a panic.
Patrick Wessel
Honored Contributor

Re: TC doesn't create a system crash

Jose,
Unfortunately is the TOC button of the L-Class hidden under the sheet metal. It's located directly on the GSP card.
There is no good troubleshooting with bad data