cant start isc-dhcp-server6

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cant start isc-dhcp-server6

Denis Taranushin
Hello.
I use DHCP + LDAP. They works well.
But after reboot i have

Jun 15 14:16:57 dhcp1 slapd[1018]: @(#) $OpenLDAP: slapd  (Ubuntu) (Sep
15 2015 18:19:13)
$#012#011buildd@lgw01-53:/build/openldap-2QUgtL/openldap-2.4.31/debian/build/servers/slapd

Jun 15 14:16:57 dhcp1 dhcpd: Error: Cannot login into ldap server
127.0.0.1:389: Can't contact LDAP server

Jun 15 14:16:57 dhcp1 dhcpd: Configuration file errors encountered --
exiting

slapd starts but dhcpd can't connect. If I run manually:
service isc-dhcp-server6 start
the server starts normally

also i have errors inb log:
kernel: type=1400 audit(1465987873.009:24): apparmor="DENIED"
operation="mknod" profile="/usr/sbin/dhcpd" name="/tmp-sDNmo4KlSV"
pid=1272 comm="dhcpd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

"/tmp-sDNmo4KlSV"  is strange.

any ideas?
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: cant start isc-dhcp-server6

A.L.M.Buxey
selinux enabled ? Looks that way. You either need to write some policy rules to allow the 2 daemons to talk when started as services - eg read audit log, use audit2allow etc (advised, recommended) or turn selinux off (hack, not advised. .. may be done briefly as part of troubleshooting to pinpoint its an selinux issue)

alan
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users