- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Core dumps in root filesytem
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
04-10-2006 03:05 AM
04-10-2006 03:05 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 03:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 03:18 AM
04-10-2006 03:18 AM
Re: Core dumps in root filesytem
- to identify which process is creating this core file:
file /core
- then you can change start script of this process to chdir a core directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 03:27 AM
04-10-2006 03:27 AM
Re: Core dumps in root filesytem
You might try identifying source of the file..(process), it can be a cron script or some startup script, you can check for fixing it..
You can create a job (cron), which will look for core file under root, and move it to some place (different than root), and leave a stamp of dir where it was and date.. YOu can keep the time you want this way and you are not risking root this way..
find / -name core -xdev -exec mv {} /var/tmp/somedir/core.
some script tricks can acheive this..
Thanks and good luck
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 11:00 AM
04-10-2006 11:00 AM
Re: Core dumps in root filesytem
file /core
(assuming the core file is in /) Now until you can prevent the bad program from creating further problems, remove the core file and create a directory called /core. There are other techniques including setting ulimit -c but the directory method is the simplest.
Now since the core file is in the / directory, something is very wrong about the startup of this program. / (as you've seen) is critical to system operation so root's home as well as scripts that remain in / while running tasks are not good at all.
Bill Hassell, sysadmin