Warewulf Reports No Systemd Name Configured
Introduction
This article addresses a common configuration issue in Warewulf where the server fails to start due to a missing systemd service name configuration.
Problem
Warewulf displays a warning message indicating that it cannot start or restart the Warewulf server because no systemd name has been configured in the configuration file.
Symptoms
When running wwctl configure -a
users may encounter the following warning message:
WARN : Not (re)starting Warewulf server: no systemd name configured
Resolution
To resolve this issue, you need to add the systemd name
parameter to the Warewulf configuration file.
Step 1: Edit the Warewulf configuration file
Open the Warewulf configuration file for editing:
sudo vi /etc/warewulf/warewulf.conf
Step 2: Add the systemd name parameter
Locate the warewulf:
configuration block and add the systemd name: warewulfd
parameter. The configuration block should look like this:
warewulf:
port: 9873
...
systemd name: warewulfd
Step 3: Verify the configuration
After making the changes, you can run the following command to apply the configuration:
wwctl configure -a
You will see the following confirming the change has worked successfully:
Enabling and restarting the Warewulf server
Notes
- The
systemd name
parameter tells Warewulf which systemd service to manage when starting, stopping, or restarting the Warewulf server daemon. If you are using a different name, be sure to adjust this accordingly. - Make sure to maintain proper YAML indentation when editing the configuration file, as incorrect indentation can cause parsing errors.
References & related articles
Warewulf Documentation - Server Configuration
Warewulf Documentation - wwctl configure command