Jump to content

Problem creating Windows Service


Go to solution Solved by dreadwolf2k,

Recommended Posts

Posted

Hello   

 

I have upgraded to version 3.2.40 and am trying to create the service as per the instructions (https://emby.media/community/index.php?/topic/50992-how-to-run-emby-server-as-a-windows-service/ ) but keep getting a "Error 2: The System cannot find the file specified" I have configured the NSSM app.

 

I have pointed to the System folder for my emby installation and entered the correct argument as instructed is there something i am missing?

 

using server 2012 R2 for the hosting.

 

any help on this 

 

 

Posted

Hi, you wouldn't point it to the system folder but rather the EmbyServer.exe file inside the system folder. please let us know if this helps. thanks.

Posted

Hi, I have pointed it as per the below:

 

Path: "C:\Users\<Username>\AppData\Roaming\Emby-Server\system\EmbyServer.exe"

Startup Directory: "C:\Users\<Username>\AppData\Roaming\Emby-Server\system"

Arguments:  -service

Posted

and where exactly do you get that error? can you show a screenshot of it? thanks.

  • Like 1
Posted

In Command prompt:

5a26ec36e5993_CMD.jpg

 

and also from the services.msc

5a26ec57247a7_Services.jpg

Posted

I'm not quite sure what the issue is. @@Happy2Play have you seen this with nssm?

Happy2Play
Posted

I would double check the exact install path to ensure everything is correct.  I have seen that error before but it was because I had deleted the test install that service was pointed to.

dreadwolf2k
Posted

I got the same error and I checked the path and the embyserver.exe is there 

Posted

I would double check the exact install path to ensure everything is correct.  I have seen that error before but it was because I had deleted the test install that service was pointed to.

checked the path and it is the correct installation directory

  • Solution
dreadwolf2k
Posted

Ok looking at another post I solved my issue 

https://emby.media/community/index.php?/topic/53171-install-emby-as-a-service/?hl=%2Bemby+%2Bservice

 

I had to use the 64bit version of nssm.exe (I thought since it was system32 directory that I was supposed to use the 32 bit version)

 

When I copied the 64bit version of mssm to system32  and reinstalled the service it started without issue. 

  • Like 2
Posted

Ok looking at another post I solved my issue 

https://emby.media/community/index.php?/topic/53171-install-emby-as-a-service/?hl=%2Bemby+%2Bservice

 

I had to use the 64bit version of nssm.exe (I thought since it was system32 directory that I was supposed to use the 32 bit version)

 

When I copied the 64bit version of mssm to system32  and reinstalled the service it started without issue. 

 

You absolute beauty, didn't even think of that. it worked a treat. thanks a lot!!!!

Posted

Just for info..

 

Had the old imbedded Emby windows service, but stopped working above  3.2.36. It would not start "TimeOut"

I had to do "sc delete emby" in an admin cmd. and switch to the new nssm method.

 

Best of luck.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...