LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-23-2005, 11:56 PM   #1
msjenkins
LQ Newbie
 
Registered: Jul 2003
Location: Perth,Western Australia
Distribution: Centos 4
Posts: 12

Rep: Reputation: 0
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
 
Old 06-24-2005, 02:34 AM   #2
msjenkins
LQ Newbie
 
Registered: Jul 2003
Location: Perth,Western Australia
Distribution: Centos 4
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 10-02-2010, 02:13 PM   #3
gpiw
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
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_ubject_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_ubject_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_ubject_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_ubject_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_ubject_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

Last edited by gpiw; 10-02-2010 at 02:18 PM.
 
Old 10-02-2010, 04:49 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,778

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by gpiw View Post
[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.
 
Old 10-06-2010, 05:16 PM   #5
juan10dan
Member
 
Registered: Jun 2010
Posts: 31

Rep: Reputation: 1
You should mark it as solved also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"unable to bind socket - Address already in use" engineerwell Linux - General 7 05-12-2010 02:46 AM
bind error on high ports "address already in use" DCalabrese Linux - Networking 2 05-25-2005 09:21 AM
dhcpd.conf "range" spanning address classes? michaelsanford Linux - Networking 2 04-08-2005 05:19 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
dhcpd error: "eth1: not found" JimTheta Linux - Networking 11 08-15-2003 06:21 PM


All times are GMT -5. The time now is 05:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration