Novell Home

My Favorites

Close

Please to see your favorites.

kdump failing with "Cannot opendir" and "Not a directory"

This document (7010096) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 4

Situation

Kdump has been configured to only keep a number of old cores.
Kdump has been configured to save cores in the same directory where application cores are being written.
In the directory where kdump should write his core, there are more application cores then the defined number of kerneldumps to be saved.

The kdump process stops with the following message:
INFO: Deleting core.nvcoa.17661.
Cannot opendir(/root/var/local/dumps/core.nvcoa.17661). (Not a directory)
Last command failed (255).

Resolution

The location of kdump cores and application cores should be different. 

The location of the kdump cores can be set using YaST or YaST2. Also this can be set in /etc/sysconfig/kdump with the option KDUMP_SAVEDIR.

The location of application dumps is being set in /etc/sysctl.conf with the option kernel.core_pattern.

After changing the options, a reboot is needed.



Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7010096
  • Creation Date:02-FEB-12
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback