Start a service that wont start.
Not sure what to say here but since the last update to my Linode some of my services won't start.
Using - Debian 9
I have tried..
systemctl start mpgradio@promo.service
Systemctl reset-failed mpgradio@promo.service
result
● mpgradio@promo.service - Radio Streaming Service
Loaded: loaded (/etc/systemd/system/mpgradio@.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Sun 2020-08-09 16:34:11 UTC; 23s ago
Process: 20935 ExecStart=/usr/bin/ezstream -c promo.xml (code=exited, status=0/SUCCESS)
Main PID: 20935 (code=exited, status=0/SUCCESS)
Aug 09 16:34:11 localhost systemd[1]: mpgradio@promo.service: Service hold-off time over, sche
Aug 09 16:34:11 localhost systemd[1]: Stopped Radio Streaming Service.
Aug 09 16:34:11 localhost systemd[1]: mpgradio@promo.service: Start request repeated too quick
Aug 09 16:34:11 localhost systemd[1]: Failed to start Radio Streaming Service.
Aug 09 16:34:11 localhost systemd[1]: mpgradio@promo.service: Unit entered failed state.
Aug 09 16:34:11 localhost systemd[1]: mpgradio@promo.service: Failed with result 'start-limit-
~
I see a start limit here and pretty sure there is plenty of room as I am not trying to add a new service jus start the one that are already there….
Thank you for any advise..
M
1 Reply
The start-limit-hit error being thrown upon startup is indicating that there were too many service restarts in a short frequency (default 5 in 10s).
According to this AskUbuntu article you should be able to reset the counter with:
systemctl reset-failed servicename.service
With that said, you'll likely want to look into what caused the trouble to begin with. This question has some info about configuring your systemd service to prevent reaching the limit in the future.