Der Befehl pgrep dhcpd
gibt mir nichts aus. Wenn ich allerdings den Befehl service dhcpd status
eingebe, kommt folgendes:
root@dc01:~# service dhcpd status
● dhcpd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@dc01:~#
Starten geht somit auch nicht:
root@dc01:~# service dhcpd start
Failed to start dhcpd.service: Unit dhcpd.service failed to load: No such file or directory.
root@dc01:~#
Allerdings läuft der univention-dhcp
:
root@dc01:~# service univention-dhcp status
● univention-dhcp.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/univention-dhcp)
Active: active (exited) since Sa 2017-09-02 22:23:42 CEST; 12min ago
Sep 02 22:23:42 dc01 univention-dhcp[8450]: Configuration file errors encoun...g
Sep 02 22:23:42 dc01 univention-dhcp[8450]: If you think you have received t...r
Sep 02 22:23:42 dc01 univention-dhcp[8450]: than a configuration issue pleas...g
Sep 02 22:23:42 dc01 univention-dhcp[8450]: bugs on either our web page at w...e
Sep 02 22:23:42 dc01 univention-dhcp[8450]: before submitting a bug. These ...r
Sep 02 22:23:42 dc01 univention-dhcp[8450]: process and the information we f....
Sep 02 22:23:42 dc01 univention-dhcp[8450]: exiting.
Sep 02 22:23:42 dc01 univention-dhcp[8450]: Starting DHCP server: dhcpdok: r...n
Sep 02 22:23:42 dc01 systemd[1]: Started LSB: DHCP server.
Sep 02 22:23:42 dc01 univention-dhcp[8450]: .
Hint: Some lines were ellipsized, use -l to show in full.
root@dc01:~#
Merkwürdigerweise zeigt mir der pgrep univention-dhcp
auch nichts an…
Wie kann ich den dhcpd
Dienst starten?
Hier hatte ich erlauben ausgewählt und so wird mir dies auch im Webinterface bei den Richtlinien angezeigt.
Folgendes zeigt mir der Befehl an:
root@dc01:~# univention-policy-result -D cn=admin,$(ucr get ldap/base) -y /etc/ldap.secret cn=10.153.96.0,cn=local.intranet,cn=dhcp,dc=local,dc=intranet
DN: cn=10.153.96.0,cn=local.intranet,cn=dhcp,dc=local,dc=intranet
POLICY cn=10.153.96.0,cn=local.intranet,cn=dhcp,dc=local,dc=intranet
Policy: cn=UCS 4.0,cn=desktop,cn=policies,dc=local,dc=intranet
Attribute: univentionDesktopProfile
Value: /usr/share/univention-kde-profiles/kde4-menu
Value: /usr/share/univention-kde-profiles/ucs-4.0
Policy: cn=default-users,cn=admin-settings,cn=users,cn=policies,dc=local,dc=intranet
Attribute: univentionAdminMayOverrideSettings
Value: 0
Policy: cn=default-users,cn=admin-settings,cn=users,cn=policies,dc=local,dc=intranet
Attribute: univentionAdminListWebModules
Value: modself
Policy: cn=default-users,cn=admin-settings,cn=users,cn=policies,dc=local,dc=intranet
Attribute: univentionAdminListWizards
Value: None
Policy: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=local,dc=intranet
Attribute: univentionPWLength
Value: 8
Policy: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=local,dc=intranet
Attribute: univentionPWHistoryLen
Value: 3
Policy: cn=DHCP Verschiedenes,cn=statements,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpServerName
Value: dc01
Policy: cn=DHCP Verschiedenes,cn=statements,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpPingCheck
Value: true
Policy: cn=DHCP Verschiedenes,cn=statements,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpBootUnknownClients
Value: true
Policy: cn=DHCP Verschiedenes,cn=statements,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpAuthoritative
Value: yes
Policy: cn=DHCP Verschiedenes,cn=statements,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpGetLeaseHostnames
Value: true
Policy: cn=DHCP Erlauben/Verbieten,cn=scope,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpBooting
Value: allow
Policy: cn=DHCP Erlauben/Verbieten,cn=scope,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDuplicates
Value: allow
Policy: cn=DHCP Erlauben/Verbieten,cn=scope,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDeclines
Value: allow
Policy: cn=DHCP Erlauben/Verbieten,cn=scope,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpUnknownClients
Value: allow
Policy: cn=DHCP Erlauben/Verbieten,cn=scope,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpBootp
Value: allow
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDdnsRevDomainname
Value: "local.intranet"
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDdnsDomainname
Value: "local.intranet"
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpClientUpdates
Value: allow
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDdnsUpdateStyle
Value: ad-hoc
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDoForwardUpdates
Value: true
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDdnsUpdates
Value: on
Policy: cn=DHCP DNS Aktualisierung,cn=dnsupdate,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpUpdateStaticLeases
Value: true
Policy: cn=DHCP Lease-Zeit,cn=leasetime,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpLeaseTimeMax
Value: 1209600
Policy: cn=DHCP Lease-Zeit,cn=leasetime,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpLeaseTimeMin
Value: 7200
Policy: cn=DHCP Lease-Zeit,cn=leasetime,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpLeaseTimeDefault
Value: 864000
Policy: cn=default-settings,cn=routing,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpRouters
Value: 10.153.96.1
Policy: cn=default-settings,cn=dns,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDomainNameServers
Value: 10.153.96.11
Policy: cn=default-settings,cn=dns,cn=dhcp,cn=policies,dc=local,dc=intranet
Attribute: univentionDhcpDomainName
Value: local.intranet
root@dc01:~#
Besten Dank für Ihre Bemühungen!