Hallo,
nach einem Upgrade auf 7.3 startet der dhcp-Server nicht. Fehlermeldung:
Loaded: loaded (/usr/lib/systemd/system/isc-dhcp-server.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2025-06-25 08:34:35 CEST; 22min ago
Duration: 78ms
Docs: man:dhcpd(8)
Process: 8782 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/ltsp/dhcpd.conf; fi>
Main PID: 8782 (code=exited, status=1/FAILURE)
CPU: 39ms
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]:
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: If you think you have received this message due to a bug rather
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: than a configuration issue please read the section on submitting
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: bugs on either our web page at www.isc.org or in the README file
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: before submitting a bug. These pages explain the proper
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: process and the information we find helpful for debugging.
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]:
Jun 25 08:34:35 server.jpp.lan dhcpd[8782]: exiting.
Jun 25 08:34:35 server.jpp.lan systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 25 08:34:35 server.jpp.lan systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Linuxmuster-base ist 7.3.19-0
Inhalt der dhcp.conf ist:
# /etc/dhcp/dhcpd.conf
#
# Sample configuration file for ISC dhcpd for Debian
#
# thomas@linuxmuster.net
# 20200414
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
server-identifier server;
update-static-leases true;
ddns-update-style none;
# option definitions common to all supported networks...
server-name "server.jpp.lan";
option domain-name "jpp.lan";
option domain-name-servers 10.32.1.1;
option netbios-name-servers 10.32.1.1;
option ntp-servers 10.32.1.1;
option font-servers 10.32.1.1;
use-host-decl-names on;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
allow booting;
allow bootp;
# Define option 150 for the grub menu
option grubmenu code 150 = text;
option arch code 93 = unsigned integer 16; #RFC4578
# arch specific boot images
if option arch = 00:06 {
filename "boot/grub/i386-efi/core.efi";
if option arch = 00:06 {
filename "boot/grub/i386-efi/core.efi";
} else if option arch = 00:07 {
filename "boot/grub/x86_64-efi/core.efi";
} else {
filename "boot/grub/i386-pc/core.0";
}
next-server 10.32.1.1;
# subnet definitions
include "/etc/dhcp/subnets.conf";
# dhcp events
include "/etc/dhcp/events.conf";
group {
# groessere lease time fuer feste ips
default-lease-time 172800;
max-lease-time 172800;
# dynamically created stuff by linuxmuster-import-devices is included
include "/etc/dhcp/devices.conf";
# put your custom stuff in this included file
include "/etc/dhcp/custom.conf";
}
Inhalt der subnets.conf ist:
# Subnet 10.32.0.0/12 server network
subnet 10.32.0.0 netmask 255.240.0.0 {
option routers 10.32.1.254;
option subnet-mask 255.240.0.0;
option broadcast-address 10.47.255.255;
option netbios-name-servers 10.32.1.1;
range 10.33.0.1 10.33.255.254;
option host-name pxeclient;
}
Wie bekomme ich dhcp wieder ans laufen? Danke für eure Hilfe!
Gruß
Lars