PS3 Media Server on FreeBSD

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

PS3 Media Server on FreeBSD

Postby gokieks » Wed Nov 09, 2011 2:55 am

I moved my file server to a FreeBSD 8.2 system to take advantage of ZFS, and I'm trying to get PMS working on it. There's not a ton of information about the setup process, and the best guide I've found seems to be this one on installing it for FreeNAS 7. I don't know if any major changes would be needed going from FreeBSD 7 to 8, so I just followed the main instructions of that and installed diablo-jre-16, mplayer, mencoder, and ffmpeg from the ports collection. I then downloaded the SO source for MediaInfo (http://downloads.sourceforge.net/mediainfo/MediaInfo_DLL_0.7.50_GNU_FromSource.tar.bz2), extracted and compiled it, and installed both ZenLib and MediaInfoLib. However, when I run PMS via PMS.sh, this is the output I get:

Code: Select all
20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/var/PMS/pms.jar!/logback.xml]
20:48:28,546 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@25595f51 - URL [jar:file:/var/PMS/pms.jar!/logback.xml] is not of type file
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPathDefiner]
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [debugLogPath] from the object stack
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [net.pms.logging.FrameAppender]
20:48:28,786 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [frame]
20:48:28,829 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:48:28,830 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
20:48:28,835 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
20:48:28,836 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log]
20:48:28,839 |-INFO in ch.qos.logback.core.FileAppender[debug.log] - File property is set to [/var/PMS/debug.log]
20:48:28,840 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
20:48:28,840 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log.10MB]
20:48:28,850 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@e80d1ff - Will use zip compression
20:48:28,855 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - Active log file name: /var/PMS/debug.log
20:48:28,855 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - File property is set to [/var/PMS/debug.log]
20:48:28,855 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
20:48:28,855 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [frame] to Logger[ROOT]
20:48:28,856 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
20:48:28,856 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [debug.log] to Logger[ROOT]
20:48:28,857 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
20:48:28,528 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/var/PMS/pms.jar!/logback.xml]
20:48:28,546 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@25595f51 - URL [jar:file:/var/PMS/pms.jar!/logback.xml] is not of type file
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPathDefiner]
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [debugLogPath] from the object stack
20:48:28,784 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [net.pms.logging.FrameAppender]
20:48:28,786 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [frame]
20:48:28,829 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:48:28,830 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
20:48:28,835 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
20:48:28,836 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log]
20:48:28,839 |-INFO in ch.qos.logback.core.FileAppender[debug.log] - File property is set to [/var/PMS/debug.log]
20:48:28,840 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
20:48:28,840 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log.10MB]
20:48:28,850 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@e80d1ff - Will use zip compression
20:48:28,855 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - Active log file name: /var/PMS/debug.log
20:48:28,855 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - File property is set to [/var/PMS/debug.log]
20:48:28,855 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
20:48:28,855 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [frame] to Logger[ROOT]
20:48:28,856 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
20:48:28,856 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [debug.log] to Logger[ROOT]
20:48:28,857 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
20:48:29,031 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPathDefiner]
20:48:29,031 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [debugLogPath] from the object stack
20:48:29,031 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:48:29,031 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
20:48:29,033 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
20:48:29,033 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log]
20:48:29,035 |-INFO in ch.qos.logback.core.FileAppender[debug.log] - File property is set to [/var/PMS/debug.log]
20:48:29,035 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
20:48:29,035 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log.10MB]
20:48:29,037 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@2c19e15c - Will use zip compression
20:48:29,038 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - Active log file name: /var/PMS/debug.log
20:48:29,038 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - File property is set to [/var/PMS/debug.log]
20:48:29,038 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
20:48:29,038 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
20:48:29,038 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [debug.log] to Logger[ROOT]
20:48:29,038 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

GUI environment not available
Switching to console mode
[main] WARN  20:48:29.312 Error loading libzen: Unable to load library 'zen': Shared object "libzen.so" not found, required by "java"


Did a little searching, and discovered that this is because ZenLib is not installed as a shared object (in /usr/lib I have libzen.a and libzen.la but not libzen.so), but I've no idea how to fix it. In addition, it seems other have also had this problem but gets PMS to keep running (or at least give more output), but on my system it will just hang there indefinitely until I Ctrl-C to end it. I also tried to install MediaInfo from the FreeBSD ports collection, but that didn't seem to help any either.

I'd really like to have this working on FreeBSD so I don't need to run it on my desktop (and it seems simultaneously pulling the source video from a network location and pushing it to another network location would be detrimental to performance too), so would really appreciate if anybody who's gotten this to work on FreeBSD could offer some help or pointers. Thanks!
gokieks
 
Posts: 2
Joined: Wed Nov 09, 2011 2:36 am

Re: PS3 Media Server on FreeBSD

Postby martbhell » Mon Jan 02, 2012 6:38 pm

Hi, for the libzen.so you need to edit the SO_Compile.sh and set

ZenLib_Options="--enable-shared"

I found this in another thread here on the forum.

I'm also trying to get it working (FreeBSD 9.0 RC3 though). Mine crashes as soon as I put a file in one of the shares and try to list the contents through the PS3.
martbhell
 
Posts: 2
Joined: Mon Jan 02, 2012 6:34 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 2 guests