FAQ  •  Register  •  Login

Exception thrown at start in linux, nothing shows up

<<

pisto

Serviio newbie

Posts: 3

Joined: Tue Dec 31, 2013 6:56 pm

Post Tue Dec 31, 2013 7:01 pm

Exception thrown at start in linux, nothing shows up

EDIT: my interpretation of the issue was gibberish, but keeping the post as it was for readability

I understan that serviio wants to phone home before booting up.
Here on Fedora 20 x86_64 with OpenJKD 1.7.0_45 it cannot becuse surprisinlgy it is not trying to resolve the right domain name (I don't know which it is exactly), but the local hostname (I saw this with wireshark), failing unsurprisingly.

I'm going to try to force a java version 6, but I wanted to let you konw this.
Last edited by pisto on Wed Jan 01, 2014 3:44 pm, edited 1 time in total.
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Tue Dec 31, 2013 8:58 pm

Re: can't boot on linux, looks for the wrong server

Not sure what are you talking about phoning home as serviio can be used offline as well and works very well. Serviio.log will tell you what is going on. If you need help, simply post the log here.

are you talking about service not starting because of missing computername in serviio log like:
  Code:
[ProfilesDefinitionParser] Cannot get name of the local computer:xxxxxx


Then check /etc/hostname and/or hosts file. You may add an entry for your computer ip and name like:
  Code:
127.0.0.1 localhost
xxx.xxx.xxx.xxx computer.local


NPuser
<<

pisto

Serviio newbie

Posts: 3

Joined: Tue Dec 31, 2013 6:56 pm

Post Wed Jan 01, 2014 10:29 am

Re: can't boot on linux, looks for the wrong server

Here's servio.sh.log for a run of servio.sh . "pcpcpcpc" is my hostname.
serviio-console.sh does more or lessthe same, plus I get a window telling me that the serviio server doesn't seem to be running. Also, it generated an abrt file, because an exception is thrown in the shutdown hook.
Attachments
abrt_checker_3001.log
(412 Bytes) Downloaded 310 times
serviio-console.sh.log
(1.37 KiB) Downloaded 309 times
serviio.sh.log
(4.32 KiB) Downloaded 302 times
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Wed Jan 01, 2014 5:07 pm

Re: Exception thrown at start in linux, nothing shows up

Like i suspected fqdn is missing based on the log you provided.
  Code:
[ProfilesDefinitionParser] Cannot get name of the local computer: pcpcpcpc: pcpcpcpc


Simply update your hostname and/or host file per your ip and hostname - then you should be good. It is not complaining about being able to phone home; it is just could not read local hostname correctly - thats all

/etc/hostname
pcpcpcpc.local

/etc/hosts
  Code:
127.0.0.1 pcpcpcpc.local
192.168.1.100 pcpcpcpc.local


NPuser
<<

pisto

Serviio newbie

Posts: 3

Joined: Tue Dec 31, 2013 6:56 pm

Post Wed Jan 01, 2014 6:23 pm

Re: Exception thrown at start in linux, nothing shows up

I modified the file following your directions. Now I canconfirm that all the other programs (wget and curl for example) can resolv my hostname to the localhost address, but only serviio can't and throws the same error. Also, the second error (NullPointerException) still occurs.
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Wed Jan 01, 2014 6:40 pm

Re: Exception thrown at start in linux, nothing shows up

plz post a fresh serviio.log and also profile.xml. A Log always tells a full story.

NPuser

Return to Serviio Support & Help

Who is online

Users browsing this forum: Baidu [Spider] and 99 guests

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