the serviio.sh is at /usr/bin,
here ist my serviio.log:
----------------------------------------------------------------------------------------------------
013-03-27 23:25:33,100 ERROR [ApplicationInstanceManager] linux-njrc.site: linux-njrc.site
java.net.UnknownHostException: linux-njrc.site: linux-njrc.site
at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
at org.serviio.console.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:69)
at org.serviio.console.ServiioConsole.checkForRunningInstances(ServiioConsole.java:236)
at org.serviio.console.ServiioConsole.main(ServiioConsole.java:86)
Caused by: java.net.UnknownHostException: linux-njrc.site
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
... 3 more
2013-03-27 23:25:33,106 INFO [ServiioConsole] Starting Serviio Console
2013-03-27 23:25:34,674 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2013-03-27 23:25:38,080 ERROR [ApplicationInstanceManager] linux-njrc.site: linux-njrc.site
java.net.UnknownHostException: linux-njrc.site: linux-njrc.site
at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
at org.serviio.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:68)
at org.serviio.MediaServer.checkForRunningInstances(MediaServer.java:242)
at org.serviio.MediaServer.main(MediaServer.java:93)
Caused by: java.net.UnknownHostException: linux-njrc.site
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
... 3 more
2013-03-27 23:25:38,101 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-27 23:25:38,101 INFO [MediaServer] Serviio DLNA media streaming server v 0.6.2 (rev. 6a61243292ee)
2013-03-27 23:25:38,101 INFO [MediaServer] Petr Nejedly 2009-2011
2013-03-27 23:25:38,101 INFO [MediaServer]
http://www.serviio.org2013-03-27 23:25:38,101 INFO [MediaServer]
2013-03-27 23:25:38,101 INFO [MediaServer] Java 1.7.0_17-Oracle Corporation
2013-03-27 23:25:38,101 INFO [MediaServer] OS Linux i386 3.7.10-1.1-default
2013-03-27 23:25:38,101 INFO [MediaServer] File encoding: UTF-8
2013-03-27 23:25:38,102 INFO [MediaServer] Headless mode enabled: true
2013-03-27 23:25:38,102 INFO [MediaServer] User home dir: /root
2013-03-27 23:25:38,102 INFO [MediaServer] Temp dir: /tmp
2013-03-27 23:25:38,102 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-27 23:25:38,259 INFO [RestletServer] Starting Restlet server exposed on port 23423
2013-03-27 23:25:38,321 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-03-27 23:25:46,556 INFO [DBSchemaUpdateExecutor] Updating DB schema
2013-03-27 23:25:58,659 WARN [ProfilesDefinitionParser] Cannot get name of the local computer: linux-njrc.site: linux-njrc.site
2013-03-27 23:25:58,945 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-03-27 23:25:59,149 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: replacement
java.lang.NullPointerException: replacement
at java.util.regex.Matcher.replaceFirst(Matcher.java:950)
at java.lang.String.replaceFirst(String.java:2119)
at org.serviio.profile.ProfilesDefinitionParser.getDeviceDescription(ProfilesDefinitionParser.java:331)
at org.serviio.profile.ProfilesDefinitionParser.processProfileNode(ProfilesDefinitionParser.java:194)
at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:143)
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
at org.serviio.MediaServer.main(MediaServer.java:105)
2013-03-27 23:26:03,570 WARN [ServiioConsole] Cannot connect to the server to get DB initialization info
2013-03-27 23:26:07,723 WARN [ServiioConsole] Cannot connect to server: Connection Error (1000) - Verbindungsaufbau abgelehnt
2013-03-27 23:26:07,735 INFO [Messages] Loaded console message bundle for locale: en
2013-03-27 23:26:11,880 WARN [ServiioConsole] Cannot connect to server: Connection Error (1000) - Verbindungsaufbau abgelehnt
2013-03-27 23:31:19,101 INFO [ServiioConsole] Leaving Serviio Console
------------------------------------------------------------------------------------------------------
after that, here is my derby.log
-----------------------------------------------------------------------------------------------------
----------------------------------------------------------------
Wed Mar 27 23:25:39 CET 2013:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.8.2.2 - (1181258): instance a816c00e-013d-adf4-dd4b-00003b606bb2
on database directory /usr/share/java/serviio/library/db with class loader sun.misc.Launcher$AppClassLoader@1a0353d
Loaded from file:/usr/share/java/serviio/lib/derby.jar
java.vendor=Oracle Corporation
java.runtime.version=1.7.0_17-b02
user.dir=/usr/share/java/serviio/lib
derby.system.home=/usr/share/java/serviio/library
derby.stream.error.file=../log/derby.log
Database Class Loader started - derby.database.classpath=''
--------------------------------------------------------------------------------------------------
My system put all serviio-files into: /usr/share/java/serviio/
In there, there are the folders "config", "lib", "libary" "log" and "plugins", and in the folder "lib" there are the jar-files.
I also put the serviio.sh and the serviio-console.sh in there, but there is no differenz between starting this tools from here or somewhere else.
My java-version is java-1_7_0-openjdk
I hope, this will help to solve the problem.