- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Core file reappears after being deleted
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
тАО02-06-2010 03:44 PM
тАО02-06-2010 03:44 PM
We have a / filesystem which has reached 100% on a HPUX server. There was a core file generated. I deleted the file and the filesystem came down to 87%. However, after some time the core file generates again making the filesystem 100% full. The file keeps on re appearing after deleting it many times. Please suggest.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2010 04:41 PM
тАО02-06-2010 04:41 PM
Solutionfile core
This will identify the programs that is crashing. Now you can remove the core file. Then stop the program from running -- it is not working correctly. You'll need to determine if this program is part of HP-UX or an application.
If you don't know how to stop or start this program, you can prevent the core file from being created by creating a directory called core. To do this, you must cd to the directory with the core file. Remove the core file and then make the directory:
cd /someplace (if core is in /, then cd /)
file core
(write down the program name and the signal)
rm core
mkdir core
This is just a temporary workaround. You must still get the program corrected.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2010 04:54 PM
тАО02-06-2010 04:54 PM
Re: Core file reappears after being deleted
lsof the core file. Verify if anything is still writing to it.
If the file system has few processes attached to it then you can also fuser the file system and ps the pids attached to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2010 07:46 PM
тАО02-06-2010 07:46 PM
Re: Core file reappears after being deleted
On 11.31 there is coreadm(1m).
>Michael: lsof the core file. Verify if anything is still writing to it.
Typically this isn't needed since it should be written quickly, unless multiple Gigs. Also, it was finished since it was reduced to 87% after it was deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2010 07:55 PM
тАО02-06-2010 07:55 PM
Re: Core file reappears after being deleted
Be careful what "core" files you remove.
There is a kernel module in HP-UX 11.31 PA-RISC named core (/usr/conf/mod/core). If you remove it, you will not be able to compile a kernel. Ignite recovery tapes will fail if the tapes was created without this core module on the server.
1. # Seek and show core dump files
find / -name core -type f -exec echo "\n" \; -exec file {} \; -exec what {} \;
2. #remove
find / -name core -type f -exe rm -f {} \;
Check below link ,
http://docs.hp.com/en/B2355-60130/coreadm.1M.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 06:52 PM
тАО02-14-2010 06:52 PM
Re: Core file reappears after being deleted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 07:56 PM
тАО02-14-2010 07:56 PM
Re: Core file reappears after being deleted
Bill Hassell, sysadmin