NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

givememynamebak's avatar
Jun 15, 2017
Solved

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 ...
  • givememynamebak's avatar
    givememynamebak
    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.

     

     

     

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More