PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : dhcpd reagiert nicht



k-gee1
12.04.06, 12:59
hallo,
hab auf meinen rechner (soll als terminalserver fungieren) fedora linux core 5 und ltsp 4.1 installiert. eigentlich sollte der dhcpd-dienst beim systemstart mit starten, doch da sieht man beim hochfahren schon die meldung "fehlgeschlagen".
auch wenn fedora dann geladen ist lässt dhcpd nichts mit sich machen, er reagiert weder auf start noch auf stop und ist immer im status "dhcpd wurde angehalten", siehe unten.

[root@linux-terminalserver ~]# service dhcpd status
dhcpd wurde angehalten
[root@linux-terminalserver ~]# service dhcpd start
dhcpd starten: [FEHLGESCHLAGEN]
[root@linux-terminalserver ~]# service dhcpd stop
dhcpd herunterfahren: [FEHLGESCHLAGEN]
[root@linux-terminalserver ~]#

hab auch schon mal deinstalliert und wieder neu installiert, bringt alles nix. was mir aufgefallen ist das wenn man die pakete zum installieren aus dem netz läd er irgendnen schlüssel(irgendwas mit red hat) benötigt oder mit runterläd, keine ahnung ob das mit dem problem zu tun hat!?
hat jemand ne idee was das problem ist und oder weiss ne lösung?

gruß
k-gee1

cane
12.04.06, 13:13
Was steht denn in den Logs drin?

Das deine Rechtschreibung unter aller *** ist habe ich ja schon gesagt --> ändere das oder ich antworte nicht mehr...

mfg
cane

k-gee1
12.04.06, 13:23
sorry ich gelobige besserung.....

ähm wie kann ich die ausgeben das nur das wichtigste, also dhcp, ausgelesen wird. weil sonst ists ja ewig lang!?

MiGo
12.04.06, 13:25
hab auch schon mal deinstalliert und wieder neu installiert, bringt alles nix.
Installieren alleine bringt auch nix. Konfigurieren muesstest du ihn schon.
Aber wie schon mein Vorposter sagte:
Ohne Logeintraege wird das nix.

was mir aufgefallen ist das wenn man die pakete zum installieren aus dem netz läd er irgendnen schlüssel(irgendwas mit red hat) benötigt oder mit runterläd, keine ahnung ob das mit dem problem zu tun hat!?
Die Schluessel sollen sicherstellen, dass dir nicht irgend ein boeswilliger Mensch manipulierte Pakete unterschiebt (also dass die Pakete wirklich von RedHat selbst stammen, nicht von einem Cracker, der es geschafft hat, sie auf dem Updateserver von RH unterzubringen).

k-gee1
12.04.06, 13:27
ist halt nur ein ausschnitt.....
die dhcp.conf hab ich an meinen system schon angepasst falls du das mit konfigurieren meinst.

danke aber trotzdem bis hierhin erstma für die hilfsbereitschaft

Apr 12 12:51:03 linux-terminalserver dhcpd: isc-dhcpd-V3.0.3-RedHat
Apr 12 12:51:03 linux-terminalserver gdm[2548]: GDM already running. Aborting!
Apr 12 12:51:26 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 12:54:21 linux-terminalserver dhcpd: Internet Systems Consortium DHCP Ser ver V3.0.3-RedHat
Apr 12 12:54:21 linux-terminalserver dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Apr 12 12:54:21 linux-terminalserver dhcpd: All rights reserved.
Apr 12 12:54:21 linux-terminalserver dhcpd: For info, please visit http://www.is c.org/sw/dhcp/
Apr 12 12:54:21 linux-terminalserver dhcpd: /etc/dhcpd.conf line 34: expecting a parameter or declaration
Apr 12 12:54:21 linux-terminalserver dhcpd: host c1 { <
Apr 12 12:54:21 linux-terminalserver dhcpd: ^
Apr 12 12:54:21 linux-terminalserver dhcpd: /etc/dhcpd.conf line 35: expecting a parameter or declaration
Apr 12 12:54:21 linux-terminalserver dhcpd: hardware ethernet 00:11:0 9:83:4C:F1; <
Apr 12 12:54:21 linux-terminalserver dhcpd: ^
Apr 12 12:54:21 linux-terminalserver dhcpd: /etc/dhcpd.conf line 36: expecting a parameter or declaration
Apr 12 12:54:21 linux-terminalserver dhcpd: fixed-address 192.100 .103.2; <
Apr 12 12:54:21 linux-terminalserver dhcpd: ^
Apr 12 12:54:21 linux-terminalserver dhcpd: Configuration file errors encountere d -- exiting
Apr 12 12:54:21 linux-terminalserver dhcpd:
Apr 12 12:54:21 linux-terminalserver dhcpd: If you did not get this software fro m ftp.isc.org, please
Apr 12 12:54:21 linux-terminalserver dhcpd: get the latest from ftp.isc.org and install that before
Apr 12 12:54:21 linux-terminalserver dhcpd: requesting help.
Apr 12 12:54:21 linux-terminalserver dhcpd:
Apr 12 12:54:21 linux-terminalserver dhcpd: If you did get this software from ft p.isc.org and have not
Apr 12 12:54:21 linux-terminalserver dhcpd: yet read the README, please read it before requesting help.
Apr 12 12:54:21 linux-terminalserver dhcpd: If you intend to request help from t he dhcp-server@isc.org
Apr 12 12:54:21 linux-terminalserver dhcpd: mailing list, please read the sectio n on the README about
Apr 12 12:54:21 linux-terminalserver dhcpd: submitting bug reports and requests for help.
Apr 12 12:54:21 linux-terminalserver dhcpd:
Apr 12 12:54:21 linux-terminalserver dhcpd: Please do not under any circumstance s send requests for
Apr 12 12:54:21 linux-terminalserver dhcpd: help directly to the authors of this software - please
Apr 12 12:54:21 linux-terminalserver dhcpd: send them to the appropriate mailing list as described in
Apr 12 12:54:21 linux-terminalserver dhcpd: the README file.
Apr 12 12:54:21 linux-terminalserver dhcpd:
Apr 12 12:54:21 linux-terminalserver dhcpd: exiting.
Apr 12 12:54:21 linux-terminalserver dhcpd: dhcpd startup failed
Apr 12 12:54:49 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 12:54:52 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 12:54:55 linux-terminalserver dhcpd: /etc/dhcpd.conf line 34: expecting a parameter or declaration
Apr 12 12:54:55 linux-terminalserver dhcpd: host c1 { <
Apr 12 12:54:55 linux-terminalserver dhcpd: ^
Apr 12 12:54:55 linux-terminalserver dhcpd: /etc/dhcpd.conf line 35: expecting a parameter or declaration
Apr 12 12:54:55 linux-terminalserver dhcpd: hardware ethernet 00:11:0 9:83:4C:F1; <
Apr 12 12:54:55 linux-terminalserver dhcpd: ^
Apr 12 12:54:55 linux-terminalserver dhcpd: /etc/dhcpd.conf line 36: expecting a parameter or declaration
Apr 12 12:54:55 linux-terminalserver dhcpd: fixed-address 192.100 .103.2; <
Apr 12 12:54:55 linux-terminalserver dhcpd: ^
Apr 12 12:54:55 linux-terminalserver dhcpd: Configuration file errors encountere d -- exiting
Apr 12 12:54:55 linux-terminalserver dhcpd:
Apr 12 12:54:55 linux-terminalserver dhcpd: If you did not get this software fro m ftp.isc.org, please
Apr 12 12:54:55 linux-terminalserver dhcpd: get the latest from ftp.isc.org and install that before
Apr 12 12:54:55 linux-terminalserver dhcpd: requesting help.
Apr 12 12:54:55 linux-terminalserver dhcpd:
Apr 12 12:54:55 linux-terminalserver dhcpd: If you did get this software from ft p.isc.org and have not
Apr 12 12:54:55 linux-terminalserver dhcpd: yet read the README, please read it before requesting help.
Apr 12 12:54:55 linux-terminalserver dhcpd: If you intend to request help from t he dhcp-server@isc.org
Apr 12 12:54:55 linux-terminalserver dhcpd: mailing list, please read the sectio n on the README about
Apr 12 12:54:55 linux-terminalserver dhcpd: submitting bug reports and requests for help.
Apr 12 12:54:55 linux-terminalserver dhcpd:
Apr 12 12:54:55 linux-terminalserver dhcpd: Please do not under any circumstance s send requests for
Apr 12 12:54:55 linux-terminalserver dhcpd: help directly to the authors of this software - please
Apr 12 12:54:55 linux-terminalserver dhcpd: send them to the appropriate mailing list as described in
Apr 12 12:54:55 linux-terminalserver dhcpd: the README file.
Apr 12 12:54:55 linux-terminalserver dhcpd:
Apr 12 12:54:55 linux-terminalserver dhcpd: exiting.
Apr 12 12:57:59 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 13:04:35 linux-terminalserver dhcpd: Internet Systems Consortium DHCP Ser ver V3.0.3-RedHat
Apr 12 13:04:35 linux-terminalserver dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Apr 12 13:04:35 linux-terminalserver dhcpd: All rights reserved.
Apr 12 13:04:35 linux-terminalserver dhcpd: For info, please visit http://www.is c.org/sw/dhcp/
Apr 12 13:04:35 linux-terminalserver dhcpd: /etc/dhcpd.conf line 34: expecting a parameter or declaration
Apr 12 13:04:35 linux-terminalserver dhcpd: host c1 { <
Apr 12 13:04:35 linux-terminalserver dhcpd: ^
Apr 12 13:04:35 linux-terminalserver dhcpd: /etc/dhcpd.conf line 35: expecting a parameter or declaration
Apr 12 13:04:35 linux-terminalserver dhcpd: hardware ethernet 00:11:0 9:83:4C:F1; <
Apr 12 13:04:35 linux-terminalserver dhcpd: ^
Apr 12 13:04:35 linux-terminalserver dhcpd: /etc/dhcpd.conf line 36: expecting a parameter or declaration
Apr 12 13:04:35 linux-terminalserver dhcpd: fixed-address 192.100 .103.2; <
Apr 12 13:04:35 linux-terminalserver dhcpd: ^
Apr 12 13:04:35 linux-terminalserver dhcpd: Configuration file errors encountere d -- exiting
Apr 12 13:04:35 linux-terminalserver dhcpd:
Apr 12 13:04:35 linux-terminalserver dhcpd: If you did not get this software fro m ftp.isc.org, please
Apr 12 13:04:35 linux-terminalserver dhcpd: get the latest from ftp.isc.org and install that before
Apr 12 13:04:35 linux-terminalserver dhcpd: requesting help.
Apr 12 13:04:35 linux-terminalserver dhcpd:
Apr 12 13:04:35 linux-terminalserver dhcpd: If you did get this software from ft p.isc.org and have not
Apr 12 13:04:35 linux-terminalserver dhcpd: yet read the README, please read it before requesting help.
Apr 12 13:04:35 linux-terminalserver dhcpd: If you intend to request help from t he dhcp-server@isc.org
Apr 12 13:04:35 linux-terminalserver dhcpd: mailing list, please read the sectio n on the README about
Apr 12 13:04:35 linux-terminalserver dhcpd: submitting bug reports and requests for help.
Apr 12 13:04:35 linux-terminalserver dhcpd:
Apr 12 13:04:35 linux-terminalserver dhcpd: Please do not under any circumstance s send requests for
Apr 12 13:04:35 linux-terminalserver dhcpd: help directly to the authors of this software - please
Apr 12 13:04:35 linux-terminalserver dhcpd: send them to the appropriate mailing list as described in
Apr 12 13:04:35 linux-terminalserver dhcpd: the README file.
Apr 12 13:04:35 linux-terminalserver dhcpd:
Apr 12 13:04:35 linux-terminalserver dhcpd: exiting.
Apr 12 13:04:35 linux-terminalserver dhcpd: dhcpd startup failed
Apr 12 13:06:24 linux-terminalserver dhcpd: isc-dhcpd-V3.0.3-RedHat
Apr 12 13:06:24 linux-terminalserver gdm[3036]: GDM already running. Aborting!
Apr 12 13:07:42 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 13:10:56 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 13:11:11 linux-terminalserver gdm[3223]: GDM already running. Aborting!
Apr 12 13:13:20 linux-terminalserver dhcpd: isc-dhcpd-V3.0.3-RedHat
Apr 12 13:13:20 linux-terminalserver gdm[3326]: GDM already running. Aborting!
Apr 12 13:13:41 linux-terminalserver dhcpd: Internet Systems Consortium DHCP Ser ver V3.0.3-RedHat
Apr 12 13:13:41 linux-terminalserver dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Apr 12 13:13:41 linux-terminalserver dhcpd: All rights reserved.
Apr 12 13:13:41 linux-terminalserver dhcpd: For info, please visit http://www.is c.org/sw/dhcp/
Apr 12 13:13:41 linux-terminalserver dhcpd:
Apr 12 13:13:41 linux-terminalserver dhcpd: ** You must add a global ddns-update -style statement to /etc/dhcpd.conf.
Apr 12 13:13:41 linux-terminalserver dhcpd: To get the same behaviour as in 3 .0b2pl11 and previous
Apr 12 13:13:41 linux-terminalserver dhcpd: versions, add a line that says "d dns-update-style ad-hoc;"
Apr 12 13:13:41 linux-terminalserver dhcpd: Please read the dhcpd.conf manual page for more information. **
Apr 12 13:13:41 linux-terminalserver dhcpd:
Apr 12 13:13:41 linux-terminalserver dhcpd: If you did not get this software fro m ftp.isc.org, please
Apr 12 13:13:41 linux-terminalserver dhcpd: get the latest from ftp.isc.org and install that before
Apr 12 13:13:41 linux-terminalserver dhcpd: requesting help.
Apr 12 13:13:41 linux-terminalserver dhcpd:
Apr 12 13:13:41 linux-terminalserver dhcpd: If you did get this software from ft p.isc.org and have not
Apr 12 13:13:41 linux-terminalserver dhcpd: yet read the README, please read it before requesting help.
Apr 12 13:13:41 linux-terminalserver dhcpd: If you intend to request help from t he dhcp-server@isc.org
Apr 12 13:13:41 linux-terminalserver dhcpd: mailing list, please read the sectio n on the README about
Apr 12 13:13:41 linux-terminalserver dhcpd: submitting bug reports and requests for help.
Apr 12 13:13:41 linux-terminalserver dhcpd:
Apr 12 13:13:41 linux-terminalserver dhcpd: Please do not under any circumstance s send requests for
Apr 12 13:13:41 linux-terminalserver dhcpd: help directly to the authors of this software - please
Apr 12 13:13:41 linux-terminalserver dhcpd: send them to the appropriate mailing list as described in
Apr 12 13:13:41 linux-terminalserver dhcpd: the README file.
Apr 12 13:13:41 linux-terminalserver dhcpd:
Apr 12 13:13:41 linux-terminalserver dhcpd: exiting.
Apr 12 13:13:41 linux-terminalserver dhcpd: dhcpd startup failed
Apr 12 13:13:53 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 13:56:37 linux-terminalserver dhcpd: Internet Systems Consortium DHCP Ser ver V3.0.3-RedHat
Apr 12 13:56:37 linux-terminalserver dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Apr 12 13:56:37 linux-terminalserver dhcpd: All rights reserved.
Apr 12 13:56:37 linux-terminalserver dhcpd: For info, please visit http://www.is c.org/sw/dhcp/
Apr 12 13:56:37 linux-terminalserver dhcpd:
Apr 12 13:56:37 linux-terminalserver dhcpd: ** You must add a global ddns-update -style statement to /etc/dhcpd.conf.
Apr 12 13:56:37 linux-terminalserver dhcpd: To get the same behaviour as in 3 .0b2pl11 and previous
Apr 12 13:56:37 linux-terminalserver dhcpd: versions, add a line that says "d dns-update-style ad-hoc;"
Apr 12 13:56:37 linux-terminalserver dhcpd: Please read the dhcpd.conf manual page for more information. **
Apr 12 13:56:37 linux-terminalserver dhcpd:
Apr 12 13:56:37 linux-terminalserver dhcpd: If you did not get this software fro m ftp.isc.org, please
Apr 12 13:56:37 linux-terminalserver dhcpd: get the latest from ftp.isc.org and install that before
Apr 12 13:56:37 linux-terminalserver dhcpd: requesting help.
Apr 12 13:56:37 linux-terminalserver dhcpd:
Apr 12 13:56:37 linux-terminalserver dhcpd: If you did get this software from ft p.isc.org and have not
Apr 12 13:56:37 linux-terminalserver dhcpd: yet read the README, please read it before requesting help.
Apr 12 13:56:37 linux-terminalserver dhcpd: If you intend to request help from t he dhcp-server@isc.org
Apr 12 13:56:37 linux-terminalserver dhcpd: mailing list, please read the sectio n on the README about
Apr 12 13:56:37 linux-terminalserver dhcpd: submitting bug reports and requests for help.
Apr 12 13:56:37 linux-terminalserver dhcpd:
Apr 12 13:56:37 linux-terminalserver dhcpd: Please do not under any circumstance s send requests for
Apr 12 13:56:37 linux-terminalserver dhcpd: help directly to the authors of this software - please
Apr 12 13:56:37 linux-terminalserver dhcpd: send them to the appropriate mailing list as described in
Apr 12 13:56:37 linux-terminalserver dhcpd: the README file.
Apr 12 13:56:37 linux-terminalserver dhcpd:
Apr 12 13:56:37 linux-terminalserver dhcpd: exiting.
Apr 12 13:56:37 linux-terminalserver dhcpd: dhcpd startup failed
Apr 12 13:56:40 linux-terminalserver dhcpd: dhcpd shutdown succeeded
Apr 12 14:02:44 linux-terminalserver dhcpd: isc-dhcpd-V3.0.3-RedHat
Apr 12 14:02:44 linux-terminalserver gdm[9395]: GDM already running. Aborting!
Apr 12 14:02:56 linux-terminalserver dhcpd: isc-dhcpd-V3.0.3-RedHat
Apr 12 14:02:56 linux-terminalserver gdm[11986]: GDM already running. Aborting!

cane
12.04.06, 14:10
/etc/dhcpd.conf line 35: expecting a parameter or declaration
Apr 12 12:54:21 linux-terminalserver dhcpd: hardware ethernet 00:11:0 9:83:4C:F1; <
Apr 12 12:54:21 linux-terminalserver dhcpd: ^
Apr 12 12:54:21 linux-terminalserver dhcpd: /etc/dhcpd.conf line 36: expecting a parameter or declaration
Apr 12 12:54:21 linux-terminalserver dhcpd: fixed-address 192.100 .103.2; <
Apr 12 12:54:21 linux-terminalserver dhcpd: ^
Apr 12 12:54:21 linux-terminalserver dhcpd: Configuration file errors encountere d -- exiting

Da steht doch was los ist --> falsch konfiguriert, Tippfehler...

Schon dumm wenn man ständig alles kleinschreibt und irgendwann nicht mehr in der Lage ist überhaupt was richtig zu schreiben.

cane

k-gee1
13.04.06, 07:35
Die dhcpd.conf hat aus irgendwelchen Gründen die von mir eingegebenen Parameter nicht behalten, hab jetzt alles nochmal neu und übersichtlich eingetragen und nun funktionierts auch.
Danke für die Hilfe und ich werde mich mal daran anhalten in punkto Rechtschreibung usw.

Kannst du mir auch verraten wie ich den DHCP in den "Autostart" bringen kann?

cane
13.04.06, 08:09
Ja, kann ich ausnahmsweise auch wenn das überall bestens erklärt ist:

Fedora kennt diese sieben Runlevel:

0: Halt (Beendet alle Dienste und schaltet den Computer aus)
1: Einzelnutzer, kein Netzwerk (Lässt nur Anmeldung als root zu)
2: Einzelnutzer mit Netzwerk (s.o.)
3: Textmodus (startet alle angegebenen Dienste, aber keine grafische Oberfläche - üblicher Modus für Server) 4: derzeit unbenutzt
5: Grafische Umgebung (startete alle angegebenen Dienste einschließlich der grafischen Oberfläche - üblicher Modus für Arbeitsplatzrechner)
6: Neustart (Beendet alle Dienste und startet den Computer neu

Hier ist erklärt wie ein Bootvorgang funktioniert:
http://www.europe.redhat.com/documentation/rhl8.0/rhl-rg-de-8.0/s1-boot-init-shutdown-process.php3

Es gibt nun mehrere Möglichkeiten die Programme die Startzuordnungen von Programmen in den einzelnen Runleveln zu ändern, unter fedora bietet sich das Programm chkconfig an:

http://www.europe.redhat.com/documentation/rhl7/ref-guide-de/s1-sysadmin-access.php3

Es gibt auch sicher Doku die auf fedora bezogen ist, die genannte sollte aber auch ausreichen...

mfg
cane

k-gee1
13.04.06, 08:26
Vielen Dank für deine Hilfe hat mich echt weiter gebracht.

Hätte da noch ein Problem bezüglich Terminalserver,
wäre cool wenn du da auch mal nen Blick drauf werfen könntest.Vielleicht fällt dir ja spontan ein hilfreicher Beitrag dazu ein.

Der Thread http://www.linuxforen.de/forums/showthread.php?t=211562