Page 1 of 1

Exception thrown at start in linux, nothing shows up

PostPosted: Tue Dec 31, 2013 7:01 pm
by pisto
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.

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

PostPosted: Tue Dec 31, 2013 8:58 pm
by npuser
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

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

PostPosted: Wed Jan 01, 2014 10:29 am
by pisto
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.

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

PostPosted: Wed Jan 01, 2014 5:07 pm
by npuser
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

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

PostPosted: Wed Jan 01, 2014 6:23 pm
by pisto
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.

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

PostPosted: Wed Jan 01, 2014 6:40 pm
by npuser
plz post a fresh serviio.log and also profile.xml. A Log always tells a full story.

NPuser