- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: savecrash fails in hpux 11.11
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
Forums
Discussions
Discussions
Discussions
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
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
05-31-2006 10:34 AM
05-31-2006 10:34 AM
I would like to get it clarified about the /etc/rc.config.d/savecrash file.
The entry SAVECRASH is commented in the file, does it mean that the saving of crash dump will not happen?
===============================================
#!/sbin/sh
# @(#)B.11.11_LR
# Savecrash configuration
#
#
# SAVECRASH: Set to 0 to disable saving system crash dumps.
# SAVECRASH=1
# SAVECRASH_DIR:Directory name for system crash dumps. Note: the filesystem
# in which this directory is located should have as much free
# space as your system has RAM.
# SAVECRASH_DIR=/var/adm/crash
================================================
Please help, Thanks in advance!!!
Babu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:43 AM
05-31-2006 10:43 AM
Re: savecrash fails in hpux 11.11
If SAVECRASH is not defined or is zero then the crashdump is not saved. This may be entirely appropriate if separate dump and swap spaces have been configured; this saves a considerable amount of time in the reboot process because the dump will be left intact in the dump space after the machine completes the normal boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 11:51 AM
05-31-2006 11:51 AM
Re: savecrash fails in hpux 11.11
I am new to shell scripting, could you please go thro the attached /sbin/init.d/savecrash and tell me is the SAVECRASH is defined.
Thank you!!!
Babu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 12:30 PM
05-31-2006 12:30 PM
Re: savecrash fails in hpux 11.11
if [ -f /etc/rc.config.d/savecrash ] ; then
This says does the file /etc/rc.config.d/savecrash exist?
if so then this line:
. /etc/rc.config.d/savecrash
says read the file and add it to the existing script (ie 'sourcing' the file; it becomes part of the foreground process).
Now any variables defined in the sourced file exist in the current shell. In your case, the variables are commented out so that no savecrash is being done. You really didn't have to attach the file; I was trying to get you to see how to answer the question yourself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 12:44 PM
05-31-2006 12:44 PM
Re: savecrash fails in hpux 11.11
If I want to save the crash, I will have to uncomment the SAVECRASH=1 and SAVECRASH_DIR=/var/adm/crash in the savecrash file, right?
Please advise
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 01:33 PM