This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP Bug

Wenn ich ind den Options einen TFTP Eintrag mache

erhalte ich im DHCP Log folgendes:
2013:08:21-11:14:05 globi-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R8
2013:08:21-11:14:05 globi-1 dhcpd: Copyright 2004-2013 Internet Systems Consortium.
2013:08:21-11:14:05 globi-1 dhcpd: All rights reserved.
2013:08:21-11:14:05 globi-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2013:08:21-11:14:05 globi-1 dhcpd: /etc/dhcpd.conf line 49: semicolon expected.
2013:08:21-11:14:05 globi-1 dhcpd: next-server http:
2013:08:21-11:14:05 globi-1 dhcpd: ^
2013:08:21-11:14:05 globi-1 dhcpd: /etc/dhcpd.conf line 49: expecting a parameter or declaration
2013:08:21-11:14:05 globi-1 dhcpd: next-server http://192.168.104.100:5000/provisioning;
2013:08:21-11:14:05 globi-1 dhcpd: ^
2013:08:21-11:14:05 globi-1 dhcpd: /etc/dhcpd.conf line 52: group declarations not allowed here.
2013:08:21-11:14:05 globi-1 dhcpd: group
2013:08:21-11:14:05 globi-1 dhcpd: ^
2013:08:21-11:14:05 globi-1 dhcpd: /etc/dhcpd.conf line 217: unexpected end of file
2013:08:21-11:14:05 globi-1 dhcpd:
2013:08:21-11:14:05 globi-1 dhcpd: ^
2013:08:21-11:14:05 globi-1 dhcpd: Configuration file errors encountered -- exiting
2013:08:21-11:14:05 globi-1 dhcpd:
2013:08:21-11:14:05 globi-1 dhcpd: If you did not get this software from ftp.isc.org, please
2013:08:21-11:14:05 globi-1 dhcpd: get the latest from ftp.isc.org and install that before
2013:08:21-11:14:05 globi-1 dhcpd: requesting help.
2013:08:21-11:14:05 globi-1 dhcpd:
2013:08:21-11:14:05 globi-1 dhcpd: If you did get this software from ftp.isc.org and have not
2013:08:21-11:14:05 globi-1 dhcpd: yet read the README, please read it before requesting help.
2013:08:21-11:14:05 globi-1 dhcpd: If you intend to request help from the dhcp-server@isc.org
2013:08:21-11:14:05 globi-1 dhcpd: mailing list, please read the section on the README about
2013:08:21-11:14:05 globi-1 dhcpd: submitting bug reports and requests for help.
2013:08:21-11:14:05 globi-1 dhcpd:
2013:08:21-11:14:05 globi-1 dhcpd: Please do not under any circumstances send requests for
2013:08:21-11:14:05 globi-1 dhcpd: help directly to the authors of this software - please
2013:08:21-11:14:05 globi-1 dhcpd: send them to the appropriate mailing list as described in
2013:08:21-11:14:05 globi-1 dhcpd: the README file.
2013:08:21-11:14:05 globi-1 dhcpd:
2013:08:21-11:14:05 globi-1 dhcpd: exiting.
2013:08:21-11:14:17 globi-1 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R8
2013:08:21-11:14:17 globi-1 dhcpd: Copyright 2004-2013 Internet Systems Consortium.
2013:08:21-11:14:17 globi-1 dhcpd: All rights reserved.
2013:08:21-11:14:17 globi-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
2013:08:21-11:14:17 globi-1 dhcpd: /etc/dhcpd.conf line 49: semicolon expected.
2013:08:21-11:14:17 globi-1 dhcpd: next-server http:
2013:08:21-11:14:17 globi-1 dhcpd: ^
2013:08:21-11:14:17 globi-1 dhcpd: /etc/dhcpd.conf line 49: expecting a parameter or declaration
2013:08:21-11:14:17 globi-1 dhcpd: next-server http://192.168.104.100:5000/provisioning;
2013:08:21-11:14:17 globi-1 dhcpd: ^
2013:08:21-11:14:17 globi-1 dhcpd: /etc/dhcpd.conf line 52: group declarations not allowed here.
2013:08:21-11:14:17 globi-1 dhcpd: group
2013:08:21-11:14:17 globi-1 dhcpd: ^
2013:08:21-11:14:17 globi-1 dhcpd: /etc/dhcpd.conf line 217: unexpected end of file
2013:08:21-11:14:17 globi-1 dhcpd:
2013:08:21-11:14:17 globi-1 dhcpd: ^
2013:08:21-11:14:17 globi-1 dhcpd: Configuration file errors encountered -- exiting
2013:08:21-11:14:17 globi-1 dhcpd:
2013:08:21-11:14:17 globi-1 dhcpd: If you did not get this software from ftp.isc.org, please
2013:08:21-11:14:17 globi-1 dhcpd: get the latest from ftp.isc.org and install that before
2013:08:21-11:14:17 globi-1 dhcpd: requesting help.
2013:08:21-11:14:17 globi-1 dhcpd:
2013:08:21-11:14:17 globi-1 dhcpd: If you did get this software from ftp.isc.org and have not
2013:08:21-11:14:17 globi-1 dhcpd: yet read the README, please read it before requesting help.
2013:08:21-11:14:17 globi-1 dhcpd: If you intend to request help from the dhcp-server@isc.org
2013:08:21-11:14:17 globi-1 dhcpd: mailing list, please read the section on the README about
2013:08:21-11:14:17 globi-1 dhcpd: submitting bug reports and requests for help.
2013:08:21-11:14:17 globi-1 dhcpd:
2013:08:21-11:14:17 globi-1 dhcpd: Please do not under any circumstances send requests for
2013:08:21-11:14:17 globi-1 dhcpd: help directly to the authors of this software - please
2013:08:21-11:14:17 globi-1 dhcpd: send them to the appropriate mailing list as described in
2013:08:21-11:14:17 globi-1 dhcpd: the README file.
2013:08:21-11:14:17 globi-1 dhcpd:
2013:08:21-11:14:17 globi-1 dhcpd: exiting.


This thread was automatically locked due to age.
  • 2013:08:21-11:14:05 globi-1 dhcpd: next-server http:
    Sieht für mich eher nach einem total schwachsinnigen "TFTP Eintrag" aus. TFTP hat mit HTTP so mal gar nix zu tun... Ein Bug könnte höchstens sein, dass die Eingabe nicht überprüft wird.
  • Habe gerade geupdated von V9. Config auf V9.105-9.
    Die alte Config V9. funktionierte hervorragend. Nun in der neuen Version
    will er meine DHCP Option66 mit "http://xyz:10000/xyz/"-Texte nicht
    mehr. Ich denke da ist doch ein Bug in der UTM... Siehe zuerst mein Log:


    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 57: semicolon expected.
    2013:09:30-19:54:41 xyzhost dhcpd: next-server http:
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 57: expecting a parameter or declaration
    2013:09:30-19:54:41 xyzhost dhcpd: next-server http://hostip:50080/ap/snom/;
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 76: semicolon expected.
    2013:09:30-19:54:41 xyzhost dhcpd: next-server http:
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 76: expecting a parameter or declaration
    2013:09:30-19:54:41 xyzhost dhcpd: next-server http://hostip:50080/ap/aastra/;
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 79: group declarations not allowed here.
    2013:09:30-19:54:41 xyzhost dhcpd: group
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: /etc/dhcpd.conf line 102: unexpected end of file
    2013:09:30-19:54:41 xyzhost dhcpd:
    2013:09:30-19:54:41 xyzhost dhcpd: ^
    2013:09:30-19:54:41 xyzhost dhcpd: Configuration file errors encountered -- exiting


    Die zweite und dritte Zeile machen, wie schon von meinem Vorredner keinen
    Sinn - Richtig! Nur wo kommt dieser Eintrag in der Conf her? Ich habe keine
    Option66 mit nur "http:" als Text. Diese Zeile erfindet die UTM, wenn man eine
    DHCP-Option66 mit "http://xyz:12345/yxz" erstellt. Ist auch klar, dass dann
    der dhcpd diese Zeile nicht anerkennt. (Er denkt ja man hat anstatt ";" ein
    ":" konfiguriert. Es ist auch kein Import-Problem einer alten Config, denn ich
    habe auch mal in der neuen Version eine Option66 neu erstellt. Gleiches
    Problem!

    Wir brauchen aber solche Option66er mit "http:/"-Text, da wir auch Telefone
    Auto-Provisionieren müssen, die diese Option so brauchen. (War ja auch
    bisher überhaupt kein Problem)

    Wie bekomme ich also die Middleware dazu diese "leere" http-Zeile nicht zu schreiben?

    Gruß
    silent
  • Mal probiert, die DHCP-Optionen zu löschen und sauber neu anzulegen?

    Aber wie dem auch sei: Eine Option 66 mit einem *URL* wird niemals funktionieren! Der DHCP-Daemon erwartet hier eine IP-Adresse und nix anderes!