Re: Serviio with Freenas
Try to set all directory and file access to rwxrwxrwx
Mart360 wrote:Took my time....
Freenas is now installed, and i can FTP to it...
i have transferred diablo to the nas.... but it still dosent want to play ball.....
will keep going..... i'll get there eventually
Mart
freenas:/mnt/thedrive/extensions/serviio-0.5.2/bin# ./serviio.sh
======================================================================: not found
======================================================================: not found
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
org.serviio.MediaServer: not found
freenas:/mnt/thedrive/extensions/serviio-0.5.2/bin#
#!/bin/sh
###
======================================================================
###
## ##
## Serviio start Script ##
## ##
###
======================================================================
###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
linux=false;
case "`uname`" in
linux=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
FreeBSD)
linux=true
;;
Linux)
linux=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$SERVIIO_HOME" ] &&
SERVIIO_HOME=`cygpath --unix "$SERVIIO_HOME"`
[ -n "$SERVIIO_HOME" ] &&
SERVIIO_HOME=`cygpath --unix "$SERVIIO_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Setup SERVIIO_HOME
if [ "x$SERVIIO_HOME" = "x" ]; then
# get the full path (without any relative bits)
SERVIIO_HOME=`cd $DIRNAME/..; pwd`
fi
export SERVIIO_HOME
# Setup the JVM
if [ "x$JAVA" = "x" ]; then
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
else
JAVA="java"
fi
fi
# Setup the classpath
SERVIIO_CLASS_PATH="$SERVIIO_HOME/lib/serviio.jar:$SERVIIO_HOME/lib/derby.jar:$$
# Setup Serviio specific properties
JAVA_OPTS="-Djava.net.preferIPv4Stack=true
-Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME
-Dffmpeg.location=/usr/local/bin/ffmpeg
-Dserviio.remoteHost=192.168.1.2"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
SERVIIO_HOME=`cygpath --path --windows "$SERVIIO_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
SERVIIO_CLASS_PATH=`cygpath --path --windows "$SERVIIO_CLASS_PATH"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
SERVIIO_CLASS_PATH=`cygpath --path --windows "$SERVIIO_CLASS_PATH"`
fi
# Execute the JVM in the foreground
"$JAVA" -Xmx384M $JAVA_OPTS -classpath "$SERVIIO_CLASS_PATH"
org.serviio.MediaServer "$@"
dboy wrote:I think
%ps -aux|grep serviio
should show whether it is up and running
Mart360 wrote:dboy wrote:I think
%ps -aux|grep serviio
should show whether it is up and running
What is this symbol?, and how do you get it?
>|< grep serviio
Mart
Users browsing this forum: No registered users and 7 guests