Plex 服务无法启动

Plex 服务无法启动

我尝试使用以下方法在我的 Ubuntu 18.04 Server 版本上安装 Plex 媒体服务器:

https://linuxize.com/post/how-to-install-plex-media-server-on-ubuntu-18-04/

但命令sudo apt install plexmediaserver失败并建议我改用 snap。Snap 可以工作但systemctl无法找到服务,因此我snap再次使用 删除,然后改用wget和进行安装dkpg

这有效,但是当我尝试启动服务时,它立即崩溃:

-- Unit plexmediaserver.service has failed.

--

-- The result is RESULT.


    jan 31 11:07:12 server1804 sudo[2235]: pam_unix(sudo:session): session closed for user root
    jan 31 11:07:22 server1804 sudo[2271]: admin1804 : TTY=pts/0 ; PWD=/var/lib/plexmediaserver ; USER=root ; COMMAND=/bin/systemctl status plexmediaserver
    jan 31 11:07:22 server1804 sudo[2271]: pam_unix(sudo:session): session opened for user root by admin1804(uid=0)
    jan 31 11:07:26 server1804 sudo[2271]: pam_unix(sudo:session): session closed for user root
    jan 31 11:07:31 server1804 sudo[2274]: admin1804 : TTY=pts/0 ; PWD=/var/lib/plexmediaserver ; USER=root ; COMMAND=/bin/systemctl start plexmediaserver
    jan 31 11:07:31 server1804 sudo[2274]: pam_unix(sudo:session): session opened for user root by admin1804(uid=0)
    jan 31 11:07:31 server1804 systemd[1]: plexmediaserver.service: Start request repeated too quickly.
    jan 31 11:07:31 server1804 systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.
    jan 31 11:07:31 server1804 systemd[1]: Failed to start Plex Media Server.



-- Subject: Unit plexmediaserver.service has failed

-- Defined-By: systemd

-- Support: http://www.ubuntu.com/support

当我跑步时sudo systemctl status plexmediaserver我得到:

plexmediaserver.service - Plex Media Server Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled) Active: failed (Result: core-dump) since Sun 2021-01-31 11:07:10 CET; 2h 54min ago 

Process: 2246 ExecStart=/bin/sh -c export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{pr Process: 2238 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p Main PID: 2246 (code=dumped, signal=ILL) – CNR 17 hours ago

jan 31 11:07:10 server1804 systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart. 

jan 31 11:07:10 server1804 systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3. 

jan 31 11:07:10 server1804 systemd[1]: Stopped Plex Media Server. 

jan 31 11:07:10 server1804 systemd[1]: plexmediaserver.service: Start request repeated too quickly. 

jan 31 11:07:10 server1804 systemd[1]: plexmediaserver.service: Failed with result 'core-dump'.

我怀疑第一次安装时还剩有一些东西。

有什么建议么?

相关内容