ecsjjgg 4 Posted August 14, 2019 Share Posted August 14, 2019 Hi, I have a BIG problem with emby, that I don't know how to resolve: It simply won't start... When I manually click on the icon, it just starts the embytray.exe application, but not the emby mediaserver.... I have already found the application .exe, it resides in my C:\Users\johan\AppData\Roaming\Emby-Server\system\EmbyServer.exe Now when I try to start it, it only launches another instance of embytray.exe Why won't my embyserver,exe run? I also have a laptop, with the exact same configuration as my main pc (Windows 10 1903), and there I don't have this problem...I have already restarted my pc many times to no avail, and also reinstalled emby many times (both beta, stable, and portable beta, and portable stable) Nothing works! Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 14, 2019 Share Posted August 14, 2019 Do you have any anti-virus software on the system that may be flagging Emby executable? Can you post a server log. Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 14, 2019 Author Share Posted August 14, 2019 (edited) No, I use only Windows Defender, on both my Laptop (working) and my main computer (Not working) Here are the logs... They doesn't say that much... debug.log Edited August 14, 2019 by ecsjjgg Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 14, 2019 Share Posted August 14, 2019 No, I use only Windows Defender, on both my Laptop (working) and my main computer (Not working) Here are the logs... They doesn't say that much... Just a guess but to me it looks like a custom port issue. Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 14, 2019 Share Posted August 14, 2019 Don't know how much it matters but it would appear you are running the x86 build (32bit) instead of the x64 build. Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: False User Interactive: True Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 15, 2019 Author Share Posted August 15, 2019 (edited) Yes I saw that too, but Now I have installed the 64bit portable app (beta) instead, take a new look at my log... I had emby configured to use the custom port 8097 for http, instead of 8096, just so I could use both my pc, and my laptop, when I had it at home on my home-network... I don't know if that's necessary (it is now located in my summer-home)... I can also upload a log file from the past, when emby was working (the file which is 50KB): embyserver-63700991496.txt embyserver-63701430220.txt Edited August 15, 2019 by ecsjjgg Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 15, 2019 Share Posted August 15, 2019 Looks like you configured a custom https port and the server is being denied access to bind to it. You may need to disable ssl from the server config file manually. Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 15, 2019 Author Share Posted August 15, 2019 (edited) Here is my system.xml from the config folder, it seems that https is already disabled.. What do I need to change? system.xml Edited August 15, 2019 by ecsjjgg Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 15, 2019 Share Posted August 15, 2019 Try removing the nodes related to https and secure connections so that they get set back to default. Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 15, 2019 Author Share Posted August 15, 2019 No, it didn't (I've now deleted all references to https, but it still don't work...) When I try to start the embyserver.exe, obly embytray,exe is started, and not the server... ...And the rederences to https got readded to system.xml automatically... embyserver-63701504996.txt system.xml Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 15, 2019 Share Posted August 15, 2019 Ok well the current release server will currently fail to start if your system denies it permission to the https port. So if you can resolve that, then this should resolve your problem. My guess would be both servers trying to bind to the same port, but that's just a guess. I'll be updating this for the next release to start with http only in this situation so that the server will at least start normally. Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 15, 2019 Share Posted August 15, 2019 Ok well the current release server will currently fail to start if your system denies it permission to the https port. So if you can resolve that, then this should resolve your problem. My guess would be both servers trying to bind to the same port, but that's just a guess. I'll be updating this for the next release to start with http only in this situation so that the server will at least start normally. If these are two separate machines same ports should be irrelevant. As I have default setting servers on multiple machines without issue. Ports only are a issue on the same machine or when you are applying port forwarding as same port can only go to one machine. Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 15, 2019 Share Posted August 15, 2019 Sorry I misread. Thought it was two on one machine. Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 15, 2019 Author Share Posted August 15, 2019 (edited) I am now manually port forwarding the 2 ports that Emby uses (8920 for https and 8096 for http), but as I expected that didn't help either... (as empy is already using upnp to forward these ports) I can add that I have replaced the system.xml with that from my working laptop, which uses these default ports... Byt it just won't start the embyserver.exe, when I double-click it, it just starts embytray.exe! And there is nothing I can do with that, as the server isn't running, I can't even restart emby server, as it is not running, and the settings and library webpages comes upp with an ERR_CONNECTION_REFUSED in chrome (and firefox and edge and ie and opera) system.xml embyserver-63701511342.txt Edited August 15, 2019 by ecsjjgg Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 16, 2019 Share Posted August 16, 2019 This isn't about port forwarding, this is about something solely on the server machine. The change I mentioned will be in the next beta server if you need immediate relief. Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 17, 2019 Author Share Posted August 17, 2019 Hi, I have now installed the latest beta (v4.3.0.4), but I still have this error (EmbServer.exe won't start, only the tray-icon) embyserver-63701678934.txt Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 17, 2019 Share Posted August 17, 2019 Something on that machine is not allowing access. Could the user have a corrupt user profile? System.Net.HttpListenerException: System.Net.HttpListenerException (10013): An attempt was made to access a socket in a manner prohibited by the access privileges. Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 17, 2019 Share Posted August 17, 2019 OK yes this will require further adjustments. While I understand you're probably frustrated, please note this is only happening due to your system denying access to the port. What I'm doing won't actually fix that, it will just make sure that the server doesn't immediately shut down. You'll want to look into why this is happening. Perhaps windows and/or security software denying privilege? Or a problem with your windows user as happy2play is suggesting. Or possibly that some other application is already using the port. Perhaps you have another instance of the server running and you just don't realize it. If you run netstat -an from a command prompt then you can see all port assignments. Look for any entries already assigned to 8096 or 8920. Link to comment Share on other sites More sharing options...
Solution ecsjjgg 4 Posted August 17, 2019 Author Solution Share Posted August 17, 2019 I just rebooted my computer, and now emby works... Thank you for your help in troubleshooting my issues! It must have been a glitch or something... 1 Link to comment Share on other sites More sharing options...
Happy2Play 8367 Posted August 17, 2019 Share Posted August 17, 2019 I just rebooted my computer, and now emby works... Thank you for your help in troubleshooting my issues! It must have been a glitch or something... interesting, glad it is working again. But am surprised it didn't work before "I have already restarted my pc many times to no avail, and also reinstalled emby many times (both beta, stable, and portable beta, and portable stable)" Link to comment Share on other sites More sharing options...
ecsjjgg 4 Posted August 18, 2019 Author Share Posted August 18, 2019 (edited) interesting, glad it is working again. But am surprised it didn't work before "I have already restarted my pc many times to no avail, and also reinstalled emby many times (both beta, stable, and portable beta, and portable stable)" Yes, me too, can it have something to do with the fact that I was using the latest beta the last time I rebooted? Anyway, it's working fine now! Edited August 18, 2019 by ecsjjgg Link to comment Share on other sites More sharing options...
Luke 37280 Posted August 18, 2019 Share Posted August 18, 2019 No, it's due to the port blocking reasons I mentioned earlier. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now