FAQ  •  Register  •  Login

Serviio 1.2.1 and Java in OpenSuse Linux

<<

Viskovitz

Serviio newbie

Posts: 2

Joined: Sun Nov 13, 2011 4:37 pm

Post Thu Mar 28, 2013 6:34 pm

Serviio 1.2.1 and Java in OpenSuse Linux

Hello, I just installed Serviio 1.2.1 in my computer, but I have a problem with the server, it don't start...

It seems to be a problem with Java (I have Java 1.7).

Someone have any idea about what can be the problem or could give me any tip?

This is my servio.log

  Code:
2013-03-28 19:10:27,611 ERROR [ApplicationInstanceManager] viskovitz.site: viskovitz.site
java.net.UnknownHostException: viskovitz.site: viskovitz.site
   at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
   at org.serviio.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:68)
   at org.serviio.MediaServer.checkForRunningInstances(MediaServer.java:281)
   at org.serviio.MediaServer.main(MediaServer.java:104)
Caused by: java.net.UnknownHostException: viskovitz.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-28 19:10:27,628 INFO  [MediaServer] ------------------------------------------------------------------------
2013-03-28 19:10:27,628 INFO  [MediaServer] Serviio DLNA media streaming server v 1.2.1 (rev. a2aa56064460+)
2013-03-28 19:10:27,628 INFO  [MediaServer] Petr Nejedly 2009-2013
2013-03-28 19:10:27,629 INFO  [MediaServer] http://www.serviio.org
2013-03-28 19:10:27,629 INFO  [MediaServer]
2013-03-28 19:10:27,629 INFO  [MediaServer] Java 1.7.0_17-Oracle Corporation
2013-03-28 19:10:27,629 INFO  [MediaServer] OS Linux amd64 3.7.10-1.1-desktop
2013-03-28 19:10:27,629 INFO  [MediaServer] File encoding: UTF-8
2013-03-28 19:10:27,629 INFO  [MediaServer] Headless mode enabled: true
2013-03-28 19:10:27,629 INFO  [MediaServer] User: viskovitz
2013-03-28 19:10:27,629 INFO  [MediaServer] User home dir: /home/viskovitz
2013-03-28 19:10:27,629 INFO  [MediaServer] Temp dir: /tmp
2013-03-28 19:10:27,629 INFO  [MediaServer] ------------------------------------------------------------------------
2013-03-28 19:10:27,752 INFO  [WebServer] Socket buffer set to 65535 bytes
2013-03-28 19:10:27,754 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-03-28 19:10:27,791 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-03-28 19:10:27,791 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-03-28 19:10:27,804 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-03-28 19:10:29,037 INFO  [MediaServer] ------------------------------------------------------------------------
2013-03-28 19:10:29,037 INFO  [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2013-03-28 19:10:29,037 INFO  [MediaServer] ------------------------------------------------------------------------
2013-03-28 19:10:29,044 INFO  [Device] Created UPnP Device with UUID: 8dee68fe-0370-3fc8-a5f5-ae4a1fb10a65, bound address: 192.168.1.10
2013-03-28 19:10:29,548 WARN  [ProfilesDefinitionParser] Cannot get name of the local computer: viskovitz.site: viskovitz.site
2013-03-28 19:10:29,838 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2013-03-28 19:10:29,866 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:374)
   at org.serviio.profile.ProfilesDefinitionParser.processProfileNode(ProfilesDefinitionParser.java:229)
   at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:161)
   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:120)
2013-03-28 19:10:29,867 WARN  [IndexedDiskCache] Region [thumbnails] Disk cache not shutdown properly, shutting down now.
2013-03-28 19:10:29,867 WARN  [IndexedDiskCache] Region [online_technical_metadata] Disk cache not shutdown properly, shutting down now.


Greetings and thaks.site
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Mar 28, 2013 7:28 pm

Re: Serviio 1.2.1 and Java in OpenSuse Linux

The same problem. viewtopic.php?f=5&t=9774
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Thu Mar 28, 2013 7:29 pm

Re: Serviio 1.2.1 and Java in OpenSuse Linux

2013-03-28 19:10:29,548 WARN [ProfilesDefinitionParser] Cannot get name of the local computer: viskovitz.site: viskovitz.site


Do you have the computer name defined in your hosts file?
<<

Viskovitz

Serviio newbie

Posts: 2

Joined: Sun Nov 13, 2011 4:37 pm

Post Fri Mar 29, 2013 11:34 am

Re: Serviio 1.2.1 and Java in OpenSuse Linux

Hello again,

I checked the /etc/HOSTNAME and it was fine, so I've changed the /etc/hosts to add my computer name.

Just for anyone newbie in linux and with the same problem in the future, I've changed the /etc/hosts to:
127.0.0.1 localhost
192.168.1.10 viskovitz.site


Greetings and thanks to both of you.

Return to Serviio Support & Help

Who is online

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

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