Magnus Svensson
Dabbler
- Joined
- Apr 5, 2016
- Messages
- 33
Hiya.
My hardware :
Build FreeNAS-9.3-STABLE-201602031011
Platform Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Memory 16270MB
I dont remember the motherboard, but its an Asus 1155 socket. Memory are DDR3 ECC.
Ive been runing freenas for a month now and really love it.
Ran ubuntu for over 1 year but my friends talked me over to join freenas and I love it.
But Im getting really annoyed on Plex now. Every time I have to restart it I have to reinstall it and create a new database.
So I moved the database to my backup drive. A lonly 1.5T drive for my mobile photos and Pled DB.
I only made : cp -R /var/db/plexdata /Media/Backup/plexdata
I install Plex plugin, add the Media share and then plexdata to /var/db/plexdata
Then when I try to start Plex it just dont want to start.checking in
checking in /var/log/messages gives me the following information :
ll /etc/pam.d/
**Edit added the plexdata lising.
This is inside the plexdata :
It looks to be a premission error somewhere, but I just cant figure it out.
Plex starts up fine before I add the database.
Should i make a new coppy on the database with tar ?
Sure I can let Plex make a new database and I need to wait a few weeks for it to download all the subs, then sit a day or two and update our watched list and then daughters watched list again. But its getting really boring lol
//Magnus Svensson
My hardware :
Build FreeNAS-9.3-STABLE-201602031011
Platform Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Memory 16270MB
I dont remember the motherboard, but its an Asus 1155 socket. Memory are DDR3 ECC.
Ive been runing freenas for a month now and really love it.
Ran ubuntu for over 1 year but my friends talked me over to join freenas and I love it.
But Im getting really annoyed on Plex now. Every time I have to restart it I have to reinstall it and create a new database.
So I moved the database to my backup drive. A lonly 1.5T drive for my mobile photos and Pled DB.
I only made : cp -R /var/db/plexdata /Media/Backup/plexdata
I install Plex plugin, add the Media share and then plexdata to /var/db/plexdata
Then when I try to start Plex it just dont want to start.checking in
Code:
root@plexmediaserver_1:/var/log # service plexmediaserver onestart Starting plexmediaserver. su: pam_start: system error /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver root@plexmediaserver_1:/var/log # service plexmediaserver start Starting plexmediaserver. su: pam_start: system error /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver
checking in /var/log/messages gives me the following information :
Code:
Apr 5 20:53:31 plexmediaserver_1 su: in openpam_check_desc_owner_perms(): /etc/pam.d/su: insecure ownership or permissions Apr 5 20:53:31 plexmediaserver_1 su: pam_start: system error Apr 5 20:53:31 plexmediaserver_1 root: /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver Apr 5 20:55:00 plexmediaserver_1 cron[80429]: _secure_path: /etc/login.conf is world writable Apr 5 20:55:00 plexmediaserver_1 cron[80429]: login_getclass: unknown class 'daemon' Apr 5 20:55:00 plexmediaserver_1 cron[80429]: _secure_path: /etc/login.conf is world writable Apr 5 20:57:16 plexmediaserver_1 su: in openpam_check_desc_owner_perms(): /usr/lib/pam_rootok.so.5: insecure ownership or permissions Apr 5 20:57:16 plexmediaserver_1 su: in try_module(): /usr/lib/pam_rootok.so.5: Operation not permitted Apr 5 20:57:16 plexmediaserver_1 su: in openpam_load_module(): no pam_rootok.so found Apr 5 20:57:16 plexmediaserver_1 su: pam_start: system error Apr 5 20:57:16 plexmediaserver_1 root: /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver Apr 5 20:58:01 plexmediaserver_1 su: in openpam_check_desc_owner_perms(): /etc/pam.d/su: insecure ownership or permissions Apr 5 20:58:01 plexmediaserver_1 su: pam_start: system error Apr 5 20:58:01 plexmediaserver_1 root: /usr/local/etc/rc.d/plexmediaserver: WARNING: failed to start plexmediaserver
ll /etc/pam.d/
Code:
root@plexmediaserver_1:/var/log # ll /etc/pam.d/ total 77 -rwxrwxrwx 1 root wheel 2907 Jul 11 2014 README* -rwxrwxrwx 1 root wheel 318 Jul 11 2014 atrun* -rwxrwxrwx 1 root wheel 195 Jul 11 2014 cron* -rwxrwxrwx 2 root wheel 527 Jul 11 2014 ftp* -rwxrwxrwx 2 root wheel 527 Jul 11 2014 ftpd* -rwxrwxrwx 1 root wheel 361 Jul 11 2014 imap* -rwxrwxrwx 1 root wheel 473 Jul 11 2014 kde* -rwxrwxrwx 1 root wheel 369 Jul 11 2014 login* -rwxrwxrwx 1 root wheel 667 Jul 11 2014 other* -rwxrwxrwx 1 root wheel 314 Jul 11 2014 passwd* -rwxrwxrwx 1 root wheel 361 Jul 11 2014 pop3* -rwxrwxrwx 1 root wheel 324 Jul 11 2014 rsh* -rwxrwxrwx 1 root wheel 744 Jul 11 2014 sshd* -rwxrwxrwx 1 root wheel 380 Jul 11 2014 su* -rwxrwxrwx 1 root wheel 710 Jul 11 2014 system* -rwxrwxrwx 1 root wheel 760 Jul 11 2014 telnetd* -rwxrwxrwx 1 root wheel 525 Jul 11 2014 xdm*
**Edit added the plexdata lising.
This is inside the plexdata :
Code:
root@plexmediaserver_1:/var/db/plexdata/Plex Media Server # ll total 33 drwxrwxrwx 5 root wheel 9 Apr 4 18:39 Cache/ drwxrwxrwx 3 root wheel 23 Apr 5 18:46 Logs/ drwxrwxrwx 3 root wheel 3 Mar 18 23:23 Media/ drwxrwxrwx 4 root wheel 4 Mar 19 00:44 Metadata/ drwxrwxrwx 7 root wheel 7 Mar 18 23:13 Plug-in Support/ drwxrwxrwx 3 root wheel 3 Mar 18 23:15 Plug-ins/ -rw------- 1 plex wheel 983 Apr 5 20:58 Preferences.xml drwxrwxrwx 2 root wheel 2 Mar 18 23:20 Scanners/ drwxrwxrwx 3 root wheel 3 Mar 18 23:13 Thumbnails/
It looks to be a premission error somewhere, but I just cant figure it out.
Plex starts up fine before I add the database.
Should i make a new coppy on the database with tar ?
Sure I can let Plex make a new database and I need to wait a few weeks for it to download all the subs, then sit a day or two and update our watched list and then daughters watched list again. But its getting really boring lol
//Magnus Svensson