Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Apr 20, 2017, 09:18 AM
So I tried to set up monit to check sonarr but it isn't able to start sonarr when it crashes, I get this error:
Code:
Description: failed, cannot open a connection to INET[localhost:8989] via TCP
I used the guide from the website, been searching the internet but haven't found a solution yet. It seems I only have this problem with sonarr.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Apr 20, 2017, 10:06 AM
Can you try using the loopback adapter 127.0.0.1 instead of localhost?
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Apr 20, 2017, 10:16 AM
(Apr 20, 2017, 10:06 AM)Mike Wrote: Can you try using the loopback adapter 127.0.0.1 instead of localhost?
Should have mentioned it that I tried localhost, 127.0.0.1 and it's local ip address but they all give the same output.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Apr 20, 2017, 05:50 PM
With going over the monit guide I saw the pid file way (was using the matching way) and this seems to resolve the issue. Sonarr is now restarting when stopped
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Apr 20, 2017, 08:38 PM
(This post was last modified: Apr 20, 2017, 09:04 PM by Yveske.)
Update:
So the pid file only works when I stop sonarr manually.
If sonarr stops itself I get this error:
Code:
Description: failed to start (exit status 0) -- no output
I also haven't been able to figure out why sonarr is stopping. It started happening when I started using mysql for kodi and the only thing I can think about is when the raspberry pi runs out of memory.
Update:
Ok so hopefully now it's working thanks to another
thread on this forum.
If I add this line to the monit/sonarr configuration is does seem to start.
Code:
restart program = "/usr/sbin/service nzbdrone restart"
Fingers crossed it keeps working.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!