Jump to content

Recommended Posts

Bernie V
Posted

Hi guys,

 

The Emby service won't start anymore due to Unable to open env file: /etc/environment: No such file or directory. This the output when checking the Emby service:

 

 

emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; disabled)
   Active: active (running) since Mon 2017-05-01 18:56:32 CEST; 1s ago
  Process: 2402 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
 Main PID: 2423 (su)
   CGroup: /system.slice/emby-server.service
           ├─2423 su -s /bin/sh -c umask $0; exec "$1" "$@" emby -- 002 env MAGICK_HOME=/usr/lib/emby-server MAGICK_CODER_FILTER_PATH=/usr/lib/emby-server/arm-linux-gnueabihf/EmbyMagick-6.9.6/modules-Q8/filters MAGICK_CODER_MODULE_PATH=/usr/lib/emby-server/arm-linux-gnueabihf/EmbyMagick-6.9.6/modules-Q8/coders MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m LD_LIBRARY_PATH=/usr/lib/emby-server/arm-linux-gnueabihf /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
           └─2445 /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
May 01 18:56:32 VanDerMedMan systemd[1]: Started Emby Media Server.
May 01 18:56:32 VanDerMedMan su[2423]: Successful su for emby by root
May 01 18:56:32 VanDerMedMan su[2423]: + ??? root:emby
May 01 18:56:32 VanDerMedMan su[2423]: pam_env(su:session): Unable to open env file: /etc/environment: No such file or directory
May 01 18:56:32 VanDerMedMan su[2423]: pam_unix(su:session): session opened for user emby by (uid=0)

 

 

Has someone an idea?

 

Regards

mastrmind11
Posted

Well does /etc/environment exist?  If not, touch /etc/environment

Posted

Go here

/var/lib/emby-server/plugins

Remove all plugin dlls and see if that allows it to start. If the issue persists, try installing on top of your existing install just in case any installation files may have been tampered with. Let us know if this helps. Thanks !

Bernie V
Posted

Thx, the last.fm plugin dll caused the issue. Problem solved!

Posted

Thanks for the feedback.

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...