質問編集履歴
3
syslogを追記しました。文字数制限のため、ホスト名をhに置き換えています。
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,15 +70,15 @@
|
|
70
70
|
|
71
71
|
-- Unit td-agent.service has begun starting up.
|
72
72
|
|
73
|
-
Aug 31 09:19:44
|
73
|
+
Aug 31 09:19:44 h fluentd[26826]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
74
|
-
|
74
|
+
|
75
|
-
Aug 31 09:19:44
|
75
|
+
Aug 31 09:19:44 h fluentd[26826]: from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
76
|
-
|
76
|
+
|
77
|
-
Aug 31 09:19:44
|
77
|
+
Aug 31 09:19:44 h fluentd[26826]: from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
78
|
-
|
78
|
+
|
79
|
-
Aug 31 09:19:44
|
79
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
80
|
-
|
80
|
+
|
81
|
-
Aug 31 09:19:44
|
81
|
+
Aug 31 09:19:44 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
82
82
|
|
83
83
|
-- Subject: Unit td-agent.service has failed
|
84
84
|
|
@@ -94,13 +94,13 @@
|
|
94
94
|
|
95
95
|
-- The result is failed.
|
96
96
|
|
97
|
-
Aug 31 09:19:44
|
97
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Unit entered failed state.
|
98
|
-
|
98
|
+
|
99
|
-
Aug 31 09:19:44
|
99
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
100
|
-
|
100
|
+
|
101
|
-
Aug 31 09:19:44
|
101
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
102
|
-
|
102
|
+
|
103
|
-
Aug 31 09:19:44
|
103
|
+
Aug 31 09:19:44 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
104
104
|
|
105
105
|
-- Subject: Unit td-agent.service has finished shutting down
|
106
106
|
|
@@ -112,9 +112,9 @@
|
|
112
112
|
|
113
113
|
-- Unit td-agent.service has finished shutting down.
|
114
114
|
|
115
|
-
Aug 31 09:19:44
|
115
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Start request repeated too quickly.
|
116
|
-
|
116
|
+
|
117
|
-
Aug 31 09:19:44
|
117
|
+
Aug 31 09:19:44 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
118
118
|
|
119
119
|
-- Subject: Unit td-agent.service has failed
|
120
120
|
|
@@ -130,13 +130,129 @@
|
|
130
130
|
|
131
131
|
-- The result is failed.
|
132
132
|
|
133
|
-
Aug 31 09:19:44
|
133
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Unit entered failed state.
|
134
|
-
|
134
|
+
|
135
|
-
Aug 31 09:19:44
|
135
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
136
|
-
|
136
|
+
|
137
|
+
|
138
|
+
|
137
|
-
```
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
|
138
|
-
|
143
|
+
syslogの出力です。
|
144
|
+
|
139
|
-
|
145
|
+
```
|
146
|
+
|
147
|
+
Aug 31 09:27:39 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
148
|
+
|
149
|
+
Aug 31 09:27:39 h fluentd[27317]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
150
|
+
|
151
|
+
Aug 31 09:27:39 h fluentd[27317]: #011from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
152
|
+
|
153
|
+
Aug 31 09:27:39 h fluentd[27317]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
154
|
+
|
155
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
156
|
+
|
157
|
+
Aug 31 09:27:39 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
158
|
+
|
159
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Unit entered failed state.
|
160
|
+
|
161
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
162
|
+
|
163
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
164
|
+
|
165
|
+
Aug 31 09:27:39 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
166
|
+
|
167
|
+
Aug 31 09:27:39 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
168
|
+
|
169
|
+
Aug 31 09:27:39 h fluentd[27322]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
170
|
+
|
171
|
+
Aug 31 09:27:39 h fluentd[27322]: #011from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
172
|
+
|
173
|
+
Aug 31 09:27:39 h fluentd[27322]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
174
|
+
|
175
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
176
|
+
|
177
|
+
Aug 31 09:27:39 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
178
|
+
|
179
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Unit entered failed state.
|
180
|
+
|
181
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
182
|
+
|
183
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
184
|
+
|
185
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
186
|
+
|
187
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
188
|
+
|
189
|
+
Aug 31 09:27:40 h fluentd[27327]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
190
|
+
|
191
|
+
Aug 31 09:27:40 h fluentd[27327]: #011from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
192
|
+
|
193
|
+
Aug 31 09:27:40 h fluentd[27327]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
194
|
+
|
195
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
196
|
+
|
197
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
198
|
+
|
199
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
200
|
+
|
201
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
202
|
+
|
203
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
204
|
+
|
205
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
206
|
+
|
207
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
208
|
+
|
209
|
+
Aug 31 09:27:40 h fluentd[27332]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
210
|
+
|
211
|
+
Aug 31 09:27:40 h fluentd[27332]: #011from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
212
|
+
|
213
|
+
Aug 31 09:27:40 h fluentd[27332]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
214
|
+
|
215
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
216
|
+
|
217
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
218
|
+
|
219
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
220
|
+
|
221
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
222
|
+
|
223
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
224
|
+
|
225
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
226
|
+
|
227
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
228
|
+
|
229
|
+
Aug 31 09:27:40 h fluentd[27337]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
230
|
+
|
231
|
+
Aug 31 09:27:40 h fluentd[27337]: #011from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
232
|
+
|
233
|
+
Aug 31 09:27:40 h fluentd[27337]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
234
|
+
|
235
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
236
|
+
|
237
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
238
|
+
|
239
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
240
|
+
|
241
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
242
|
+
|
243
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
244
|
+
|
245
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
246
|
+
|
247
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Start request repeated too quickly.
|
248
|
+
|
249
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
250
|
+
|
251
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
252
|
+
|
253
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
254
|
+
|
255
|
+
```
|
140
256
|
|
141
257
|
|
142
258
|
|
2
journalctl -xeのログを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,6 +62,86 @@
|
|
62
62
|
|
63
63
|
|
64
64
|
|
65
|
+
追記
|
66
|
+
|
67
|
+
journalctl -xe のログです。
|
68
|
+
|
69
|
+
```
|
70
|
+
|
71
|
+
-- Unit td-agent.service has begun starting up.
|
72
|
+
|
73
|
+
Aug 31 09:19:44 ubuntu16-td-agent fluentd[26826]: /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
|
74
|
+
|
75
|
+
Aug 31 09:19:44 ubuntu16-td-agent fluentd[26826]: from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
|
76
|
+
|
77
|
+
Aug 31 09:19:44 ubuntu16-td-agent fluentd[26826]: from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
78
|
+
|
79
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
80
|
+
|
81
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
82
|
+
|
83
|
+
-- Subject: Unit td-agent.service has failed
|
84
|
+
|
85
|
+
-- Defined-By: systemd
|
86
|
+
|
87
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
88
|
+
|
89
|
+
--
|
90
|
+
|
91
|
+
-- Unit td-agent.service has failed.
|
92
|
+
|
93
|
+
--
|
94
|
+
|
95
|
+
-- The result is failed.
|
96
|
+
|
97
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Unit entered failed state.
|
98
|
+
|
99
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
100
|
+
|
101
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
102
|
+
|
103
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
104
|
+
|
105
|
+
-- Subject: Unit td-agent.service has finished shutting down
|
106
|
+
|
107
|
+
-- Defined-By: systemd
|
108
|
+
|
109
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
110
|
+
|
111
|
+
--
|
112
|
+
|
113
|
+
-- Unit td-agent.service has finished shutting down.
|
114
|
+
|
115
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Start request repeated too quickly.
|
116
|
+
|
117
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
118
|
+
|
119
|
+
-- Subject: Unit td-agent.service has failed
|
120
|
+
|
121
|
+
-- Defined-By: systemd
|
122
|
+
|
123
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
124
|
+
|
125
|
+
--
|
126
|
+
|
127
|
+
-- Unit td-agent.service has failed.
|
128
|
+
|
129
|
+
--
|
130
|
+
|
131
|
+
-- The result is failed.
|
132
|
+
|
133
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Unit entered failed state.
|
134
|
+
|
135
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
65
145
|
### 試したこと
|
66
146
|
|
67
147
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,6 +19,10 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
```
|
22
|
+
|
23
|
+
$ sudo systemctl start td-agent.service
|
24
|
+
|
25
|
+
Job for td-agent.service failed because the control process exited with error code. See "systemctl status td-agent.service" and "journalctl -xe" for details.
|
22
26
|
|
23
27
|
$ sudo systemctl status td-agent.service
|
24
28
|
|