I have installed fluentD(td-agent) version 2.3.6 in CentOs 7. Now I'm unable to start td-agent. While starting td-agent it was throwing some error
[root@localhost ~]# /etc/init.d/td-agent start
Starting td-agent (via systemctl): 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.
[FAILED]
[root@localhost ~]# journalctl -xe
--
-- Unit td-agent.service has failed.
--
-- The result is failed.
Feb 02 17:10:05 localhost systemd[1]: Unit td-agent.service entered failed state.
Feb 02 17:10:05 localhost systemd[1]: td-agent.service failed.
Feb 02 17:10:05 localhost systemd[1]: td-agent.service holdoff time over, scheduling restart.
Feb 02 17:10:05 localhost systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
-- Subject: Unit td-agent.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit td-agent.service has begun starting up.
Feb 02 17:10:05 localhost fluentd[10544]: /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)
Feb 02 17:10:05 localhost fluentd[10544]: from /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:299:in `activate_bin_path'
Feb 02 17:10:05 localhost fluentd[10544]: from /opt/td-agent/embedded/bin/fluentd:23:in `<main>'
Feb 02 17:10:05 localhost systemd[1]: td-agent.service: control process exited, code=exited status=1
Feb 02 17:10:05 localhost systemd[1]: Failed to start td-agent: Fluentd based data collector for Treasure Data.
-- Subject: Unit td-agent.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit td-agent.service has failed.
--
-- The result is failed.
I have tried to install fluentD gem using td-agent-gem install fluentD, but that doesn't make any difference.
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent2.sh | sh