NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
givememynamebak
Jun 14, 2017Luminary
ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
Hi all, - just tried updating Plex to the latest from plex.tv 1.5.6.3790-4613ce077 May 9, 2017 Using Pro6 on OS6 6.7.4 and Plex no longer starts. I see nothing for plex in /etc/init.d (not ...
- Jun 15, 2017
Checked all the logs with:
journalctl
Seemed to be an abnormally high amount of locale errors so I did:
journalctl | grep locale
Jun 10 16:43:18 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](56%) Installing locales
Jun 10 16:43:18 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](58%) Preparing locales
Jun 10 16:43:40 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](60%) Unpacking locales
Jun 10 16:43:40 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](62%) Preparing to configure locales
Jun 10 16:43:43 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](71%) Configuring locales
Jun 10 16:43:44 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](73%) Configuring locales
Jun 10 16:43:44 ReadyNAS1 fv-app-install[26198]: Installing [/tmp/oracle-java8_8.0.131_all.deb](75%) Installed locales
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 10 17:12:31 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Noticed the problem started when I installed Java 8. Plex errors also showed here as (bolded below):
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:12:44 ReadyNAS1 readynasd[3697]: Failed to set locale. Fix your system.
Jun 14 20:22:19 ReadyNAS1 sh[24722]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:24 ReadyNAS1 sh[24737]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:30 ReadyNAS1 sh[24757]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:53 ReadyNAS1 sh[24821]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:22:58 ReadyNAS1 sh[24837]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:04 ReadyNAS1 sh[24861]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:08 ReadyNAS1 sh[24885]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:13 ReadyNAS1 sh[24910]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:23:18 ReadyNAS1 sh[24939]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:19 ReadyNAS1 sh[26254]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:24 ReadyNAS1 sh[26276]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:29 ReadyNAS1 sh[26295]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:26:55 ReadyNAS1 sh[26356]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:27:01 ReadyNAS1 sh[26380]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:27:06 ReadyNAS1 sh[26393]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:16 ReadyNAS1 minidlnad[2860]: minidlna.c:458: warn: Unset locale
Jun 14 20:31:19 ReadyNAS1 sh[3056]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:24 ReadyNAS1 sh[4039]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:30 ReadyNAS1 sh[4185]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:35 ReadyNAS1 sh[4205]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:40 ReadyNAS1 sh[4247]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 20:31:44 ReadyNAS1 readynasd[3324]: Failed to set locale. Fix your system.
So I ran:
dpkg --list
dpkg --remove plexmediaserver-ros6-binaries
cat /etc/locale.conf
cat: /etc/locale.conf: No such file or directory
cat /etc/locale.gen
touch /etc/locale.conf
vi /etc/locale.conf pasted in:
en_US.UTF-8 UTF-8
locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
sudo dpkg-reconfigure locales (typed 146 enter)
1. None 2. C.UTF-8 3. en_US.UTF-8
Chose: 3 (enter)
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Re-installed Plex in frontview, installed OK
Flipped the switch to Enable or Turn on Plex... toggling modal spinner came up (which it wasn't before)
Plex stayed enabled!!!! Problem solved. Plex now works and seemed to be due to the locale issues since I installed Java 8.
givememynamebak
Jun 14, 2017Luminary
Some logs...
> sudo journalctl -xe
-- The start-up result is done.
Jun 14 21:47:26 ReadyNAS1 readynasd[3289]: Service 'fvapp-plexmediaserver.service' goto unexpected state 'fail
ed'. Expect to be 'inactive'('deactivating').
Jun 14 21:47:26 ReadyNAS1 readynasd[3289]: KillUnit: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Inval
id arguments 'sssi' to call org.freedesktop.systemd1.Manager.KillUnit(), expecting 'ssi'.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: Starting Plex Media Server...
-- Subject: Unit fvapp-plexmediaserver.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has begun starting up.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: Started Plex Media Server.
-- Subject: Unit fvapp-plexmediaserver.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has finished starting up.
--
-- The start-up result is done.
Jun 14 21:47:26 ReadyNAS1 sh[5935]: terminate called after throwing an instance of 'std::runtime_error'
Jun 14 21:47:26 ReadyNAS1 sh[5935]: what(): locale::facet::_S_create_c_locale name not valid
Jun 14 21:47:26 ReadyNAS1 sh[5935]: Aborted
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Main process exited, code=exited, status=
134/n/a
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Unit entered failed state.
Jun 14 21:47:26 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Failed with result 'exit-code'.
Jun 14 21:47:31 ReadyNAS1 systemd[1]: fvapp-plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 14 21:47:31 ReadyNAS1 systemd[1]: Stopped Plex Media Server.
-- Subject: Unit fvapp-plexmediaserver.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fvapp-plexmediaserver.service has finished shutting down.
JennC
Jun 15, 2017NETGEAR Employee Retired
Hello givememynameba,
How about remove the Plex app you have and then download the one for Intel 6.x from https://www.plex.tv/downloads/ once done, do the update via SSH?
Regards,
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!