fluentd-ui start fail
This is my config info:
[root@Jasontom ~]# td-agent --version
td-agent 1.9.0
[root@Jasontom ~]# td-agent-gem --version
WARN: Unresolved specs during Gem::Specification.reset:
tzinfo (< 3.0, >= 1.0, >= 1.0.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
2.6.14
[root@Jasontom ~]# td-agent-gem install -V fluentd-ui
.....
.....
[root@Jasontom ~]# /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluentd-ui setup
[root@Jasontom ~]# /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluentd-ui start
[root@Jasontom ~]# /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluentd-ui status
fluentd-ui is stopped
Execute start without any output.
I'm seeing the same problem. I have td-agent 1.9.2, running on Ubuntu bionic.
Is any log generated by fluentd-ui?
td-agent 1.9.0 or 1.9.2 seems too old, probably you mean td-agent 3.6.0 with fluentd-1.9.2. (td-agent --version shows fluentd's version instead of td-agent package's version).
I confirmed this issue with td-agent 3.6.0. The cause is that shebang of /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-ui-1.2.1/bin/fluentd-ui (which is the actual path of the executable) is inappropriate for td-agent:
#!/usr/bin/env ruby
A workaround for it is that adding /opt/td-agent/embedded/bin to your PATH:
sudo PATH=/opt/td-agent/embedded/bin:$PATH /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluentd-ui start
The cause is that shebang of /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-ui-1.2.1/bin/fluentd-ui (which is the actual path of the executable) is inappropriate for td-agent:
#!/usr/bin/env ruby
The detail is incorrect.
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-ui-1.2.1/bin/fluentd-ui is executed correctly by load.
But it fails to run bundler since it can't find the path.