- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 sure if that's normal) but it appears something may have changed on 6.7.4 for Apps or App Installs... any ideas?
Tried sudo apt-get update and sudo apt-get upgrade, that didn't seem to fix it. Wondering if anyone has any thoughts?
Thanks.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
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,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
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...
converted 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6...' (ANSI_X3.4-1968) -> 'https://downloads.plex.tv/plex-media-server/1.5.6.3790-4613ce077/plexmediaserver-ros6-binaries_1.5.6...' (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...
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
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#
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
More digging:
root@ReadyNAS1:~# /bin/sh -c '/apps/plexmediaserver/Binaries/Plex\ Media\ Server'
/apps/plexmediaserver/Binaries/Plex Media Server: error while loading shared libraries: libboost_atomic.so.1.59.0: cannot open shared object file: No such file or directory
root@ReadyNAS1:~# ldd /apps/plexmediaserver/Binaries/Plex\ Media\ Server
linux-vdso.so.1 (0x00007fff6fd29000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2963cdb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2963abe000)
libboost_atomic.so.1.59.0 => not found
libboost_system.so.1.59.0 => not found
libboost_thread.so.1.59.0 => not found
libboost_timer.so.1.59.0 => not found
libboost_program_options.so.1.59.0 => not found
libboost_locale.so.1.59.0 => not found
libboost_iostreams.so.1.59.0 => not found
libboost_filesystem.so.1.59.0 => not found
libboost_date_time.so.1.59.0 => not found
libboost_regex.so.1.59.0 => not found
libboost_chrono.so.1.59.0 => not found
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f296389e000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f2963537000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f296322d000)
libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f2962fb3000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f2962d52000)
libfreeimage.so => not found
libsoci_core.so.3.0.0 => not found
libsoci_sqlite3.so.3.0.0 => not found
libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007f29627cb000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f29623cf000)
libavformat.so.57 => /usr/lib/x86_64-linux-gnu/libavformat.so.57 (0x00007f296212e000)
libavcodec.so.57 => /usr/lib/x86_64-linux-gnu/libavcodec.so.57 (0x00007f2961ae0000)
libavutil.so.55 => /usr/lib/x86_64-linux-gnu/libavutil.so.55 (0x00007f296188e000)
libswscale.so.4 => /usr/lib/x86_64-linux-gnu/libswscale.so.4 (0x00007f2961618000)
libva.so.1 => not found
libva-drm.so.1 => not found
libiconv.so.2 => not found
libjemalloc.so.1 => not found
libminizip.so.1 => not found
libminiupnpc.so.10 => not found
libnatpmp.so.1 => not found
libtag.so.1 => not found
libopencv_imgproc.so.2.4 => not found
libopencv_core.so.2.4 => not found
liblrc.so.0 => not found
libgnsdk_correlates.so.3.07.7 => not found
libgnsdk_dsp.so.3.07.7 => not found
libgnsdk_fp.so.3.07.7 => not found
libgnsdk_link.so.3.07.7 => not found
libgnsdk_lookup_local.so.3.07.7 => not found
libgnsdk_lookup_localstream.so.3.07.7 => not found
libgnsdk_manager.so.3.07.7 => not found
libgnsdk_moodgrid.so.3.07.7 => not found
libgnsdk_musicid.so.3.07.7 => not found
libgnsdk_musicid_file.so.3.07.7 => not found
libgnsdk_musicid_match.so.3.07.7 => not found
libgnsdk_musicid_stream.so.3.07.7 => not found
libgnsdk_playlist.so.3.07.7 => not found
libgnsdk_rhythm.so.3.07.7 => not found
libgnsdk_storage_sqlite.so.3.07.7 => not found
libgnsdk_submit.so.3.07.7 => not found
libgnsdk_tocgen.so.3.07.7 => not found
libgnsdk_video.so.3.07.7 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f296130c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f29610f5000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2960d4a000)
/lib64/ld-linux-x86-64.so.2 (0x000055cf55f59000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2960b27000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007f29608fd000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f29606b2000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f29603de000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f29601ac000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f295ffa8000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f295fd99000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f295fb46000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f295f943000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f295f732000)
libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f295f4ba000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f295f1d7000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f295efcb000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f295edc7000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f295ebaf000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f295e993000)
libgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x00007f295e672000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f295e460000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f295e219000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f295e005000)
libnettle.so.4 => /usr/lib/x86_64-linux-gnu/libnettle.so.4 (0x00007f295ddd3000)
libhogweed.so.2 => /usr/lib/x86_64-linux-gnu/libhogweed.so.2 (0x00007f295dba3000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f295d920000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f295d718000)
root@ReadyNAS1:~# vi /apps/plexmediaserver/fvapp-plexmediaserver.service
[Unit]
Description=Plex Media Server
After=network.target
[Service]
EnvironmentFile=/apps/plexmediaserver/plexmediaserver_environment
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStartPre=/bin/sh -c '/usr/bin/test -d "/apps/plexmediaserver/temp" || /bin/mkdir -p "/apps/plexmediaserver/temp"'
ExecStart=/bin/sh -c '/apps/plexmediaserver/Binaries/Plex\ Media\ Server'
Type=simple
Restart=on-failure
RestartSec=5
StartLimitInterval=30s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
root@ReadyNAS1:~# vi /apps/plexmediaserver/plexmediaserver_environment
# default script for Plex Media Server
# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
# uncomment to set it to something else
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/apps/plexmediaserver/MediaLibrary"
# let's set the tmp dir to something useful.
TMPDIR="/apps/plexmediaserver/temp"
# We need to catch our libraries
# /usr/lib/plexmediaserver ?
LD_LIBRARY_PATH="/apps/plexmediaserver/Binaries:$LD_LIBRARY_PATH”
root@ReadyNAS1:/apps/plexmediaserver/Binaries# ls -lart libboost*
-rw-r--r-- 1 admin admin 71368 May 9 06:01 libboost_timer.so.1.59.0
-rw-r--r-- 1 admin admin 752344 May 9 06:01 libboost_thread.so.1.59.0
-rw-r--r-- 1 admin admin 158896 May 9 06:01 libboost_system.so.1.59.0
-rw-r--r-- 1 admin admin 1591968 May 9 06:01 libboost_regex.so.1.59.0
-rw-r--r-- 1 admin admin 1298976 May 9 06:01 libboost_program_options.so.1.59.0
-rw-r--r-- 1 admin admin 1263400 May 9 06:01 libboost_locale.so.1.59.0
-rw-r--r-- 1 admin admin 342280 May 9 06:01 libboost_iostreams.so.1.59.0
-rw-r--r-- 1 admin admin 488632 May 9 06:01 libboost_filesystem.so.1.59.0
-rw-r--r-- 1 admin admin 835296 May 9 06:01 libboost_date_time.so.1.59.0
-rw-r--r-- 1 admin admin 657656 May 9 06:01 libboost_chrono.so.1.59.0
-rw-r--r-- 1 admin admin 6520 May 9 06:01 libboost_atomic.so.1.59.0
OK - very confused now… why it’s not finding libboost_atomic….
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
root@ReadyNAS1:~# export LD_LIBRARY_PATH="/apps/plexmediaserver/Binaries:$LD_LIBRARY_PATH"
root@ReadyNAS1:~# echo $LD_LIBRARY_PATH
/apps/plexmediaserver/Binaries:
root@ReadyNAS1:~# /bin/sh -c '/apps/plexmediaserver/Binaries/Plex\ Media\ Server'
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)
root@ReadyNAS1:~# service plexmediaserver start
Failed to start plexmediaserver.service: Unit plexmediaserver.service not found.
Now I am stuck - again.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ReadyNAS Pro 6 on OS 6.7.4 - Plex will no longer start
Thanks for sharing what resolved your problem.