Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Internet a sítě => Téma založeno: Veselá#Houba 16 Listopadu 2008, 14:34:05
-
Zdravicko vespolek
Uz dlouhou dobu pouzivam dhcp3-server v kombinaci s Webminem a dosud vsechno slapalo perfektne.
Jeden den (13.11.) ale z niceho nic prestal pridelovat adresy a po manualnim restartu:
/etc/init.d/dhcp3-server restart vypise duchaplnou hlasku:
dhcpd self-test failed. Please fix the config file.
The error was:Proste zadnej error nevypise, takze se nic nedozvim.
Kompletne jsem ho preinstaloval, znovu nastavil na nejvic primitivni nastaveni a nic...
Uvitam veskere navrhy.
a tady je muj /etc/dhcp3/dhcpd.conf orezany o komentare a tam kde je v {} jsou normalne hodnoty
ddns-update-style none;
option domain-name "{MOJEDOMENA}.cz";
option domain-name-servers {1.DNS}, {2.DNS};
default-lease-time 86400;
max-lease-time 86400;
authoritative;
log-facility local7;
# small
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.4 192.168.1.10;
}
# tuxNtb
host TuxNTB {
hardware ethernet {TADY BYLA MAC KLIENTA};
fixed-address 192.168.1.175;
}
-
zkuste ho namísto přes /etc/init.d/dhcpd start
spustit na popředí přes
/usr/sbin/dhcpd -f -d
bude ukecanější, měl by zařvat co přesně se mu nelíbí. (stopnout přes ctrl-c)
-
Tak ted si pripadam opravdu trapne. Vyzkousel jsem
/usr/sbin/dhcpd3 -f -ddostal jsem nejaky ten warning, ale zadny error a nabehlo mi:
Listening on LPF/eth0/00:17:31:ae:9d:60/192.168.1/24
Sending on LPF/eth0/00:17:31:ae:9d:60/192.168.1/24
Sending on Socket/fallback/fallback-netTak jsem to stopnul, pustil
/etc/init.d/dhcp3-server restarta server normalne nabehl.
Pocitac mezi tim nebyl ani restartovan a updatoval jsem jenom balicek mkvtoolnix, v cemz opravdu nevidim spojitost...
Pro kiklhorn: Moc dekuji za pomoc, ale kdybych odhalil pricinu, mel bych urcite o neco klidnejsi noc. :)
Pro jistotu tady je vypis
/usr/sbin/dhcpd3 -f -d
[sudo] password for funga:
Internet Systems Consortium DHCP Server V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
No subnet declaration for vmnet8 (192.168.233.1).
** Ignoring requests on vmnet8. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface vmnet8 is attached. **
No subnet declaration for vmnet1 (192.168.116.1).
** Ignoring requests on vmnet1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface vmnet1 is attached. **
No subnet declaration for eth1 (158.196.40.30).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **
Listening on LPF/eth0/00:17:31:ae:9d:60/192.168.1/24
Sending on LPF/eth0/00:17:31:ae:9d:60/192.168.1/24
Sending on Socket/fallback/fallback-net