Plexmediaserver not Running (check /var/run/plex/plex.pid)

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
i am using freenas 11

and i try ti install plex with the plug in and it will not install so i did it this way

Step by Step install of Plex inside a Freenas jail.
1. Manually create a generic jail.
2. Create/link storage for that jail.
3. Go back to the main jails tab.
4. Select plex jail and then select shell command.
5. type "pkg upgrade" then press Y
6. type "pkg install plexmediaserver-plexpass" or "pkg install plexmediaserver"
7. Once done type "sysrc plexmediaserver_plexpass_enable=YES" or "sysrc plexmediaserver_enable=YES" depending on what version you installed.
8. Once done type "service -R"

when i get to step 8 i get
Plexmediaserver not Running (check /var/run/plex/plex.pid)
Starting Plexmediaserver

and i cant access ip:32400/web at all

i hope some one can help me
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
ps auxw | grep -i plex

See if the process is running, the output from starting it says it's probably running but we are not sure.

Also provide the hardware specs and are you using vnet|vimage
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
when i enter

ps auxw | grep -i plex

i get
root 28809 0.0 0.0 14876 2064 0 s+J 09:47 0:00.00 grep -i plex

the hardware is a gigabyte mother board with a intal i7 cpu and 16gig memory
the os is on a 16gig usb thumb drive then i have 2 hd's my plex date is on a 4tb HD my jails and data is on a 2TB hd

then on the vnet|vimage i am not sure
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So it looks like Plex didn't start. Check the Plex logs to see why it didn't start.
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
i when looking for my plex logs and can't find them

i went to
/var/db/
and there is nothing there of plex

also to let you know my
source is
/mnt/media/plex-media

Destination
/media
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
in the plex media server log

i have on line with an error


Jul 06, 2019 14:13:36.590 [0x80a2c5400] ERROR - Failed to determine system locale: locale::facet::_S_create_c_locale name not valid.
J
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
ok i found a log in
/media/Logs

there is a lot of log files there
Your logs are not in the destination mount path. Your logs are in
Code:
/usr/local/plexdata-plexpass/Plex\ Media\ Server/Logs/
. Your mounted dataset is only for sharing any media from your freenas server with your jail.

the other cmd you can run is: service plexmediaserver_plexpass status this will tell us if plex is running also. If it's not running try restarting your jails or running service plexmediaserver_plexpass restart
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
should i change the destination mount path and if so what should i change it to

this is what i get

root@plex:/ # service plexmediaserver_plexpass status
plexmediaserver_plexpass is not running.

root@plex:/ # service plexmediaserver_plexpass restart
plexmediaserver_plexpass not running? (check /var/run/plex/plex.pid).
Starting plexmediaserver_plexpass.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
should i change the destination mount path and if so what should i change it to

this is what i get

root@plex:/ # service plexmediaserver_plexpass status
plexmediaserver_plexpass is not running.

root@plex:/ # service plexmediaserver_plexpass restart
plexmediaserver_plexpass not running? (check /var/run/plex/plex.pid).
Starting plexmediaserver_plexpass.
I don't care what you have the destination set to it doesn't matter and has nothing to do with Plex.

Plex is failing to start, you need to post the log messages so we can see why.
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
here is my log

Jul 06, 2019 14:13:36.590 [0x80a2c5400] INFO - Plex Media Server v1.12.2.4929-29
Jul 06, 2019 14:13:36.590 [0x80a2c5400] ERROR - Failed to determine system local
Jul 06, 2019 14:13:36.590 [0x80a2c5400] INFO - FreeBSD version: 11.0-RELEASE (Fr
Jul 06, 2019 14:13:36.591 [0x80a2c5400] INFO - Processor Intel(R) Core(T
Jul 06, 2019 14:13:36.591 [0x80a2c5400] INFO - /usr/pbi/plexmediaserver-amd64/sh
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding subdirectory for scanner:
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
file "Plex Media Server.log", 4788 lines
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
here is my log

Jul 06, 2019 14:13:36.590 [0x80a2c5400] INFO - Plex Media Server v1.12.2.4929-29
Jul 06, 2019 14:13:36.590 [0x80a2c5400] ERROR - Failed to determine system local
Jul 06, 2019 14:13:36.590 [0x80a2c5400] INFO - FreeBSD version: 11.0-RELEASE (Fr
Jul 06, 2019 14:13:36.591 [0x80a2c5400] INFO - Processor Intel(R) Core(T
Jul 06, 2019 14:13:36.591 [0x80a2c5400] INFO - /usr/pbi/plexmediaserver-amd64/sh
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding subdirectory for scanner:
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
Jul 06, 2019 14:13:36.590 [0x80ba46f00] DEBUG - Adding file for scanner: "/var/d
file "Plex Media Server.log", 4788 lines
What log is this? It's clear you have no clue what you are doing. But you can at least provide all the information.
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
that is the log in the plex

what log do you want

and yes i do not know what i am doing
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Here are the list of log files. I have no clue which one you are looking at.
Code:
Plex LNA Server Neptune.log
Plex DLNA Server.log
Plex Media Scanner Chapter Thumbnails.log
Plex Media Scanner Analysis.log
Plex Media Scanner Deep Analysis.log
Plex Media Scanner.log
Plex Media Server.log   <= this is probably the important one.
Plex Transcoder Statistics.log
Plex Tuner Service.log


I would also suggest you post your /var/log/messages.

I don't think we are going to be able to help you. Have you tried starting over? Plex definitely works I have been running it for years. Setup takes 10seconds usually.
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
here is the message log

ul 12 22:03:21 plex newsyslog[17073]: logfile first created
Jul 12 22:03:21 plex syslogd: kernel boot file is /boot/kernel/kernel
Jul 12 22:05:29 plex syslogd: kernel boot file is /boot/kernel/kernel
Jul 12 22:11:40 plex pkg: pkg upgraded: 1.10.1 -> 1.11.1
Jul 12 22:12:10 plex pkg: indexinfo upgraded: 0.2.6 -> 0.3.1
Jul 12 22:12:10 plex pkg: readline upgraded: 6.3.8_1 -> 8.0.0
Jul 12 22:12:14 plex pkg: perl5 upgraded: 5.24.1_1 -> 5.28.2
Jul 12 22:12:14 plex pkg: gettext-runtime upgraded: 0.19.8.1_1 -> 0.20.1
Jul 12 22:12:14 plex pkg: gdbm upgraded: 1.12 -> 1.18.1_1
Jul 12 22:12:14 plex pkg: expat upgraded: 2.2.0_1 -> 2.2.6_1
Jul 12 22:12:16 plex pkg: db5 upgraded: 5.3.28_6 -> 5.3.28_7
Jul 12 22:12:16 plex pkg: p5-HTML-Tagset-3.20_1 installed
Jul 12 22:12:16 plex pkg: p5-Socket6-0.29 installed
Jul 12 22:12:16 plex pkg: p5-GSSAPI reinstalled: 0.28_1 -> 0.28_1
Jul 12 22:12:16 plex pkg: p5-Digest-HMAC reinstalled: 1.03_1 -> 1.03_1
Jul 12 22:12:16 plex pkg: libnghttp2 upgraded: 1.22.0 -> 1.39.1
Jul 12 22:12:16 plex pkg: libffi upgraded: 3.2.1 -> 3.2.1_3
Jul 12 22:12:16 plex pkg: ca_root_nss upgraded: 3.30.2 -> 3.45
Jul 12 22:12:17 plex pkg: apr upgraded: 1.5.2.1.5.4_2 -> 1.6.5.1.6.1_1
Jul 12 22:12:17 plex pkg: p5-HTML-Parser-3.72 installed
Jul 12 22:12:17 plex pkg: p5-Mozilla-CA-20180117 installed
Jul 12 22:12:18 plex pkg: p5-Net-SSLeay-1.85 installed
Jul 12 22:12:18 plex pkg: p5-IO-Socket-INET6-2.72_1 installed
Jul 12 22:12:18 plex pkg: sqlite3 upgraded: 3.18.0 -> 3.28.0
Jul 12 22:12:18 plex pkg: serf upgraded: 1.3.9_1 -> 1.3.9_3
Jul 12 22:12:18 plex pkg: pcre upgraded: 8.40 -> 8.43_1
Jul 12 22:12:19 plex pkg: p5-Error upgraded: 0.17024 -> 0.17027
Jul 12 22:12:19 plex pkg: p5-Authen-SASL reinstalled: 2.16_1 -> 2.16_1
Jul 12 22:12:19 plex pkg: curl upgraded: 7.54.0 -> 7.65.1_1
Jul 12 22:12:19 plex pkg: utf8proc-2.4.0 installed
Jul 12 22:12:19 plex pkg: liblz4-1.9.1,1 installed
Jul 12 22:12:19 plex pkg: p5-CGI-4.44 installed
Jul 12 22:12:20 plex pkg: p5-IO-Socket-SSL-2.066 installed
Jul 12 22:12:22 plex pkg: python36-3.6.9 installed
l 12 22:12:25 plex pkg: python27 upgraded: 2.7.13_3 -> 2.7.16_1
Jul 12 22:12:26 plex pkg: git upgraded: 2.13.0 -> 2.22.0
Jul 12 22:22:38 plex pkg: plexmediaserver-plexpass-1.16.2.1297 installed
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $git_daemon_enable is not
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $pbid_enable is not set p
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $plexmediaserver_plexpass
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $svnserve_enable is not s
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $svnserve_enable is not s
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $plexmediaserver_plexpass
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $pbid_enable is not set p
Jul 12 22:25:42 plex root: /usr/sbin/service: WARNING: $git_daemon_enable is not
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $git_daemon_enable is not
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $pbid_enable is not set p
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $svnserve_enable is not s
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $svnserve_enable is not s
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $pbid_enable is not set p
Jul 12 22:35:39 plex root: /usr/sbin/service: WARNING: $git_daemon_enable is n

here is part of the meesage log
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
i have tryed redoing my plex lots of times and get the same thing every time
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
i have tryed redoing my plex lots of times and get the same thing every time
How are you doing it? You need to learn how to ask for help better. We can not help you if you do not help yourself. Here are screen shots of how to do it. Takes 2 screens and 10 seconds. * NOTE: I should have done a sleep at the end before I check the status. So you will have to run the service plexmediaserver status again to get the pid status.

plex-1.PNG


plex-2.PNG
 
Top