Sumo logic collector fails to start on rasspberry PI
Hello,
I am new to Sumo logic and Rasspberry PI.
I have done what is listed in the blog,
https://www.sumologic.com/blog/using-sumo/use-sumo-logic-collect-raspberry-pi-logs/
but the collector fails to start. Any help would be great.
Thanks
John
Job for collector.service failed because the control process exited with error code.
See "systemctl status collector.service" and "journalctl -xe" for details.
Failed to start service collector
- The start-up result is done.
Jan 19 18:17:01 -pi CRON[27727]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 19 18:17:01 -pi CRON[27731]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 19 18:17:01 -pi CRON[27727]: pam_unix(cron:session): session closed for user root
Jan 19 18:47:42 -pi sudo[28149]: pi : TTY=pts/1 ; PWD=/etc/sudoers.d ; USER=root ; COMMAND=/bin/bash
Jan 19 18:59:08 -pi systemd[1]: Starting SumoLogic Collector...
-- Subject: Unit collector.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit collector.service has begun starting up.
Jan 19 18:59:08 pi collector[28299]: Starting SumoLogic Collector...
Jan 19 18:59:28 -pi collector[28299]: Waiting for SumoLogic Collector......................
Jan 19 18:59:28 -pi collector[28299]: WARNING: SumoLogic Collector may have failed to start.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Control process exited, code=exited status=1
Jan 19 18:59:28 -pi systemd[1]: Failed to start SumoLogic Collector.
-- Subject: Unit collector.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit collector.service has failed.
--
-- The result is failed.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Unit entered failed state.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Failed with result 'exit-code'.
systemctl status collector.service
root@-pi:/opt/sumocollector# systemctl status collector.service
● collector.service - SumoLogic Collector
Loaded: loaded (/etc/systemd/system/collector.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-01-19 18:59:28 EST; 13h ago
Process: 28299 ExecStart=/opt/sumocollector/./collector start sysd (code=exited, status=1/FAILURE)
Jan 19 18:59:08 -pi systemd[1]: Starting SumoLogic Collector...
Jan 19 18:59:08 -pi collector[28299]: Starting SumoLogic Collector...
Jan 19 18:59:28 -pi collector[28299]: Waiting for SumoLogic Collector......................
Jan 19 18:59:28 -pi collector[28299]: WARNING: SumoLogic Collector may have failed to start.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Control process exited, code=exited status=1
Jan 19 18:59:28 -pi systemd[1]: Failed to start SumoLogic Collector.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Unit entered failed state.
Jan 19 18:59:28 -pi systemd[1]: collector.service: Failed with result 'exit-code'.
-
Official comment
Hi John,
Thanks for checking out the RPi blog and giving it a shot! I wrote that blog a couple years ago to help as a side project, and it's not officially supported.
That said, I'll check it out to see if it's possible to fix this and what needs to be updated. Thanks for bringing this to our attention!
Comment actions
Please sign in to leave a comment.
Comments
2 comments