Plex Media Server Fails at start on CentOS 8

I have a few year without ussing Plex Media Server… After install CentOS 8 and follow the steps at https://www.osradar.com/install-plex-media-server-rhel-8-centos-8/

When I tried access from another PC for check I can’t access… then I go to server and fund that in journalctl:


nov 04 14:17:44 CentOS.server systemd-coredump[1481]: Process 1315 (Plex Media Serv) of user 991 dumped core.

                                                      Stack trace of thread 1315:
                                                      #0  0x00007fb5b612d93f raise (libc.so.6)
                                                      #1  0x00007fb5b6117c95 abort (libc.so.6)
                                                      #2  0x00007fb5b654efd4 _ZN9__gnu_cxx27__verbose_terminate_hand>
                                                      #3  0x00007fb5b654d80b n/a (libstdc++.so.6)
                                                      #4  0x00007fb5b654d844 _ZSt9terminatev (libstdc++.so.6)
                                                      #5  0x00007fb5b654da06 __cxa_throw (libstdc++.so.6)
                                                      #6  0x00007fb5b65675d6 _ZSt21__throw_runtime_errorPKc (libstdc>
                                                      #7  0x00007fb5b6562c34 _ZNSt6locale5facet18_S_create_c_localeE>
                                                      #8  0x00007fb5b6558432 _ZNSt6locale5_ImplC2EPKcm (libstdc++.so>
                                                      #9  0x00007fb5b6558da4 _ZNSt6localeC1EPKc (libstdc++.so.6)
                                                      #10 0x00007fb5b7f8d13a _ZN5boost10filesystem4path5imbueERKSt6l>
                                                      #11 0x000000000167444a n/a (Plex Media Server)
                                                      #12 0x000000000169c80d n/a (Plex Media Server)
                                                      #13 0x00007fb5b611979e __libc_start_main (libc.so.6)
                                                      #14 0x0000000000955029 n/a (Plex Media Server)
nov 04 14:17:46 CentOS.server kdumpctl[1308]: kexec: loaded kdump kernel
nov 04 14:17:46 CentOS.server kdumpctl[1308]: Starting kdump: [OK]
nov 04 14:17:46 CentOS.server systemd[1]: Started Crash recovery kernel arming.
nov 04 14:17:46 CentOS.server systemd[1]: Startup finished in 3.159s (kernel) + 5.404s (initrd) + 29.341s (userspace>
nov 04 14:17:46 CentOS.server chronyd[754]: Selected source 162.159.200.1
nov 04 14:17:46 CentOS.server chronyd[754]: System clock TAI offset set to 37 seconds
nov 04 14:17:49 CentOS.server systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
nov 04 14:17:49 CentOS.server systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 1.
nov 04 14:17:49 CentOS.server systemd[1]: Stopped Plex Media Server.
nov 04 14:17:49 CentOS.server systemd[1]: Starting Plex Media Server...
nov 04 14:17:49 CentOS.server sh[1607]: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
nov 04 14:17:49 CentOS.server systemd[1]: Started Plex Media Server.
nov 04 14:17:49 CentOS.server sh[1610]: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
nov 04 14:17:49 CentOS.server sh[1610]: terminate called after throwing an instance of 'std::runtime_error'
nov 04 14:17:49 CentOS.server sh[1610]:   what():  locale::facet::_S_create_c_locale name not valid
nov 04 14:17:49 CentOS.server systemd[1]: Started Process Core Dump (PID 1621/UID 0).
nov 04 14:17:49 CentOS.server systemd[1]: plexmediaserver.service: Main process exited, code=dumped, status=6/ABRT
nov 04 14:17:49 CentOS.server systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.

and after in systemctl status plexmedia server:

 plexmediaserver.service - Plex Media Server
   Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Mon 2019-11-04 14:29:58 -05; 24min ago
  Process: 2677 ExecStart=/bin/sh -c  PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print>
  Process: 2674 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdi>
 Main PID: 2677 (code=dumped, signal=ABRT)

nov 04 14:29:53 CentOS.server systemd[1]: plexmediaserver.service: Main process exited, code=dumped, status=6/ABRT
nov 04 14:29:53 CentOS.server systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
nov 04 14:29:58 CentOS.server systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
nov 04 14:29:58 CentOS.server systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
nov 04 14:29:58 CentOS.server systemd[1]: Stopped Plex Media Server.
nov 04 14:29:58 CentOS.server systemd[1]: plexmediaserver.service: Start request repeated too quickly.
nov 04 14:29:58 CentOS.server systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
nov 04 14:29:58 CentOS.server systemd[1]: Failed to start Plex Media Server.
lines 1-15/15 (END)

The locale is not defined and properly generated.

  1. you’re missing some of the runtime libraries from the distro
  2. You will need set the locale
nov 04 14:17:49 CentOS.server systemd[1]: Started Plex Media Server.
nov 04 14:17:49 CentOS.server sh[1610]: /bin/sh: warning: setlocale: LC_ALL: canno```

How can I do it?

Another customer reported this same problem.
Please stand by. I will create a Centos 8 VM to see where the problem is

In the interim, make certain you have all updates.

Thanks, and yes… I ran yum update and the OS was updated…

Which installation media do you use? DVD1.iso is flawed.

I downloaded the other 500 MB iso image.

It too failed. It started up, required I manually enable networking (it did get an ip), and then failed to download the repositories.

I’m sorry, It cannot be made to run .

IMHO, Centos 8 cannot be supported at this time.

Yes, I used the 500mb install

At minimum, Centos 8 must wait until they release another update.

I have a number of distros in my VM environment. The problem is not here.
Screenshot%20from%202019-11-04%2016-59-57

Ok, then how can I set locale…?

Work with it at the command line level.

Also check the Centos forums to find which packages are missing from the distro.

Then is better to use CentOS 7?

At this point? Yes. Centos 7 is stable, supported, and well known.

If no another way for keep 8…

I tried loading the variables manually but no results…

In Centos 8 run the command “timedatectl” and see if you get a warning about the RTC being in local time zone. If so run the command “timedatectl set-local-rtc 0”. After this the Local time should be in your time zone and the RTC should be in UTC.

Oh thanks I’ll try because today I did a fresh install of CentOS 8 but with the diference that is only minimal, without essentials tools and nor change languaje… And it works

There is a known bug where ‘closest repository’ doesn’t work as an Installation Source option.

Set up the network & Host name first, then click on ‘Installation Source’
You can chose to use either a ‘mirror list’, or ‘repository URL’
For a mirror list:
Select ‘http:’ & ‘URL type’ set to ‘mirror list’ with:
http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS
For a repository URL:
Select ‘http:’ & ‘URL type’ set to ‘repository URL’ with:
mirror-specific-part-here/centos/8.0.1905/BaseOS/x86_64/os/

You can get a list of mirrors here: https://www.centos.org/download/mirrors/

bug details here:
https://bugs.centos.org/view.php?id=16456

Hi, in my opinion this error appears when you change default language during install and en-utf8 locale is not installed. I have found an easy solution for that - installing glibc-langpack-en.

For more info see here: https://stackoverflow.com/questions/58304278/how-to-fix-character-map-file-utf-8-not-found

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.