FAQ  •  Register  •  Login

[SOLVED] Serviio 1.0.1 on linux a problem

<<

Atilius

Serviio newbie

Posts: 10

Joined: Thu Jan 12, 2012 6:18 pm

Post Tue Aug 28, 2012 6:43 pm

[SOLVED] Serviio 1.0.1 on linux a problem

Hello,

I cant run serviio server, always I get:

  Code:
2012-08-28 20:43:18,569 ERROR [ApplicationInstanceManager] linux-3fyi: linux-3fyi
java.net.UnknownHostException: linux-3fyi: linux-3fyi
   at java.net.InetAddress.getLocalHost(Unknown Source)
   at org.serviio.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:68)
   at org.serviio.MediaServer.checkForRunningInstances(MediaServer.java:266)
   at org.serviio.MediaServer.main(MediaServer.java:98)
2012-08-28 20:43:18,600 INFO  [MediaServer] ------------------------------------------------------------------------
2012-08-28 20:43:18,601 INFO  [MediaServer] Serviio DLNA media streaming server v 1.0.1 (rev. 6dbf7c6e334f+)
2012-08-28 20:43:18,601 INFO  [MediaServer] Petr Nejedly 2009-2012
2012-08-28 20:43:18,601 INFO  [MediaServer] http://www.serviio.org
2012-08-28 20:43:18,602 INFO  [MediaServer]
2012-08-28 20:43:18,602 INFO  [MediaServer] Java 1.6.0_34-Sun Microsystems Inc.
2012-08-28 20:43:18,602 INFO  [MediaServer] OS Linux i386 3.4.6-1.1-desktop
2012-08-28 20:43:18,602 INFO  [MediaServer] File encoding: UTF-8
2012-08-28 20:43:18,602 INFO  [MediaServer] Headless mode enabled: true
2012-08-28 20:43:18,603 INFO  [MediaServer] User home dir: /home/martin
2012-08-28 20:43:18,603 INFO  [MediaServer] Temp dir: /tmp
2012-08-28 20:43:18,603 INFO  [MediaServer] ------------------------------------------------------------------------
2012-08-28 20:43:18,813 INFO  [WebServer] Socket buffer set to 65535 bytes
2012-08-28 20:43:18,815 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2012-08-28 20:43:18,874 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2012-08-28 20:43:18,875 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2012-08-28 20:43:18,896 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2012-08-28 20:43:21,142 INFO  [MediaServer] ------------------------------------------------------------------------
2012-08-28 20:43:21,142 INFO  [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2012-08-28 20:43:21,142 INFO  [MediaServer] ------------------------------------------------------------------------
2012-08-28 20:43:21,172 WARN  [ProfilesDefinitionParser] Cannot get name of the local computer: linux-3fyi: linux-3fyi
2012-08-28 20:43:21,539 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2012-08-28 20:43:22,139 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: replacement
java.lang.NullPointerException: replacement
   at java.util.regex.Matcher.replaceFirst(Unknown Source)
   at java.lang.String.replaceFirst(Unknown Source)
   at org.serviio.profile.ProfilesDefinitionParser.getDeviceDescription(ProfilesDefinitionParser.java:347)
   at org.serviio.profile.ProfilesDefinitionParser.processProfileNode(ProfilesDefinitionParser.java:205)
   at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:152)
   at org.serviio.profile.ProfileManager.parseProfilesFromFile(ProfileManager.java:181)
   at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
   at org.serviio.MediaServer.main(MediaServer.java:112)


is it JAVA problem? What Java should be installed?

Thank you,

Martin
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Aug 28, 2012 7:17 pm

Re: Serviio 1.0.1 on linux a problem

It's a network configuration issue. IIRC you need to check /etc/hosts contains the correct host name. (on my phone, will look up exact instructions later)
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

Atilius

Serviio newbie

Posts: 10

Joined: Thu Jan 12, 2012 6:18 pm

Post Tue Aug 28, 2012 7:29 pm

Re: Serviio 1.0.1 on linux a problem

Great for your help :). It is done.

Thank you.

Martin

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 42 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.