BIND 10 #3176: DHCP server dies because setting SO_BINDTODEVICE option on socket failed.
BIND 10 Development
do-not-reply at isc.org
Thu Sep 26 12:08:53 UTC 2013
#3176: DHCP server dies because setting SO_BINDTODEVICE option on socket failed.
----------------------------------+--------------------------------------
Reporter: thozza | Type: defect
Status: new | Priority: medium
Milestone: New Tasks | Component: dhcp
Keywords: | CVSS Scoring:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DHCP | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
----------------------------------+--------------------------------------
Hi.
Using BIND10 1.1.0 distributed in Fedora, when configuring DHCPv4
server using steps from documentation:
> config add Init/components b10-dhcp4
> config set Init/components/b10-dhcp4/kind dispensable
> config commit
the server fails to start with the following error:
2013-09-26 13:26:45.075 INFO [b10-dhcp4.dhcp4/1629] DHCP4_STARTING server
starting
2013-09-26 13:26:45.076 ERROR [b10-dhcp4.dhcp4/1629]
DHCP4_SRV_CONSTRUCT_ERROR error creating Dhcpv4Srv object, reason: Failed
to set SO_BINDTODEVICE option on socket 4
2013-09-26 13:26:45.077 INFO [b10-dhcp4.dhcpsrv/1629] DHCPSRV_MEMFILE_DB
opening memory file lease database: type=memfile
2013-09-26 13:26:45.078 WARN [b10-dhcp4.dhcpsrv/1629]
DHCPSRV_MEMFILE_WARNING using early version of memfile lease database -
leases will be lost after a restart
2013-09-26 13:26:45.078 INFO [b10-dhcp4.dhcp4/1629] DHCP4_CONFIG_COMPLETE
DHCPv4 server has completed configuration:
2013-09-26 13:26:45.079 INFO [b10-dhcp4.dhcp4/1629] DHCP4_SHUTDOWN server
shutdown
2013-09-26 13:26:45.083 INFO [b10-init.init/1622] BIND10_PROCESS_ENDED
process 1629 of b10-dhcp4 ended with status 0
2013-09-26 13:26:45.083 ERROR [b10-init.init/1622] BIND10_COMPONENT_FAILED
component b10-dhcp4 (pid 1629) failed: process exited normally with exit
status 0
Also when trying to configure DHCPv6 server, it fails with:
ERROR [b10-dhcp6.dhcp6/8426] DHCP6_SRV_CONSTRUCT_ERROR error creating
Dhcpv6Srv object, reason: Failed to bind socket 4 to
fe80::20e:7fff:fef3:aee9/port=547
Please note that we do not build BIND10 with "--with-dhcp-mysql".
--
Ticket URL: <http://bind10.isc.org/ticket/3176>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list