SUSE Support

Here When You Need Us

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 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-2012
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.