Hallo zusammen. Wenn ich meinen dhcp-Server starten will, funktioniert das nicht. Folgendes gibt er aus: Server:/# rcdhcpd start /usr/sbin/rcdhcpd: line 10: authoritative: command not found /usr/sbin/rcdhcpd: line 11: ddns-update-style: command not found /usr/sbin/rcdhcpd: line 12: ddns-updates: command not found /usr/sbin/rcdhcpd: line 13: default-lease-time: command not found /usr/sbin/rcdhcpd: line 14: log-facility: command not found /usr/sbin/rcdhcpd: line 15: max-lease-time: command not found /usr/sbin/rcdhcpd: line 16: option: command not found /usr/sbin/rcdhcpd: line 17: subnet: command not found /usr/sbin/rcdhcpd: line 18: range: command not found Starting DHCP server ... cannot... DHCPD_INTERFACE in /etc/sysconfig/dhcpd is empty! skipped Dabei sieht meine /etc/dhcpd.conf so aus (Habe ich von Hand geschrieben, fand aber keinen Fehler): [Diverses Kommentar] authoritative ; ddns-update-style none; ddns-updates off; default-lease-time 1200; max-lease-time 9200; option domain-name "testdomain.test"; subnet 192.168.1.0 netmask 255.255.255.0 range 192.168.1.10 192.168.1.254; und die /etc/sysconfig/dhcpd beinhaltet (neben Kommentar nur diese Zeile): DHCPD_INTERFACE="eth0" eth0 ist dabei die Netzwerkkarte, welche statisch mit der IP 192.168.1.2 konfiguriert ist. Kann mir da jemand helfen? Vielen Dank, NiX - Erich Troxler.
NiX - Erich Troxler schrieb:
Hallo zusammen.
Wenn ich meinen dhcp-Server starten will, funktioniert das nicht. Folgendes gibt er aus:
Server:/# rcdhcpd start /usr/sbin/rcdhcpd: line 10: authoritative: command not found /usr/sbin/rcdhcpd: line 11: ddns-update-style: command not found /usr/sbin/rcdhcpd: line 12: ddns-updates: command not found /usr/sbin/rcdhcpd: line 13: default-lease-time: command not found /usr/sbin/rcdhcpd: line 14: log-facility: command not found /usr/sbin/rcdhcpd: line 15: max-lease-time: command not found /usr/sbin/rcdhcpd: line 16: option: command not found /usr/sbin/rcdhcpd: line 17: subnet: command not found /usr/sbin/rcdhcpd: line 18: range: command not found Starting DHCP server ... cannot... DHCPD_INTERFACE in /etc/sysconfig/dhcpd is empty! skipped
wie sieht denn die Datei "/usr/sbin/rcdhcpd" oder genauer die Datei
"/etc/init.d/dhcpd" aus? Steht da vielleicht Deien Konfiguration drinnen?
Bei mir beginnt diese Datei so:
------------------------------------------------------------------
#! /bin/sh
# Copyright (c) 1996, 1997, 1998 S.u.S.E. GmbH
# Copyright (c) 1998, 1999, 2000, 2001 SuSE GmbH
# Copyright (c) 2002, 2003 SuSE Linux AG
#
# Author: Rolf Haberrecker
Dabei sieht meine /etc/dhcpd.conf so aus (Habe ich von Hand geschrieben, fand aber keinen Fehler):
[Diverses Kommentar]
authoritative ; ddns-update-style none; ddns-updates off; default-lease-time 1200; max-lease-time 9200; option domain-name "testdomain.test"; subnet 192.168.1.0 netmask 255.255.255.0 range 192.168.1.10 192.168.1.254;
in dieser Datei (/etc/dhcpd.conf) ist das auch richtig so.
und die /etc/sysconfig/dhcpd beinhaltet (neben Kommentar nur diese Zeile):
DHCPD_INTERFACE="eth0"
eth0 ist dabei die Netzwerkkarte, welche statisch mit der IP 192.168.1.2 konfiguriert ist.
passt
Kann mir da jemand helfen?
Vielleicht ist obiges eine Hilfe. Gruß, Günther
Am Sonntag, 11. April 2004 14.36 schreibt NiX - Erich Troxler:
Hallo zusammen.
Wenn ich meinen dhcp-Server starten will, funktioniert das nicht. Folgendes gibt er aus:
Server:/# rcdhcpd start /usr/sbin/rcdhcpd: line 10: authoritative: command not found /usr/sbin/rcdhcpd: line 11: ddns-update-style: command not found /usr/sbin/rcdhcpd: line 12: ddns-updates: command not found /usr/sbin/rcdhcpd: line 13: default-lease-time: command not found /usr/sbin/rcdhcpd: line 14: log-facility: command not found /usr/sbin/rcdhcpd: line 15: max-lease-time: command not found /usr/sbin/rcdhcpd: line 16: option: command not found /usr/sbin/rcdhcpd: line 17: subnet: command not found /usr/sbin/rcdhcpd: line 18: range: command not found Starting DHCP server ... cannot... DHCPD_INTERFACE in /etc/sysconfig/dhcpd is empty! skipped
Dabei sieht meine /etc/dhcpd.conf so aus (Habe ich von Hand geschrieben, fand aber keinen Fehler):
[Diverses Kommentar]
authoritative ; ddns-update-style none; ddns-updates off; default-lease-time 1200; max-lease-time 9200; option domain-name "testdomain.test"; subnet 192.168.1.0 netmask 255.255.255.0 range 192.168.1.10 192.168.1.254;
Überprüfe doch mal die Sytax. authoritative ; - sollte der ; nicht direkt nach dem e kommen ohne Leerschlag? Ich kann mir vorstellen, dass du noch weitere Fehler hast, z.B. den { oder }. Schaue dir doch ein Beispiel an im Verzeichnis /usr/share/doc/packages/dhcp-server/. Gruss Luc
und die /etc/sysconfig/dhcpd beinhaltet (neben Kommentar nur diese Zeile):
DHCPD_INTERFACE="eth0"
eth0 ist dabei die Netzwerkkarte, welche statisch mit der IP 192.168.1.2 konfiguriert ist.
Kann mir da jemand helfen?
Vielen Dank, NiX - Erich Troxler.
-- «------------------------------------------------------» 01101100 01101111 01100010 01101111 00110010 00110101 01000000 01100111 01101101 01111000 00101110 01101110 01100101 01110100 «------------------------------------------------------»
participants (3)
-
Günther Zinsberger
-
Kissling Lucas
-
NiX - Erich Troxler