質問編集履歴
1
openldap\.service は起動できるようになった結果を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,19 +10,11 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
systemctl start openldap.service をした場合は起動し openldap.service は enable になっているが
|
14
|
+
|
15
|
+
サーバを reboot すると slapd が起動しない
|
13
16
|
|
14
17
|
|
15
|
-
% systemctl enable openldap の結果は以下になるが enable にはなる(rootで実行)
|
16
|
-
|
17
|
-
Synchronizing state of openldap.service with SysV init with /lib/systemd/systemd-sysv-install...
|
18
|
-
|
19
|
-
Executing /lib/systemd/systemd-sysv-install enable openldap
|
20
|
-
|
21
|
-
insserv: warning: script 'K01openldap' missing LSB tags and overrides
|
22
|
-
|
23
|
-
insserv: warning: script 'openldap' missing LSB tags and overrides
|
24
|
-
|
25
|
-
update-rc.d: error: openldap Default-Start contains no runlevels, aborting.
|
26
18
|
|
27
19
|
|
28
20
|
|
@@ -42,29 +34,65 @@
|
|
42
34
|
|
43
35
|
Description=openldap daemon
|
44
36
|
|
45
|
-
After=syslog.target network.target
|
46
|
-
|
47
37
|
|
48
38
|
|
49
39
|
[Service]
|
50
40
|
|
51
41
|
ExecStart=/etc/init.d/openldap start
|
52
42
|
|
53
|
-
|
43
|
+
Type=forking
|
54
44
|
|
55
|
-
|
45
|
+
PIDFile=/var/run/slapd.pid
|
56
46
|
|
57
47
|
|
58
48
|
|
59
49
|
[Install]
|
60
50
|
|
61
|
-
WantedBy=
|
51
|
+
WantedBy=multi-user.target
|
62
52
|
|
63
53
|
|
64
54
|
|
65
55
|
--
|
66
56
|
|
67
57
|
|
58
|
+
|
59
|
+
systemctl start openldap.service をした場合の systemctl statatus openldap.service の結果
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
^[[0;1;32m●^[[0m openldap.service - openldap daemon
|
64
|
+
|
65
|
+
Loaded: loaded (/etc/systemd/system/openldap.service; enabled; vendor preset: enabled)
|
66
|
+
|
67
|
+
Active: ^[[0;1;32mactive (running)^[[0m since 水 2017-02-08 10:35:52 JST; 16s ago
|
68
|
+
|
69
|
+
Process: 1578 ExecStart=/etc/init.d/openldap start (code=exited, status=0/SUCCESS)
|
70
|
+
|
71
|
+
Main PID: 1582 (slapd)
|
72
|
+
|
73
|
+
Tasks: 3
|
74
|
+
|
75
|
+
Memory: 20.2M
|
76
|
+
|
77
|
+
CPU: 991ms
|
78
|
+
|
79
|
+
CGroup: /system.slice/openldap.service
|
80
|
+
|
81
|
+
└─1582 /usr/local/ldap/libexec/slapd -h ldaps:/// ldap:///
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
2月 08 10:35:51 ns03-2016 systemd[1]: Starting openldap daemon...
|
86
|
+
|
87
|
+
2月 08 10:35:52 ns03-2016 openldap[1578]: started OpenLDAP slapd slurpd.
|
88
|
+
|
89
|
+
2月 08 10:35:52 ns03-2016 slapd[1581]: @(#) $OpenLDAP: slapd 2.4.44 (Feb 6 2017 17:52:52) $
|
90
|
+
|
91
|
+
anzii@ns03-2016:/usr/local/src/openldap-2.4.44/servers/slapd
|
92
|
+
|
93
|
+
2月 08 10:35:52 ns03-2016 slapd[1582]: slapd starting
|
94
|
+
|
95
|
+
2月 08 10:35:52 ns03-2016 systemd[1]: Started openldap daemon.
|
68
96
|
|
69
97
|
|
70
98
|
|
@@ -76,7 +104,7 @@
|
|
76
104
|
|
77
105
|
|
78
106
|
|
79
|
-
|
107
|
+
systemctl start openldap.service 単体で実行した場合は slapd , slurpd が起動する
|
80
108
|
|
81
109
|
|
82
110
|
|