Freesco, NND, CDN, EOS
http://forum.freesco.pl/

/etc/dhcpd.conf line 31: expecting numeric value.
http://forum.freesco.pl/viewtopic.php?f=22&t=11424
Strona 1 z 1

Autor:  bartex [ niedziela, 26 lutego 2006, 18:08 ]
Tytuł:  /etc/dhcpd.conf line 31: expecting numeric value.

Witam
Mam taki maly problem, otoz nie moge nigdy zrestartowac dhcp, dopiero reboot systemu przyjmuje zmiany jakie wprowdzialem w /etc/dhcpd.conf. Jak daje komende /etc/rc.d/dhcpd restart to mam taki komunitkat:
: [/] [] ()
NND: Stopping DHCP Server                                            [Wykonane]
NND: Starting DHCP Server                                            [Trwa....] Internet Systems Consortium DHCP Server V3.0.3b3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 31: expecting numeric value.
fixed-address
^
Configuration file errors encountered -- exiting

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
                                                                     [Nieudane]

Szukalem bledu i nie moge znalesc, wszystko mam dobrze skonfigurowane, a to moj dhcpd.conf http://bartex.dyn.pl/dhcpd.conf
Dzieki i pozdrawiam

Autor:  KrzySie [ niedziela, 26 lutego 2006, 23:11 ]
Tytuł: 

: [/] [] ()
host bartex_laptop {
hardware ethernet 00:00:00:00:00:00;
host Admin {
hardware ethernet 00:00:00:00:00:00;

Zahaszuj wpisy tych hostów. Jeden i drugi host ma taki sam MAC.

Autor:  bartex [ niedziela, 26 lutego 2006, 23:39 ]
Tytuł: 

Zahaszowanie nic nie pomoglo, dalej ten sam blad jest

Autor:  KrzySie [ niedziela, 26 lutego 2006, 23:56 ]
Tytuł: 

bartex pisze:
Zahaszowanie nic nie pomoglo, dalej ten sam blad jest

Tak?
: [/] [] ()
#host bartex_laptop {
#hardware ethernet 00:00:00:00:00:00;
#fixed-address 192.168.2.2;
#option broadcast-address 192.168.2.255;
#option routers 192.168.2.1;
#}

#host Admin {
#hardware ethernet 00:00:00:00:00:00;
#fixed-address 192.168.2.3;
#option broadcast-address 192.168.2.255;
#option routers 192.168.2.1;
#}

Gdybyś tak zrobił, to nie może być tego samego błędu.

Autor:  bartex [ poniedziałek, 27 lutego 2006, 00:10 ]
Tytuł: 

No dobra ale ja specjalnie usunalem adres mac w configu zeby inni nie widzieli mojega maca:P, ale take sprawdzilem i nie dziala, wyobraz sobie ze tam jest mac adres, ale problem jest z fixed-address, bo taki jest komunikat o bledzie(no chyba ze sie myle)

Autor:  KrzySie [ poniedziałek, 27 lutego 2006, 00:36 ]
Tytuł: 

bartex pisze:
No dobra ale ja specjalnie usunalem adres mac w configu zeby inni nie widzieli mojega maca:P, ale take sprawdzilem i nie dziala, wyobraz sobie ze tam jest mac adres, ale problem jest z fixed-address, bo taki jest komunikat o bledzie(no chyba ze sie myle)

To sprawdź dokładnie tą linię.
expecting numeric value - spodziewana wartość numeryczna
Może jest jakaś spacja lub przecinek zamiast kropki?

Autor:  bartex [ poniedziałek, 27 lutego 2006, 00:54 ]
Tytuł: 

No spoko, sprawdzalem, ale wszystko ladnie dziala w sieci, ale i tak dzieki bardzo za pomoc :D :D

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/