Bind fails to start with status=6/NOTCONFIGURED after upgrade to SLES 15 SP4
This document (000020819) is provided subject to the disclaimer at the end of this document.
Environment
Situation
# systemctl start named Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xeu named.service" for details. # journalctl -xeu named.service ... Oct 20 13:28:23 host15sp4 root[4201]: Warning: "/usr/share/bind/createNamedConfInclude" does not exist or is not executable. Check /etc/sysconfig/named Oct 20 13:28:23 host15sp4 systemd[1]: named.service: Control process exited, code=exited, status=6/NOTCONFIGURED ...
The file /etc/sysconfig/named contains the following line.
NAMED_INITIALIZE_SCRIPTS="createNamedConfInclude"
The following line is present in /etc/named.conf.
include "/etc/named.conf.include";
The file /etc/named.conf.include existed before the upgrade to 15 SP4, but is not present after the upgrade.
Resolution
NAMED_INITIALIZE_SCRIPTS="createNamedConfInclude"to
NAMED_INITIALIZE_SCRIPTS=""
Then, edit the file /etc/named.conf and remove the following line.
include "/etc/named.conf.include";
Now start named.service.
# systemctl start named.service
Cause
The file /etc/named.conf.include was created by createNamedConfInclude in previous versions of bind. Since createNamedConfInclude does not exist in SLES 15 SP4, /etc/named.conf.include is never created and must be removed from the config.
Status
Additional Information
One other known situation that can lead to bind not starting after an upgrade to SLES 15 SP4 is documented here:
Bind fails to start with "configuring logging: permission denied" after upgrade to SLES 15 SP4
If no Knowledge Base article can be found that describes the situation, please open a support case.
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:000020819
- Creation Date: 20-Oct-2022
- Modified Date:25-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com