質問編集履歴
3
syslogを追記しました。文字数制限のため、ホスト名をhに置き換えています。
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,11 +34,11 @@
|
|
34
34
|
journalctl -xe のログです。
|
35
35
|
```
|
36
36
|
-- Unit td-agent.service has begun starting up.
|
37
|
-
Aug 31 09:19:44
|
37
|
+
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)
|
38
|
-
Aug 31 09:19:44
|
38
|
+
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'
|
39
|
-
Aug 31 09:19:44
|
39
|
+
Aug 31 09:19:44 h fluentd[26826]: from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
40
|
-
Aug 31 09:19:44
|
40
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
41
|
-
Aug 31 09:19:44
|
41
|
+
Aug 31 09:19:44 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
42
42
|
-- Subject: Unit td-agent.service has failed
|
43
43
|
-- Defined-By: systemd
|
44
44
|
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
@@ -46,17 +46,17 @@
|
|
46
46
|
-- Unit td-agent.service has failed.
|
47
47
|
--
|
48
48
|
-- The result is failed.
|
49
|
-
Aug 31 09:19:44
|
49
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Unit entered failed state.
|
50
|
-
Aug 31 09:19:44
|
50
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
51
|
-
Aug 31 09:19:44
|
51
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
52
|
-
Aug 31 09:19:44
|
52
|
+
Aug 31 09:19:44 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
53
53
|
-- Subject: Unit td-agent.service has finished shutting down
|
54
54
|
-- Defined-By: systemd
|
55
55
|
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
56
56
|
--
|
57
57
|
-- Unit td-agent.service has finished shutting down.
|
58
|
-
Aug 31 09:19:44
|
58
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Start request repeated too quickly.
|
59
|
-
Aug 31 09:19:44
|
59
|
+
Aug 31 09:19:44 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
60
60
|
-- Subject: Unit td-agent.service has failed
|
61
61
|
-- Defined-By: systemd
|
62
62
|
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
@@ -64,10 +64,68 @@
|
|
64
64
|
-- Unit td-agent.service has failed.
|
65
65
|
--
|
66
66
|
-- The result is failed.
|
67
|
-
Aug 31 09:19:44
|
67
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Unit entered failed state.
|
68
|
-
Aug 31 09:19:44
|
68
|
+
Aug 31 09:19:44 h systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
69
|
+
|
69
70
|
```
|
70
71
|
|
72
|
+
syslogの出力です。
|
73
|
+
```
|
74
|
+
Aug 31 09:27:39 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
75
|
+
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)
|
76
|
+
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'
|
77
|
+
Aug 31 09:27:39 h fluentd[27317]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
78
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
79
|
+
Aug 31 09:27:39 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
80
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Unit entered failed state.
|
81
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
82
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
83
|
+
Aug 31 09:27:39 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
84
|
+
Aug 31 09:27:39 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
85
|
+
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)
|
86
|
+
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'
|
87
|
+
Aug 31 09:27:39 h fluentd[27322]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
88
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
89
|
+
Aug 31 09:27:39 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
90
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Unit entered failed state.
|
91
|
+
Aug 31 09:27:39 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
92
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
93
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
94
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
95
|
+
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)
|
96
|
+
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'
|
97
|
+
Aug 31 09:27:40 h fluentd[27327]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
98
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
99
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
100
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
101
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
102
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
103
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
104
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
105
|
+
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)
|
106
|
+
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'
|
107
|
+
Aug 31 09:27:40 h fluentd[27332]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
108
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
109
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
110
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
111
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
112
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
113
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
114
|
+
Aug 31 09:27:40 h systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
|
115
|
+
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)
|
116
|
+
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'
|
117
|
+
Aug 31 09:27:40 h fluentd[27337]: #011from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
118
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
119
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
120
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
121
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
122
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
123
|
+
Aug 31 09:27:40 h systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
124
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Start request repeated too quickly.
|
125
|
+
Aug 31 09:27:40 h systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
126
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Unit entered failed state.
|
127
|
+
Aug 31 09:27:40 h systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
128
|
+
```
|
71
129
|
|
72
130
|
|
73
131
|
### 試したこと
|
2
journalctl -xeのログを追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,6 +30,46 @@
|
|
30
30
|
Aug 31 08:02:27 ubuntu16-td-agent systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
31
31
|
```
|
32
32
|
|
33
|
+
追記
|
34
|
+
journalctl -xe のログです。
|
35
|
+
```
|
36
|
+
-- Unit td-agent.service has begun starting up.
|
37
|
+
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)
|
38
|
+
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'
|
39
|
+
Aug 31 09:19:44 ubuntu16-td-agent fluentd[26826]: from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
|
40
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Control process exited, code=exited status=1
|
41
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
42
|
+
-- Subject: Unit td-agent.service has failed
|
43
|
+
-- Defined-By: systemd
|
44
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
45
|
+
--
|
46
|
+
-- Unit td-agent.service has failed.
|
47
|
+
--
|
48
|
+
-- The result is failed.
|
49
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Unit entered failed state.
|
50
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Failed with result 'exit-code'.
|
51
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Service hold-off time over, scheduling restart.
|
52
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Stopped td-agent: Fluentd based data collector for Treasure Data.
|
53
|
+
-- Subject: Unit td-agent.service has finished shutting down
|
54
|
+
-- Defined-By: systemd
|
55
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
56
|
+
--
|
57
|
+
-- Unit td-agent.service has finished shutting down.
|
58
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Start request repeated too quickly.
|
59
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
|
60
|
+
-- Subject: Unit td-agent.service has failed
|
61
|
+
-- Defined-By: systemd
|
62
|
+
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
63
|
+
--
|
64
|
+
-- Unit td-agent.service has failed.
|
65
|
+
--
|
66
|
+
-- The result is failed.
|
67
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Unit entered failed state.
|
68
|
+
Aug 31 09:19:44 ubuntu16-td-agent systemd[1]: td-agent.service: Failed with result 'start-limit-hit'.
|
69
|
+
```
|
70
|
+
|
71
|
+
|
72
|
+
|
33
73
|
### 試したこと
|
34
74
|
|
35
75
|
変数 $TD_AGENT_LOG_FILE は存在しませんでした。
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,6 +9,8 @@
|
|
9
9
|
td-agentを起動しようとするとエラーが出て失敗してしまいます。
|
10
10
|
|
11
11
|
```
|
12
|
+
$ sudo systemctl start td-agent.service
|
13
|
+
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.
|
12
14
|
$ sudo systemctl status td-agent.service
|
13
15
|
● td-agent.service - td-agent: Fluentd based data collector for Treasure Data
|
14
16
|
Loaded: loaded (/lib/systemd/system/td-agent.service; disabled; vendor preset: enabled)
|