I changed the port that Sonarr is running on to 913. Shut it down, re-started as admin:
“PortInUseException: Port 913 is already in use, please ensure NzbDrone is not already running.”
So I looked at the logs, and I notice it’s basing its decision to not launch on the results of ‘netsh http show urlacl’, which appears in the log, including a reservation for port 913.
So I run netsh http show urlacl’… and there is no reservation for port 913.
I delete the program folder, and re-install it… the problem persists.
I’m at my wits’ end with this stupid program.
Where is Sonarr finding these nonexistent URL reservations? Or Where is it hiding additional config data?
[quote=“markus101, post:2, topic:5483”]
Not the best way to ask for help from a group of people that work on and support “this stupid program” in their valuable free time.[/quote]
You’re right; I’m sorry. I got frustrated.
15-5-4 20:38:17.9|Fatal|WindowsApp|EPIC FAIL: Port 913 is already in use, please ensure NzbDrone is not already running.
NzbDrone.Host.Owin.PortInUseException: Port 913 is already in use, please ensure NzbDrone is not already running.
15-5-4 20:39:03.4|Debug|netsh.exe|Starting netsh.exe http show urlacl
15-5-4 20:39:03.4|Debug|netsh.exe|URL Reservations:
15-5-4 20:39:03.4|Debug|netsh.exe|-----------------
15-5-4 20:39:03.7|Debug|netsh.exe| Reserved URL : https://*:913/
15-5-4 20:39:03.7|Debug|netsh.exe| User: \Everyone
15-5-4 20:39:03.7|Debug|netsh.exe| Listen: Yes
15-5-4 20:39:03.7|Debug|netsh.exe| Delegate: No
15-5-4 20:39:03.7|Debug|netsh.exe| SDDL: D:(A;;GX;;;WD)
15-5-4 20:39:03.7|Info|Router|Application mode: UninstallService
15-5-4 20:39:03.7|Debug|Router|Uninstall Service selected
15-5-4 20:39:03.7|Debug|ServiceProvider|Checking if service NzbDrone exists.
15-5-4 20:39:03.7|Info|ConsoleApp|Exiting main.
Again, the output of ‘netsh http show urlacl’ shows an entry for 913 which isn’t there in the output of ‘netsh http show urlacl’ from the command line. Why are they different? Is Sonarr caching this information somewhere?
As soon as I re-named the log file to get a clean one to look at/upload, it started fine on port 913. I even installed the service, re-started it a few times, and then rebooted to make sure it would come up. It did.
So I’m not sure what the log had to do with Sonarr thinking that port was in use when it wasn’t, or why it won’t create a new log now that it’s back up…
Yes, but I wasn’t able to get SSL working easily, so I gave up on it and uninstalled Sonarr the best way I could figure out:
Attempted to uninstall via Programs & Features, didn’t work
ServiceUninstall.exe
unins000.exe
Deleted program folder
Manually deleted every URL reservation I found using ‘netsh http show urlacl’ at an administrative command line.
Rebooted.
So… the URL reservations were GONE. They did not exist in Windows’ URL reservation list at the time of log event generation. I know it sounds Twilight Zone, but that’s what happened.
In any case, I’m desperately low on sleep, and it looks like it’s working, so… thanks for your help. =)