FAQ  •  Register  •  Login

Console not launching

<<

moydeliche

Serviio newbie

Posts: 4

Joined: Thu Mar 01, 2012 11:27 pm

Post Thu Mar 01, 2012 11:32 pm

Console not launching

Hi!

Install Servio couple of days ago on my ds212. Web console is working but not the ui one.

below the logs

thx for your help

2012-03-02 00:12:37,581 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2012-03-02 00:12:37,686 INFO [MediaServer] ------------------------------------------------------------------------
2012-03-02 00:12:37,686 INFO [MediaServer] Serviio DLNA media streaming server v 0.6.2 (rev. 6a61243292ee)
2012-03-02 00:12:37,687 INFO [MediaServer] Petr Nejedly 2009-2011
2012-03-02 00:12:37,687 INFO [MediaServer] http://www.serviio.org
2012-03-02 00:12:37,687 INFO [MediaServer]
2012-03-02 00:12:37,688 INFO [MediaServer] Java 1.7.0_02-Oracle Corporation
2012-03-02 00:12:37,688 INFO [MediaServer] OS Linux arm 2.6.32.12
2012-03-02 00:12:37,688 INFO [MediaServer] File encoding: UTF-8
2012-03-02 00:12:37,691 INFO [MediaServer] Headless mode enabled: true
2012-03-02 00:12:37,691 INFO [MediaServer] User home dir: /root
2012-03-02 00:12:37,691 INFO [MediaServer] Temp dir: /tmp
2012-03-02 00:12:37,691 INFO [MediaServer] ------------------------------------------------------------------------
2012-03-02 00:12:38,403 INFO [RestletServer] Starting Restlet server exposed on port 23423
2012-03-02 00:12:38,685 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2012-03-02 00:12:38,721 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.sql' has been run
2012-03-02 00:12:44,529 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.1.sql' has been run
2012-03-02 00:12:44,533 DEBUG [DBLogDAOImpl] Checking if script 'script-0.2.sql' has been run
2012-03-02 00:12:44,538 DEBUG [DBLogDAOImpl] Checking if script 'script-0.3.1.sql' has been run
2012-03-02 00:12:44,541 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.sql' has been run
2012-03-02 00:12:44,545 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.1.sql' has been run
2012-03-02 00:12:44,548 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.2.sql' has been run
2012-03-02 00:12:44,551 DEBUG [DBLogDAOImpl] Checking if script 'script-0.5.sql' has been run
2012-03-02 00:12:44,555 DEBUG [DBLogDAOImpl] Checking if script 'script-0.5.1.sql' has been run
2012-03-02 00:12:44,558 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.sql' has been run
2012-03-02 00:12:44,561 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.1.sql' has been run
2012-03-02 00:12:44,564 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.2.sql' has been run
2012-03-02 00:12:46,141 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2012-03-02 00:12:46,421 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 1
2012-03-02 00:12:49,155 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2012-03-02 00:12:49,161 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 2
2012-03-02 00:13:34,999 DEBUG [ApplicationInstanceManager] Port is already taken. Notifying first instance.
2012-03-02 00:13:35,030 DEBUG [ApplicationInstanceManager] Successfully notified first instance.
2012-03-02 00:18:29,720 DEBUG [ServiioConsole] Initializing Serviio Console
2012-03-02 00:18:29,780 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44332
2012-03-02 00:18:29,786 INFO [ServiioConsole] Starting Serviio Console
2012-03-02 00:18:36,641 DEBUG [ServiioConsole] Initializing Serviio Console
2012-03-02 00:18:36,693 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44332
2012-03-02 00:18:36,699 INFO [ServiioConsole] Starting Serviio Console
2012-03-02 00:18:36,891 DEBUG [SwingHelper] Choosing java look and feel: javax.swing.plaf.metal.MetalLookAndFeel
2012-03-02 00:18:37,098 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-03-02 00:18:40,237 DEBUG [ServiioConsole] Retrieving preferred console language
2012-03-02 00:18:40,450 DEBUG [ServiioConsole] Setting console locale to be: fr
2012-03-02 00:18:40,507 INFO [Messages] Loaded console message bundle for locale: fr
2012-03-02 00:18:40,855 ERROR [ServiioConsole] Unexpected exception occured: null
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
at java.awt.Window.<init>(Window.java:534)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:180)
at org.serviio.ui.view.swing.JFrameView.<init>(JFrameView.java:28)
at org.serviio.ui.view.swing.ServiioFrameView.<init>(ServiioFrameView.java:52)
at org.serviio.console.ServiioConsole.main(ServiioConsole.java:112)
2012-03-02 00:18:41,085 INFO [ServiioConsole] Leaving Serviio Console
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Mar 01, 2012 11:38 pm

Re: Console not launching

which UI is not working? (webuiphp, webuiajax, remote console, serviidroid)
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 02, 2012 1:23 pm

Re: Console not launching

are you trying to run ServiioConsole on the NAS? It will not work as it's a headless system. You can run the onsole remotely from a different PC if you like (see the FAQ on how to do this)
<<

moydeliche

Serviio newbie

Posts: 4

Joined: Thu Mar 01, 2012 11:27 pm

Post Sat Mar 03, 2012 8:15 am

Re: Console not launching

Hello,

Thanks for your reply.
In fact, I follow the install guide here http://pcloadletter.co.uk/2012/01/25/se ... o-package/, and I can see a UI console running on the Syno NAS. that's why I was thinking it was possible... Maybe only on DSM 4.0 beta???

Regarding the headless thing, it is just related to the java version or to the syno? I tryed to find a non headless version of java without success.

Thanks for your advices

Moy
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Mar 03, 2012 8:27 am

Re: Console not launching

You have to use a headless version of java because your box is headless, it has no monitor, so it cannot display a graphical interface directly.

That isn't the normal console in that link, that is a web ui which has been styled (and very well) to look like the normal console.

If you install the normal serviio console on your computer, you can point it to serviio running on your nas as per http://www.serviio.org/component/content/article/21#q2
Will

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

moydeliche

Serviio newbie

Posts: 4

Joined: Thu Mar 01, 2012 11:27 pm

Post Sat Mar 03, 2012 9:02 am

Re: Console not launching

Hello,

Thanks for your support.

One last question related to java, I have downloaded the java packages needed and put them in the public folder. Just wondering if I need to unrar them or I have to leave them as tar.gz...

seems to be a stupid question, but really don't know...

Moy
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Mar 03, 2012 10:44 am

Re: Console not launching

Moving this to the NAS forum

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 13 guests

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