1

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

2

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

3 (28.06.2010 14:09:44 отредактировано Jura)

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 ftp.isc.org, please
Jun 27 13:57:07 localhost dhcpd: get the latest from ftp.isc.org 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 ftp.isc.org 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.

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

4

/etc/dhcpd.conf line 5: subnet 10.10.10.5 netmask 255.255.255.240: bad subnet number/mask combination.

5

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

6

пятая строка

7

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

8

да не за что ab

9

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

10

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

11

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

12

Не за что ab

Hrafn пишет:

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

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