Dhcp, startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

I have a weird problem I can't understand. I set up dhcp about 6
months ago and everything was working fine, up until 2 days ago. when
I rebooted the FC3 box dhcp wouldn't come back up. It kept giving an
error, I've listed the error below. Does anyone have any idea why its
breaking now?

(apologies for the length of the output)

Thanks in advance for your help.

Dan

When restarting dhcpd:

/etc/init.d/dhcpd restart
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Shutting down dhcpd:                                       [FAILED]
Starting dhcpd: Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 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 4 leases to leases file.
Listening on LPF/eth1/00:02:b3:15:93:22/192.168.1/24
Sending on   LPF/eth1/00:02:b3:15:93:22/192.168.1/24

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

Can't bind to dhcp address: Permission denied
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.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@xxxxxxx
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
                                                           [FAILED]

Here's my dhcpd.conf config:

deny client-updates;
 ddns-update-style interim;

 subnet 192.168.1.0 netmask 255.255.255.0 {
    range dynamic-bootp 192.168.1.200 192.168.1.210;

    option routers 192.168.1.10;
    option subnet-mask 255.255.255.0;
    option domain-name-servers 192.168.1.20;

    default-lease-time 360000;
    max-lease-time 259200;
    }


from /var/log/messages


Jun 24 14:40:02 gateway kernel: audit(1119620402.525:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.528:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.531:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.533:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.537:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.571:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.573:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: Internet Systems Consortium DHCP Server V3.0.1
Jun 24 14:40:02 gateway dhcpd: Copyright 2004 Internet Systems Consortium.
Jun 24 14:40:02 gateway dhcpd: All rights reserved.
Jun 24 14:40:02 gateway dhcpd: For info, please visit
http://www.isc.org/sw/dhcp/
Jun 24 14:40:02 gateway dhcpd: Wrote 0 deleted host decls to leases file.
Jun 24 14:40:02 gateway dhcpd: Wrote 0 new dynamic host decls to leases file.
Jun 24 14:40:02 gateway kernel: audit(1119620402.594:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: Wrote 4 leases to leases file.
Jun 24 14:40:02 gateway kernel: audit(1119620402.661:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: Listening on
LPF/eth1/00:02:b3:15:93:22/192.168.1/24
Jun 24 14:40:02 gateway kernel: audit(1119620402.664:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway kernel: audit(1119620402.665:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd:
Jun 24 14:40:02 gateway kernel: audit(1119620402.667:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: Sending on  
LPF/eth1/00:02:b3:15:93:22/192.168.1/24
Jun 24 14:40:02 gateway kernel: audit(1119620402.668:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd:
Jun 24 14:40:02 gateway kernel: audit(1119620402.669:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: No subnet declaration for eth0 (10.11.10.2).
Jun 24 14:40:02 gateway kernel: audit(1119620402.670:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: ** Ignoring requests on eth0.  If this
is not what
Jun 24 14:40:03 gateway kernel: audit(1119620402.671:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:sys
tem_r:dhcpd_t tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:02 gateway dhcpd: ** Ignoring requests on eth0.  If this
is not what
Jun 24 14:40:03 gateway kernel: audit(1119620402.671:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd:    you want, please write a subnet declaration
Jun 24 14:40:03 gateway kernel: audit(1119620402.671:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd:    in your dhcpd.conf file for the
network segment
Jun 24 14:40:03 gateway kernel: audit(1119620402.672:0): avc:  denied 
{ name_bind } for  pid=6164 exe=/usr/sbin/dhcpd src=67
scontext=root:system_r:dhcpd_t
tcontext=system_u:object_r:reserved_port_t tclass=udp_socket
Jun 24 14:40:03 gateway dhcpd:    to which interface eth0 is attached. **
Jun 24 14:40:03 gateway kernel: audit(1119620402.672:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd:
Jun 24 14:40:03 gateway kernel: audit(1119620402.673:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: Can't bind to dhcp address: Permission denied
Jun 24 14:40:03 gateway kernel: audit(1119620402.674:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: Please make sure there is no other dhcp server
Jun 24 14:40:03 gateway kernel: audit(1119620402.674:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: running and that there's no entry for dhcp or
Jun 24 14:40:03 gateway kernel: audit(1119620402.675:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: bootp in /etc/inetd.conf.   Also make sure you
Jun 24 14:40:03 gateway kernel: audit(1119620402.675:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: are not running HP JetAdmin software, which
Jun 24 14:40:03 gateway kernel: audit(1119620402.676:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd: includes a bootp server.
Jun 24 14:40:03 gateway kernel: audit(1119620402.676:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:03 gateway dhcpd:
Jun 24 14:40:04 gateway kernel: audit(1119620402.677:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: If you did not get this software from
ftp.isc.org, please
Jun 24 14:40:04 gateway kernel: audit(1119620402.678:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: get the latest from ftp.isc.org and install that
before
Jun 24 14:40:04 gateway kernel: audit(1119620402.678:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: requesting help.
Jun 24 14:40:04 gateway kernel: audit(1119620402.679:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd:
Jun 24 14:40:04 gateway kernel: audit(1119620402.679:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: If you did get this software from
ftp.isc.org and have not
 have not
Jun 24 14:40:04 gateway kernel: audit(1119620402.680:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: yet read the README, please read it
before requesting help.
Jun 24 14:40:04 gateway kernel: audit(1119620402.680:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: If you intend to request help from the
dhcp-server@xxxxxxx
Jun 24 14:40:04 gateway kernel: audit(1119620402.681:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: mailing list, please read the section
on the README about
Jun 24 14:40:04 gateway kernel: audit(1119620402.682:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd: submitting bug reports and requests for help.
Jun 24 14:40:04 gateway kernel: audit(1119620402.682:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:04 gateway dhcpd:
Jun 24 14:40:04 gateway kernel: audit(1119620402.683:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:05 gateway dhcpd: Please do not under any circumstances
send requests for
Jun 24 14:40:05 gateway kernel: audit(1119620402.683:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:05 gateway dhcpd: help directly to the authors of this
software - please
Jun 24 14:40:05 gateway kernel: audit(1119620402.684:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:sys
tem_r:dhcpd_t tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:05 gateway dhcpd: send them to the appropriate mailing
list as described in
Jun 24 14:40:05 gateway kernel: audit(1119620402.684:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:05 gateway dhcpd: the README file.
Jun 24 14:40:05 gateway kernel: audit(1119620402.685:0): avc:  denied 
{ write } for  pid=6164 exe=/usr/sbin/dhcpd name=log dev=tmpfs
ino=6408 scontext=root:system_r:dhcpd_t
tcontext=user_u:object_r:device_t tclass=sock_file
Jun 24 14:40:05 gateway dhcpd:
Jun 24 14:40:05 gateway dhcpd: exiting.
Jun 24 14:40:05 gateway dhcpd: dhcpd startup failed


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux