Долго время пользовался miniDLNA.
Однако не всё в нем идеально, и тут как раз на хабрах подвернулась статья https://habrahabr.ru/post/188362 в которой автор среди прочих расхваливает PlexMediaServer как «самый-самый».
Решил и я испробовать этот чудесный PlexMediaServer.
Скачал отсюда https://plex.tv/downloads и без проблем установил локально пакет plexmediaserver-0.9.16.6.1993-5089475.x86_64.rpm на CentOS 6.7/64
Но запускаться он упорно не хочет, выдавая иногда такую ошибку
ln: creating symbolic link `/var/run/PlexMediaServer.pid': File exists
а если и не выдает, то все равно не запускается, выдавая в логах нижеследующее.
Причем, ошибка
Error: Unable to set up server: basic_string::_S_create очень часто встречается в обсуждениях на форуме Плекса, но что они бормочут там по-басурмански, так и не понял.
Может, кто-то уже сталкивался с такой проблемой запуска этого медийного сервера?
Не хочется снова возвращаться на miniDLNA...
Файл: Plex Med~r.1.log Строка 1 Позиция 0 3825 байт 100%
Jun 11, 2016 15:19:42 [0x7f6a5aa3b700] INFO - Plex Media Server v0.9.16.6.1993-5089475 - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 redhat
Jun 11, 2016 15:19:42 [0x7f6a5aa3b700] INFO - Linux version: 2.6.32-573.22.1.el6.x86_64 (#1 SMP Wed Mar 23 03:35:39 UTC 2016)
Jun 11, 2016 15:19:42 [0x7f6a5aa3b700] INFO - Processor Intel(R) Atom(TM) CPU D525 @ 1.80GHz
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - BPQ: [Idle] -> [Starting]
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - Opening 20 database sessions to library, SQLite 3.8.9, threadsafe=1
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - Running migrations.
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - ChangestampAllocator: initialized to 0
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - Listening on port 32400 with queue of 128 connections.
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - Listening on port 32401 with queue of 128 connections.
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - Creating NetworkServices singleton.
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - 0x7f6a59a9f0e0: Creating new Network Service and registering for notifications.
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - 0x7f6a59a9f0e0: NetworkService got notification of changed network (first change: 1)
Jun 11, 2016 15:19:42 [0x7f6a66c05800] DEBUG - NetworkService: Quick dispatch of network change.
Jun 11, 2016 15:19:43 [0x7f6a66c05800] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
Jun 11, 2016 15:19:43 [0x7f6a58477700] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - File /usr/lib/plexmediaserver/Resources/Plug-ins-5089475 changed: -1 => 1465587027.
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - File /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins changed: -1 => 1465588283.
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - Scanning for plug-ins in /usr/lib/plexmediaserver/Resources/Plug-ins-5089475
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - Scanning for plug-ins in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-5089475/System.bundle.
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - [com.plexapp.system] Setting plug-in to always running (daemon mode).
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - Starting file watcher for com.plexapp.system
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - Spawned plug-in com.plexapp.system with PID 6962
Jun 11, 2016 15:19:43 [0x7f6a56a3b700] DEBUG - [com.plexapp.system] Sending command: GET /:/prefixes
Jun 11, 2016 15:19:47 [0x7f6a54bff700] DEBUG - Crash Reporter: Starting up.
Jun 11, 2016 15:19:58 [0x7f6a66c05800] DEBUG - Shutting down with signal 3
Jun 11, 2016 15:19:58 [0x7f6a66c05800] DEBUG - Ordered to stop server.
Jun 11, 2016 15:19:58 [0x7f6a66c05800] WARN - Timed out waiting for server to finish.
Jun 11, 2016 15:19:58 [0x7f6a66c05800] DEBUG - Killing plug-ins.
Jun 11, 2016 15:20:04 [0x7f6a56a3b700] DEBUG - Reading 486 bytes in the body, code is 200
Jun 11, 2016 15:20:04 [0x7f6a56a3b700] DEBUG - [com.plexapp.system] Plug-in running on port 54910.
Jun 11, 2016 15:20:04 [0x7f6a56a3b700] DEBUG - * Plug-in handles prefix: /system
Jun 11, 2016 15:20:04 [0x7f6a56a3b700] DEBUG - * Plug-in handles prefix: /player
Jun 11, 2016 15:20:04 [0x7f6a56a3b700] DEBUG - Read configuration for [com.plexapp.system], had 2 prefixes
Jun 11, 2016 15:20:05 [0x7f6a56a3b700] DEBUG - Done with 1 synchronous plug-in starts, starting the rest in parallel.
Jun 11, 2016 15:20:05 [0x7f6a66c05800] DEBUG - [com.plexapp.system] Killing.
Jun 11, 2016 15:20:05 [0x7f6a66c05800] ERROR - Error: Unable to set up server: basic_string::_S_create