Страница 1 из 1

Страности с dhcp-сервером

Добавлено: 2007-12-24 1:48:59
savio
Установил с портов dhcp-сервер. Да, он работает, но как то странно взаимодействует к примеру с тем же апачем...дЛЯ

Код: Выделить всё

/usr/local/etc/rc.d/apache22 stop
после этого получаю следующее

Код: Выделить всё

delete net default
add net default: gateway 192.168.0.1
route: writing to routing socket: File exists
add net 192.168.100.0: gateway 192.168.100.100: route already in table
route: writing to routing socket: File exists
add net 10.18.0.2: gateway 10.18.0.1: route already in table
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 2 leases to leases file.
Listening on BPF/rl2/00:02:44:9a:f2:d5/192.168.200/24
Sending on   BPF/rl2/00:02:44:9a:f2:d5/192.168.200/24

No subnet declaration for rl1 (192.168.300.1).
** Ignoring requests on rl1.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface rl1 is attached. **


No subnet declaration for rl0 (192.168.100.1).
** Ignoring requests on rl0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface rl0 is attached. **


No subnet declaration for vr0 (192.168.0.2).
** Ignoring requests on vr0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface vr0 is attached. **

Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf.   Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.

natd: Unable to bind divert socket.: Address already in use
natd: Unable to bind divert socket.: Address already in use
natd: Unable to bind divert socket.: Address already in use
pure-ftpd_enable=YES: not found
как это понимать? последняя сточка

Код: Выделить всё

pure-ftpd_enable=YES: not found
это допущеная мною ошибка в rc.conf(установил фтп-сервер и не верно прописал). с этого делаю вывод, что каким то образом при попытке остановить апач перезапускается ДХЦП-сервер, который в свою очередь перечитывает rc.conf.
о том чо апач таки не остановился я заикатся не буду в этой теме( /usr/local/sbin/apachectl stop - так работает).
при запуска/остановке mysql - таже картина.

Код: Выделить всё

Address already in use
да, подняты три ната для своих нужд, почему ругается что он занят, никак не пойму....

Re: Страности с dhcp-сервером

Добавлено: 2007-12-24 10:05:57
hizel
а что в rc.conf ?
сдается мне там помойка

Re: Страности с dhcp-сервером

Добавлено: 2007-12-24 10:19:00
savio
да хоть сто ошибок в rc.conf, это должно как-то влиять на перезапуск dhcp,apach,mysql?

Re: Страности с dhcp-сервером

Добавлено: 2007-12-24 10:36:13
hizel
rc.conf обрабатывается при каждом заупске скриптов в rc.d это тотже шелл скрипт
так что если там фаршмак то везде фаршмак :(