FAQ  •  Register  •  Login

Problems with server on ubuntu 11.10, webui client

<<

slegdon

Serviio newbie

Posts: 3

Joined: Tue Jul 17, 2012 10:24 pm

Post Tue Jul 17, 2012 10:48 pm

Problems with server on ubuntu 11.10, webui client

OK, so I've searched the forums, FAQ and wiki for a resolution to this problem, but haven't found anything that describes exactly the same symptoms as I'm having.

I've installed the server on ubuntu 11.10, and set it up to run via upstart, following some instructions that I have now lost... The server starts fine, and renderers on my network can see it (I Can see connections from my Sony TV in the logs, and Serviio pops up in the TV's menus).

I installed WebUI on the same host and set that up to start with upstart too. It also starts up and can bee seen in the log. However, as soon as I hit http://host:8123/serviio/console in a browser, I get a string of errors like this in the log:

2012-07-16 00:21:39,766 ERROR [RefDataCache] Error getting cpu-cores
2012-07-16 00:21:39,770 ERROR [RefDataCache] Ressource
Internal Connector Error (1002) - Connection refused
at org.restlet.resource.ClientResource.handle(ClientResource.java:861)
at org.restlet.resource.ClientResource.handle(ClientResource.java:883)
at org.restlet.resource.ClientResource.handle(ClientResource.java:798)
at org.restlet.resource.ClientResource.get(ClientResource.java:541)
at org.serviio.restui.fast.RefDataCache.getData(Unknown Source)
at org.serviio.restui.fast.RefDataCache.getAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:449)
at org.restlet.resource.ServerResource.get(ServerResource.java:645)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

where the first line is different for each.

I have -Dserviio.remoteHost set to the ubuntu server's IP address in serviio.sh and serviio-webui.sh.
I have tried changing /etc/hosts to eliminate the loopback address, but this doesn't help.
I have verified that conf and logs directories have sane permissions.
I have reconfigured where the Derby database is stored, to somewhere outside of /usr with wide open permissions, just in case it was that.
The host has no firewall rules configured.

I've also tried setting up the console on a remore windows box, but that wouldn't start either.

The ubuntu server is headless, so I can't install the standard console on it.

Undoubtedly, I've done something wrong, but I can't spot it. Does anyone have any ideas?

Thanks
S
<<

slegdon

Serviio newbie

Posts: 3

Joined: Tue Jul 17, 2012 10:24 pm

Post Thu Jul 19, 2012 6:43 pm

Re: Problems with server on ubuntu 11.10, webui client

Ok. I have more info.

I find that I can access Serviio's rest api without issues from a browser on another machine, but if I try the same from the Ubuntu server using wget it hangs and has to be killed (Ctrl C). Once I do this, the correct data looks like it's been written to wget's output file.

Does this give anyone a clue?
<<

slegdon

Serviio newbie

Posts: 3

Joined: Tue Jul 17, 2012 10:24 pm

Post Thu Jul 19, 2012 6:49 pm

Re: Problems with server on ubuntu 11.10, webui client

And I'm running on Sun java 1.6.0_26 64 bit

Return to Serviio Support & Help

Who is online

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

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