- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- modify the default path /var/adm/crash to store co...
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
тАО01-05-2010 06:36 AM
тАО01-05-2010 06:36 AM
modify the default path /var/adm/crash to store core crash dump
Is it possible to modify the default path(/var/adm/crash)on hp-ux 10.01 to store core crash dump? if yes, please help me to modify the memory core dump the default path.
I just wanted to specify different path because we have no more space on /var file system.
Thx,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 06:40 AM
тАО01-05-2010 06:40 AM
Re: modify the default path /var/adm/crash to store core crash dump
Edit the file /etc/rc.config.d/savecrash and uncomment the following:
# SAVECRASH=1, and
# SAVECRASH_DIR=/var/adm/crash
Change the path to somewhere else that you like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 07:25 AM
тАО01-05-2010 07:25 AM
Re: modify the default path /var/adm/crash to store core crash dump
I can see one savecore file /etc/rc.config.d in this file the default path is mentioned.
see below
SAVECORE_DIR=/var/adm/crash
-r--r--r-- 1 bin bin 1041 Jun 12 1995 savecore
Secondly, there is another executable in /sbin/init.d/savecore and there is also a default path is mentioned. see below
-r-xr-xr-x 1 bin bin 180224 Jun 12 1995 savecore
typeset -r DEFAULT_SAVECORE_DIR=/var/adm/crash.
1. My question is, I need to modify both the files or any other?
2. what else I need to do after modification.
Thx,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 01:01 PM
тАО01-20-2010 01:01 PM
Re: modify the default path /var/adm/crash to store core crash dump
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 01:13 PM
тАО01-20-2010 01:13 PM
Re: modify the default path /var/adm/crash to store core crash dump
I would not bother modifying /sbin/init.d/savecore as it would probably get written over with some patch install. as noted right at the top of the file.