LinuxForum.Fans
Тема

Не запускается DHCP сервер

Автор: Jura 13 сообщений 10171 просмотров
28.06.2010 13:50 #55292

CentOS 5.5
Вообщем проблема такая.....при попытке запустить /etc/init.d/dhcpd получаю в ответ [сбой]
Может кто встречался с подобной проблемой
Локализовать проблему пытался путем ковыряния конфига dhcpd.conf ничего не помогло

28.06.2010 13:55 #55294

смотрим что написано в /var/log/messages

28.06.2010 14:08 · отредактировано #55297

Jun 27 13:57:07 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
Jun 27 13:57:07 localhost dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Jun 27 13:57:07 localhost dhcpd: All rights reserved.
Jun 27 13:57:07 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Jun 27 13:57:07 localhost dhcpd: /etc/dhcpd.conf line 5: subnet 10.10.10.5 netmask 255.255.255.240: bad subnet number/mask combination.
Jun 27 13:57:07 localhost dhcpd: subnet 10.10.10.5 netmask 255.255.255.240
Jun 27 13:57:07 localhost dhcpd: ^
Jun 27 13:57:07 localhost dhcpd: Configuration file errors encountered -- exiting
Jun 27 13:57:07 localhost dhcpd:
Jun 27 13:57:07 localhost dhcpd: If you did not get this software from [url=ftp://ftp.isc.org]ftp.isc.org[/url], please
Jun 27 13:57:07 localhost dhcpd: get the latest from [url=ftp://ftp.isc.org]ftp.isc.org[/url] and install that before
Jun 27 13:57:07 localhost dhcpd: requesting help.
Jun 27 13:57:07 localhost dhcpd:
Jun 27 13:57:07 localhost dhcpd: If you did get this software from [url=ftp://ftp.isc.org]ftp.isc.org[/url] and have not
Jun 27 13:57:07 localhost dhcpd: yet read the README, please read it before requesting help.
Jun 27 13:57:07 localhost dhcpd: If you intend to request help from the dhcp-server@isc.org
Jun 27 13:57:07 localhost dhcpd: mailing list, please read the section on the README about
Jun 27 13:57:07 localhost dhcpd: submitting bug reports and requests for help.
Jun 27 13:57:07 localhost dhcpd:
Jun 27 13:57:07 localhost dhcpd: Please do not under any circumstances send requests for
Jun 27 13:57:07 localhost dhcpd: help directly to the authors of this software - please
Jun 27 13:57:07 localhost dhcpd: send them to the appropriate mailing list as described in
Jun 27 13:57:07 localhost dhcpd: the README file.
Jun 27 13:57:07 localhost dhcpd:
Jun 27 13:57:07 localhost dhcpd: exiting.

Вот такая штука я просто не совсем опытный в этом деле

28.06.2010 14:18 #55302

/etc/dhcpd.conf line 5: subnet 10.10.10.5 netmask 255.255.255.240: bad subnet number/mask combination.
28.06.2010 14:39 #55305

а что означает line 5

28.06.2010 14:48 #55310

пятая строка

29.06.2010 11:18 #55498

Спасибо большое ошибку исправил

29.06.2010 11:23 #55499

да не за что :)

13.07.2010 10:24 #59050

У меня проблема, автоматически не запускается DHCP-сервер, хотя вручную работает без проблем. В логе ничего не пишет. Подскажите что-где посмотреть и как подкрутить?

13.07.2010 11:01 #59059

например. запускаем ntsysv и ставим галочку напротив dhcpd

13.07.2010 11:04 #59060

ОООГРОМНОЕ спасибо:)

13.07.2010 11:50 #59091

Не за что :)

27.10.2014 17:21 #398633
Hrafn написал:
например. запускаем ntsysv и ставим галочку напротив dhcpd

Добрый день. Кент ось 6.5 не хочет автоматически запускатся DHCP сервисюВручную работает отлично.
Галочка в ntsysv стоит также пробовал через chkconfig все равно автоматически не хочет запускатся.Подскажите-куда смотреть?

Войдите или зарегистрируйтесь, чтобы ответить.