Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: Сервер DHCP
Показать сообщение отдельно

Аватара для Admiral83

Пользователь


Сообщения: 56
Благодарности: 0

Профиль | Отправить PM | Цитировать


Попробовал удалить dhcpd.leases, при следующем запуске /etc/rc.d/init.d/dhcpd start файл заново создался и теперь вот что получается:

[quote]
[root@localhost init.d]# /etc/init.d/dhcpd start
Запускается dhcpd: [ СБОЙ ]
[root@localhost etc]# sh /etc/init.d/dhcpd start
Запускается dhcpd: [ ОК ]
[root@localhost etc]# sh /etc/init.d/dhcpd stop
Останавливается dhcpd: [ ОК ]
[/qoute]

А вот логи:

Цитата:
Jan 24 08:53:37 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.2-RedHat
Jan 24 08:53:37 localhost dhcpd: Copyright 2004 Internet Systems Consortium.
Jan 24 08:53:37 localhost dhcpd: All rights reserved.
Jan 24 08:53:37 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Jan 24 08:53:37 localhost dhcpd: Wrote 0 leases to leases file.
Jan 24 08:53:38 localhost dhcpd: Listening on LPF/eth0/00:50:22:8f:a0:49/192.168.2/24
Jan 24 08:53:38 localhost dhcpd: Sending on LPF/eth0/00:50:22:8f:a0:49/192.168.2/24
Jan 24 08:53:38 localhost dhcpd: Can't bind to dhcp address: Permission denied
Jan 24 08:53:38 localhost dhcpd: Please make sure there is no other dhcp server
Jan 24 08:53:38 localhost dhcpd: running and that there's no entry for dhcp or
Jan 24 08:53:38 localhost dhcpd: bootp in /etc/inetd.conf. Also make sure you
Jan 24 08:53:38 localhost dhcpd: are not running HP JetAdmin software, which
Jan 24 08:53:38 localhost dhcpd: includes a bootp server.
Jan 24 08:53:38 localhost dhcpd:
Jan 24 08:53:38 localhost dhcpd: If you did not get this software from ftp.isc.org, please
Jan 24 08:53:38 localhost dhcpd: get the latest from ftp.isc.org and install that before
Jan 24 08:53:38 localhost dhcpd: requesting help.
Jan 24 08:53:38 localhost dhcpd:
Jan 24 08:53:38 localhost dhcpd: If you did get this software from ftp.isc.org and have not
Jan 24 08:53:38 localhost dhcpd: yet read the README, please read it before requesting help.
Jan 24 08:53:38 localhost dhcpd: If you intend to request help from the dhcp-server@isc.org
Jan 24 08:53:38 localhost dhcpd: mailing list, please read the section on the README about
Jan 24 08:53:38 localhost dhcpd: submitting bug reports and requests for help.
Jan 24 08:53:38 localhost dhcpd:
Jan 24 08:53:38 localhost dhcpd: Please do not under any circumstances send requests for
Jan 24 08:53:38 localhost dhcpd: help directly to the authors of this software - please
Jan 24 08:53:38 localhost dhcpd: send them to the appropriate mailing list as described in
Jan 24 08:53:38 localhost dhcpd: the README file.
Jan 24 08:53:38 localhost dhcpd:
Jan 24 08:53:38 localhost dhcpd: exiting.
Jan 24 08:53:38 localhost dhcpd: dhcpd startup failed
Jan 24 08:54:10 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.2-RedHat
Jan 24 08:54:10 localhost dhcpd: Copyright 2004 Internet Systems Consortium.
Jan 24 08:54:10 localhost dhcpd: All rights reserved.
Jan 24 08:54:10 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Jan 24 08:54:10 localhost dhcpd: Wrote 0 leases to leases file.
Jan 24 08:54:10 localhost dhcpd: Listening on LPF/eth0/00:50:22:8f:a0:49/192.168.2/24
Jan 24 08:54:10 localhost dhcpd: Sending on LPF/eth0/00:50:22:8f:a0:49/192.168.2/24
Jan 24 08:54:10 localhost dhcpd: Sending on Socket/fallback/fallback-net
Jan 24 08:54:10 localhost dhcpd: dhcpd startup succeeded
Jan 24 08:54:14 localhost dhcpd: dhcpd shutdown succeeded
Мне кажеться, что проблемы с вызовом функции daemon из файла /etc/rc.d/init.d/functions. Только не понятно, почему из командной строки нормально она запускается, а из автозагрузки - нет. Так же не понятно, почему все остальные серверы нормально запускаются, к примеру ssh или samba.

Отправлено: 10:04, 24-01-2006 | #20

Название темы: Сервер DHCP