I've recently moved to FreeNAS from another platform, so FreeBSD is still relatively new to me. So far I've been very pleased, but now I've hit a snag.
I installed the Plex plugin using NAT (the VLAN my NAS resides in does not have a DHCP scope) and the install completes successfully, however I'm unable to access the web UI either in Firefox or Chrome. I thought this was odd since I installed the NextCloud plugin the same way and I can access it without issue. I went digging in the jail and here's what I found:
How can plex not be running but also have a pid and the system unable to start it?
I'm much less familiar with BSD than I am with Debian, so if anyone could point me in the right direction I would greatly appreciate it-- it is the end of the world after all, and I want to watch movies!
Thank you!
I installed the Plex plugin using NAT (the VLAN my NAS resides in does not have a DHCP scope) and the install completes successfully, however I'm unable to access the web UI either in Firefox or Chrome. I thought this was odd since I installed the NextCloud plugin the same way and I can access it without issue. I went digging in the jail and here's what I found:
Code:
root@GlavaPlex:~ # service plexmediaserver status plexmediaserver is not running. root@GlavaPlex:~ # service plexmediaserver start Starting plexmediaserver. daemon: process already running, pid: 7271 /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver
How can plex not be running but also have a pid and the system unable to start it?
root@GlavaPlex:~ # sockstat | grep plex
plex Plex Tuner 7278 13 tcp4 127.0.0.1:32600 *:*
plex Plex Tuner 7278 63 tcp4 127.0.0.1:50605 127.0.0.1:17186
plex Plex Tuner 7278 64 tcp4 127.0.0.1:17186 127.0.0.1:50605
plex Plex Tuner 7278 65 tcp4 127.0.0.1:36196 127.0.0.1:25185
plex Plex Tuner 7278 66 tcp4 127.0.0.1:25185 127.0.0.1:36196
plex Plex Tuner 7278 68 tcp4 127.0.0.1:37204 127.0.0.1:51828
plex Plex Tuner 7278 69 tcp4 127.0.0.1:60211 127.0.0.1:56248
plex Plex Tuner 7278 71 tcp4 127.0.0.1:56248 127.0.0.1:60211
plex Plex Scrip 7273 10 tcp4 127.0.0.1:51828 *:*
plex Plex Media 7272 60 tcp46 *:32400 *:*
plex Plex Media 7272 61 tcp4 127.0.0.1:32401 *:*
plex Plex Media 7272 76 udp4 *:32414 *:*
plex Plex Media 7272 77 udp4 *:32412 *:*
plex Plex Media 7272 78 udp4 *:32410 *:*
plex Plex Media 7272 80 udp4 *:32413 *:*
plex Plex Media 7272 83 udp4 172.16.0.6:64873 *:*
plex Plex Media 7272 84 udp4 172.16.0.6:26376 *:*
plex Plex Media 7272 86 udp4 *:1901 *:*
plex Plex Media 7272 87 udp4 172.16.0.6:33500 *:*
root@GlavaPlex:~ # ps auxw | grep -i plex
plex 7271 0.0 0.0 6384 2024 - IsJ 23:57 0:00.00 daemon: /usr/local/share/plexmediaserver/Plex_Media_Server[7272] (daemon)
plex 7272 0.0 1.6 135120 67220 - IJ 23:57 0:07.77 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex Media Server)
plex 7273 0.0 1.4 93872 57356 - INJ 23:57 0:07.25 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver/Resour
plex 7278 0.0 0.5 32036 20856 - IJ 23:57 0:00.17 /usr/local/share/plexmediaserver/Plex Tuner Service /usr/local/share/plex
root 9807 0.0 0.1 6732 2544 1 S+J 01:05 0:00.00 grep -i plex
root@GlavaPlex:~ # ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:24:1d:06:51:13
hwaddr 02:d4:bd:00:05:0b
inet 172.16.0.6 netmask 0xfffffffc broadcast 172.16.0.7
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
plex Plex Tuner 7278 13 tcp4 127.0.0.1:32600 *:*
plex Plex Tuner 7278 63 tcp4 127.0.0.1:50605 127.0.0.1:17186
plex Plex Tuner 7278 64 tcp4 127.0.0.1:17186 127.0.0.1:50605
plex Plex Tuner 7278 65 tcp4 127.0.0.1:36196 127.0.0.1:25185
plex Plex Tuner 7278 66 tcp4 127.0.0.1:25185 127.0.0.1:36196
plex Plex Tuner 7278 68 tcp4 127.0.0.1:37204 127.0.0.1:51828
plex Plex Tuner 7278 69 tcp4 127.0.0.1:60211 127.0.0.1:56248
plex Plex Tuner 7278 71 tcp4 127.0.0.1:56248 127.0.0.1:60211
plex Plex Scrip 7273 10 tcp4 127.0.0.1:51828 *:*
plex Plex Media 7272 60 tcp46 *:32400 *:*
plex Plex Media 7272 61 tcp4 127.0.0.1:32401 *:*
plex Plex Media 7272 76 udp4 *:32414 *:*
plex Plex Media 7272 77 udp4 *:32412 *:*
plex Plex Media 7272 78 udp4 *:32410 *:*
plex Plex Media 7272 80 udp4 *:32413 *:*
plex Plex Media 7272 83 udp4 172.16.0.6:64873 *:*
plex Plex Media 7272 84 udp4 172.16.0.6:26376 *:*
plex Plex Media 7272 86 udp4 *:1901 *:*
plex Plex Media 7272 87 udp4 172.16.0.6:33500 *:*
root@GlavaPlex:~ # ps auxw | grep -i plex
plex 7271 0.0 0.0 6384 2024 - IsJ 23:57 0:00.00 daemon: /usr/local/share/plexmediaserver/Plex_Media_Server[7272] (daemon)
plex 7272 0.0 1.6 135120 67220 - IJ 23:57 0:07.77 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex Media Server)
plex 7273 0.0 1.4 93872 57356 - INJ 23:57 0:07.25 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver/Resour
plex 7278 0.0 0.5 32036 20856 - IJ 23:57 0:00.17 /usr/local/share/plexmediaserver/Plex Tuner Service /usr/local/share/plex
root 9807 0.0 0.1 6732 2544 1 S+J 01:05 0:00.00 grep -i plex
root@GlavaPlex:~ # ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:24:1d:06:51:13
hwaddr 02:d4:bd:00:05:0b
inet 172.16.0.6 netmask 0xfffffffc broadcast 172.16.0.7
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
root@GN-NAS[~]# ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: re0
options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:24:1d:53:1c:46
hwaddr 00:24:1d:53:1c:46
inet 192.168.20.100 netmask 0xffffff00 broadcast 192.168.20.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
vnet0.1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: associated with jail: GlavArchive as nic: epair0b
options=8<VLAN_MTU>
ether 02:24:1d:6a:fc:5e
hwaddr 02:e2:d0:00:03:0a
inet 172.16.0.1 netmask 0xfffffffc broadcast 172.16.0.3
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
vnet0.2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: associated with jail: GlavaPlex as nic: epair0b
options=8<VLAN_MTU>
ether 02:24:1d:06:51:12
hwaddr 02:e2:d0:00:04:0a
inet 172.16.0.5 netmask 0xfffffffc broadcast 172.16.0.7
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: re0
options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:24:1d:53:1c:46
hwaddr 00:24:1d:53:1c:46
inet 192.168.20.100 netmask 0xffffff00 broadcast 192.168.20.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
vnet0.1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: associated with jail: GlavArchive as nic: epair0b
options=8<VLAN_MTU>
ether 02:24:1d:6a:fc:5e
hwaddr 02:e2:d0:00:03:0a
inet 172.16.0.1 netmask 0xfffffffc broadcast 172.16.0.3
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
vnet0.2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: associated with jail: GlavaPlex as nic: epair0b
options=8<VLAN_MTU>
ether 02:24:1d:06:51:12
hwaddr 02:e2:d0:00:04:0a
inet 172.16.0.5 netmask 0xfffffffc broadcast 172.16.0.7
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
root@GlavaPlex:/Plex Media Server # cat Preferences.xml
<?xml version="1.0" encoding="utf-8"?>
<Preferences OldestPreviousVersion="1.20.1.3252-a78fef9a9" MachineIdentifier="ba3ed4bd-e6be-42b6-9c7f-dea6035764dd" ProcessedMachineIdentifier="17409e50e02085f8cb872b80c139c3fde1e024f0" AnonymousMachineIdentifier="77142a9e-4a37-41af-861b-4cda04f28f91" MetricsEpoch="1"/>
<?xml version="1.0" encoding="utf-8"?>
<Preferences OldestPreviousVersion="1.20.1.3252-a78fef9a9" MachineIdentifier="ba3ed4bd-e6be-42b6-9c7f-dea6035764dd" ProcessedMachineIdentifier="17409e50e02085f8cb872b80c139c3fde1e024f0" AnonymousMachineIdentifier="77142a9e-4a37-41af-861b-4cda04f28f91" MetricsEpoch="1"/>
I'm much less familiar with BSD than I am with Debian, so if anyone could point me in the right direction I would greatly appreciate it-- it is the end of the world after all, and I want to watch movies!
Thank you!