LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcpd error "Can't bind to dhcp address" (https://www.linuxquestions.org/questions/linux-networking-3/dhcpd-error-cant-bind-to-dhcp-address-336647/)

msjenkins 06-23-2005 11:56 PM

dhcpd error "Can't bind to dhcp address"
 
Hi,

I have a Fedora Core 3 system that was running dhcpd sucessfully untill a few days ago.

When starting dhcpd the following is displayed:
Quote:

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 0 leases to leases file.
Listening on LPF/eth0/00:03:47:ec:d1:85/192.168.0/24
Sending on LPF/eth0/00:03:47:ec:d1:85/192.168.0/24
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@isc.org
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]
/etc/dhcpd.conf
Quote:

home;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.2;
option netbios-name-servers 192.168.0.2;
range 192.168.0.10 192.168.0.50;
default-lease-time 86400;
max-lease-time 86400;
option broadcast-address 255.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 203.30.44.23, 203.30.44.24, 202.92.213.202;
# waixmule
host waixmule {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.11;
}
# Matt's Wireless
host Matt {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.12;
}
# Adam
host Adam {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.13;
}
# jade
host jade {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.14;
}
}
Bootp is not installed on the system
and there is no services currently listening on port 67

Thanks in advanced,


Matt

msjenkins 06-24-2005 02:34 AM

Problem was fixed by disabling SELinux.

was suggested at: Fedora Forums

How ever, I would like to re-enable SELinux.
Has any one else had this problem?
Does any one have a solution?

Cheers,


Matt

gpiw 10-02-2010 02:13 PM

dhcpd fail on os start up
 
[root@server1 ~]# tailf /var/log/audit/audit.log
type=SYSCALL msg=audit(1281880315.975:31387): arch=40000003 syscall=5 success=yes exit=15 a0=8922740 a1=8641 a2=1a4 a3=8922740 items=0 ppid=1297 pid=1300 auid=4294967295 uid=0 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=system_u:system_r:squid_t:s0 key=(null)
type=AVC msg=audit(1281880315.982:31388): avc: denied { getattr } for pid=1300 comm="squid" path="/var/spool/videocache/swap.state" dev=sda3 ino=15709 scontext=system_u:system_r:squid_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file
type=SYSCALL msg=audit(1281880315.982:31388): arch=40000003 syscall=195 success=yes exit=0 a0=8922770 a1=bf81f7e4 a2=4c5ff4 a3=8922710 items=0 ppid=1297 pid=1300 auid=4294967295 uid=0 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=system_u:system_r:squid_t:s0 key=(null)
type=AVC msg=audit(1281880315.982:31389): avc: denied { setattr } for pid=1300 comm="squid" name="swap.state.clean" dev=sda3 ino=15045 scontext=system_u:system_r:squid_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file
type=SYSCALL msg=audit(1281880315.982:31389): arch=40000003 syscall=94 success=yes exit=0 a0=f a1=81a0 a2=82fb224 a3=8922710 items=0 ppid=1297 pid=1300 auid=4294967295 uid=0 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=system_u:system_r:squid_t:s0 key=(null)
type=AVC msg=audit(1281880315.997:31390): avc: denied { remove_name } for pid=1300 comm="squid" name="swap.state.clean" dev=sda3 ino=15045 scontext=system_u:system_r:squid_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=dir
type=AVC msg=audit(1281880315.997:31390): avc: denied { rename } for pid=1300 comm="squid" name="swap.state.clean" dev=sda3 ino=15045 scontext=system_u:system_r:squid_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file
type=AVC msg=audit(1281880315.997:31390): avc: denied { unlink } for pid=1300 comm="squid" name="swap.state" dev=sda3 ino=15709 scontext=system_u:system_r:squid_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file
type=SYSCALL msg=audit(1281880315.997:31390): arch=40000003 syscall=38 success=yes exit=0 a0=8922740 a1=8922770 a2=8922770 a3=8922740 items=0 ppid=1297 pid=1300 auid=4294967295 uid=0 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=system_u:system_r:squid_t:s0 key=(null)
type=DAEMON_END msg=audit(1281880328.197:1836): auditd normal halt, sending auid=0 pid=2666 subj=system_u:system_r:initrc_t:s0 res=success

TB0ne 10-02-2010 04:49 PM

Quote:

Originally Posted by gpiw (Post 4115840)
[root@server1 ~]# tailf /var/log/audit/audit.log
type=SYSCALL msg=audit(1281880315.975:31387): arch=40000003 syscall=5 success=yes exit=15 a0=8922740 a1=8641 a2=1a4 a3=8922740 items=0 ppid=1297 pid=1300 auid=4294967295 uid=0 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid"

Is there supposed to be a question in there somewhere??

And don't re-open six year old threads, and tack questions on to the bottom of them. Open your own thread for your own question.

juan10dan 10-06-2010 05:16 PM

You should mark it as solved also.


All times are GMT -5. The time now is 11:48 PM.