NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
givememynamebak
Jun 15, 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 16, 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 15, 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.
- JennCJun 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,
- givememynamebakJun 16, 2017Luminary
That is the one I downloaded and installed intel 6.x from plex.tv.
root@ReadyNAS1:~/apps# wget https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
converted 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb' (ANSI_X3.4-1968) -> 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb' (UTF-8)
--2017-06-15 17:22:05-- https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 104.20.6.9, 104.20.7.9, 2400:cb00:2048:1::6814:609, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.20.6.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105334180 (100M) [application/octet-stream]
Saving to: 'plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb'
plexmediaserver-ros6-binaries_1 100%[=======================================================>] 100.45M 40.7MB/s in 2.5s
root@ReadyNAS1:~/apps# dpkg -i plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb
Selecting previously unselected package plexmediaserver-ros6-binaries.
(Reading database ... 40866 files and directories currently installed.)
Preparing to unpack plexmediaserver-ros6-binaries_1.5.6.3790-4613ce077_amd64.deb ...
Unpacking plexmediaserver-ros6-binaries (1.5.6.3790-4613ce077) ...
Setting up plexmediaserver-ros6-binaries (1.5.6.3790-4613ce077) ...
Adding 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/plexmediaserver_environment' owned by diverting package 'plexmediaserver-ros6-binaries'
Adding 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/fvapp-plexmediaserver.service' owned by diverting package 'plexmediaserver-ros6-binaries'
Adding 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries'
Ignoring request to rename file '/apps/plexmediaserver/logo.png' owned by diverting package 'plexmediaserver-ros6-binaries'
Created symlink /etc/systemd/system/multi-user.target.wants/fvapp-plexmediaserver.service → /lib/systemd/system/fvapp-plexmediaserver.service.
Removing 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver-ros6-binaries'
Removing 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaserver-ros6-binaries'
Removing 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries'
No diversion 'diversion of /apps/plexmediaserver/config.xml by plexmediaserver-ros6-binaries', none removed.
Processing triggers for libc-bin (2.19-18+deb8u9.netgear1) ...
Now it doesn't show up in apps on frontview and, it's not started.
- givememynamebakJun 16, 2017Luminary
Some logs... with some things masked as xxx or XX:
> sudo journalctl -xe
Jun 15 17:28:11 ReadyNAS1 readynasd[3299]: Application Plex Media Server was uninstalled successfully.
Jun 15 17:28:13 ReadyNAS1 msmtpq[621]: mail for [ -C /etc/msmtprc xxxx.xxxx@gmail.com xxx.xxx@gmail.com --timeout=60 ] : send was successful
Jun 15 17:28:13 ReadyNAS1 readynasd[3299]: Cannot send event message. fd=13
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Stopping The Apache HTTP Server...
-- Subject: Unit apache2.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun shutting down.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Stopped The Apache HTTP Server.
-- Subject: Unit apache2.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has finished shutting down.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun starting up.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Reloading.
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: [Thu Jun 15 17:38:53 2017] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: [Thu Jun 15 17:38:53 2017] [warn] Useless use of AllowOverride in line 7 of /apps/photos2/https.conf.
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: [Thu Jun 15 17:38:53 2017] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: [Thu Jun 15 17:38:53 2017] [warn] Useless use of AllowOverride in line 7 of /apps/photos2/https.conf.
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Jun 15 17:38:53 ReadyNAS1 apache2[1211]: [warn] RSA server certificate CommonName (CN) `nas-XX-XX-XX.local' does NOT match server name!?
Jun 15 17:38:53 ReadyNAS1 systemd[1]: apache2.service: PID file /var/run/apache2.pid not readable (yet?) after start: No such file or directory
Jun 15 17:38:53 ReadyNAS1 apache2[1216]: [warn] RSA server certificate CommonName (CN) `nas-XX-XX-XX.local' does NOT match server name!?
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Started The Apache HTTP Server.
-- Subject: Unit apache2.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has finished starting up.
--
-- The start-up result is done.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Reloading.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: [/lib/systemd/system/fvapp-plexmediaserver.service:9] Invalid escape sequences in line, correcting: "/bin/sh -c '/a
pps/plexmediaserver/Binaries/Plex\ Media\ Server'"
Jun 15 17:38:53 ReadyNAS1 systemd[1]: Reloading.
Jun 15 17:38:53 ReadyNAS1 systemd[1]: [/lib/systemd/system/fvapp-plexmediaserver.service:9] Invalid escape sequences in line, correcting: "/bin/sh -c '/a
pps/plexmediaserver/Binaries/Plex\ Media\ Server'"
Jun 15 17:38:53 ReadyNAS1 leafp2p[2904]: Active notification manager
Jun 15 17:39:00 ReadyNAS1 apache_access[1218]: 192.168.1.176 "POST /dbbroker HTTP/1.1" 200
Jun 15 17:39:00 ReadyNAS1 apache_access[1218]: 192.168.1.176 "POST /dbbroker HTTP/1.1" 200
Jun 15 17:39:01 ReadyNAS1 CRON[1283]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 15 17:39:01 ReadyNAS1 CRON[1287]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Jun 15 17:39:01 ReadyNAS1 CRON[1283]: pam_unix(cron:session): session closed for user root
Jun 15 17:39:26 ReadyNAS1 connmand[3006]: ntp: adjust (slew): +0.000251 sec
Jun 15 17:46:10 ReadyNAS1 sudo[1694]: root : TTY=pts/0 ; PWD=/root/apps ; USER=root ; COMMAND=/bin/journalctl -xe
Jun 15 17:46:10 ReadyNAS1 sudo[1694]: pam_unix(sudo:session): session opened for user root by root(uid=0)
root@ReadyNAS1:~/apps#
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!