root@node1:~# service elastic-agent start
Error: unknown command "test" for "elastic-agent"
Run 'elastic-agent --help' for usage.
unknown command "test" for "elastic-agent"
...fail!
I suppose the issue is that init script in agent .deb package calls test instead of inspect method.
line 21 in elastic-agent-7.9.3-amd64.deb -> data.tar.gz -> etc/init.d/elastic-agent
But, I think this shouldn't fail like this. If this is not supposed to work, the init.d script shouldn't be included. I have created an issue for that: https://github.com/elastic/beats/issues/22360
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.