Can't bind to dhcp address: Permission denied

Hanspeter Roth hampi at rootshell.be
Fri Oct 28 21:16:07 UTC 2005


  On Oct 25 at 04:05, jludwig spoke:

> On Thursday 27 October 2005 09:05, Hanspeter Roth wrote:
> > Hello,
> >
> > I'm trying to launch dhcpd with root by /etc/init.d/dhcpd start.
> > But in the system log it claims:
> >
> >   Can't bind to dhcp address: Permission denied
> >
> > But port 68 is not listened to by another process.
> > So what could be the cause?
> >
> > -Hanspeter
> Looks like your DHCP server will not give you an address since you are seeing 
> port 68 (this would be the port the server is listening to). Your machine 
> (the one asking for an address) can use any port it has open.
> 
> Fire up ethereal and check the transfer of information between machines.

The problem was that the dhcpd server quit immediately after startup.
So there wasn't any DHCP communication between the two hosts.

I have now disabled the SELinux feature 'protection for dhcpd
daemon'. This has solved my problem.

-Hanspeter




More information about the fedora-list mailing list