- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: savecrash giuves error. - savecrash: No dump h...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 06:15 AM
тАО09-17-2003 06:15 AM
savecrash giuves error. - savecrash: No dump header
I am using savecrash from command line to save core. /etc/rc.config.d/savecrash and /etc/rc.config.d/crashconf are OK.
crashconf -v is as follows.
CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- -------------------------------------
UNUSED 4871 no, by default unused pages
USERPG 33514 no, by default user process pages
BCACHE 9478 no, by default buffer cache pages
KCODE 1813 no, by default kernel code pages
USTACK 577 yes, by default user process stacks
FSDATA 126 yes, by default file system metadata
KDDATA 10755 yes, by default kernel dynamic data
KSDATA 4402 yes, by default kernel static data
Total pages on system: 65536
Total pages included in dump: 15860
DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ---------- ---------- ------------ -------------------------
31:0x01f000 310112 524288 64:0x000002 /dev/vg00/lvol2
----------
524288
I used it twice and it generated core.o and core.1 in /var/adm/crash.
After that it no more generates the crash files in /var/adm/crash. I used savecrash -rv -Z, savecrash -rv -Z -D /dev/vg00/lvol2 -O "offset"
For all commands it gives error as follows-
savecrash: No dump header
Any idea on what is happening?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 06:21 AM
тАО09-17-2003 06:21 AM
Re: savecrash giuves error. - savecrash: No dump header
Just wondering, perhaps we're out of space in the dump area(which is usually swap).
How is the space in /var looking? Close to full? I hope not.
SEP.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 06:28 AM
тАО09-17-2003 06:28 AM
Re: savecrash giuves error. - savecrash: No dump header
Forgot to add, there is enough space in /var.
System has 256 MB memory.
lvlnboot -v o/p as follows.-
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t15d0
Root: lvol3 on: /dev/dsk/c1t15d0
Swap: lvol2 on: /dev/dsk/c1t15d0
Dump: lvol2 on: /dev/dsk/c1t15d0, 0
Moreover it dumped the crash twice and after that giving the above mentioned error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 06:41 AM
тАО09-17-2003 06:41 AM
Re: savecrash giuves error. - savecrash: No dump header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 06:43 AM
тАО09-17-2003 06:43 AM
Re: savecrash giuves error. - savecrash: No dump header
Were you sure the system actually dumped?. Did you see any errors in /etc/rc.log in the savecrash section if so?.
You will not alway have luck if you try to savecrash once system is up and running if the dump device is the only swap device you have on the system. So, I will be more concerned about the errors in /etc/rc.log.
What is your swapinfo -t output now?.
From your crashconf -v output, you don't need more than 75MB for dump. If you have space, then you can actually define a seperate dump only device and disable savecrash in rc scripts. This way the dump will not be disturbed and you can save it at your leisure.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 08:18 AM
тАО09-17-2003 08:18 AM
Re: savecrash giuves error. - savecrash: No dump header
It dumped the crash twice and after that it is giving error savecrash: No dump header.
Tried specifying seperate dump device, but no luck. Do I need to reboot after specifying seperate dump device?
lvlnboot -v after seperate dump device.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t15d0
Root: lvol3 on: /dev/dsk/c1t15d0
Swap: lvol2 on: /dev/dsk/c1t15d0
Dump: lvol12 on: /dev/dsk/c1t15d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 08:29 AM
тАО09-17-2003 08:29 AM
Re: savecrash giuves error. - savecrash: No dump header
You don't need to reboot the box. Does your crashconf -v reflect the new one?.
Do you have any error in /etc/rc.log near the savecrash section?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 08:37 AM
тАО09-17-2003 08:37 AM
Re: savecrash giuves error. - savecrash: No dump header
Few more tests for you.
1. When you Toc the system, do you see it actually dumping to the device listed in "crashconf -v" output?. Do you see it completing 100%? to the device 31:0x01f000 .
2. When the system comes up, does it stay for a while in the "savecrash" section?.
You probably may have to redo your lvlnboots. Run lvrmboots followed by lvlnboots on all the devices.
Make sure you have an ignite tape so you will be safe while troubleshooting.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 09:36 AM
тАО09-17-2003 09:36 AM
Re: savecrash giuves error. - savecrash: No dump header
Did u reboot the system after saving the core for two times ?
Since your dump device is /dev/vg00/lvol2 I beleive ur dump device is the same as the swap device.
If u have rebooted the system after saving the crash, the swap system overwrites the dump information in /dev/vg00/lvol2.
Thanks,
Sundar.