FAQ  •  Register  •  Login

Can't connect serviio to Sony Bravia KDL-40W605B

<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Mon Dec 15, 2014 1:26 am

Can't connect serviio to Sony Bravia KDL-40W605B

Hello everyone, I have installed serviio-1.4.1.2-linux to my Peppermint Five 64bit machine. This machine is based on Ubuntu 14.04 LTS. I am trying to connect Serviio wirelessly to the My Sony Bravia KDL-40W605B Television. The Server Console can be accessed and the Server Status is "Running". I use a wireless connection to the internet and for the purpose of this setting up process, my Firewall is also disabled. The only device showing in the Status tab of the Serviio console window is an unrecognised device with a generic DLNA profile. The IP address is 192.168.2.14. There is an amber radio indicator. The ~/serviio/config/profiles.xml has been updated to 2013/1014. There are no save buttons visible/available under either the Status tab or the Library tab.

Click on images to enlarge:

Image Image

My Sony TV is using WiFi flawlessly to connect to the internet when viewing content such as Netflix. When I search for the Serviiio DLNA media server In the Sony Bravia KDL-40W605B Server Display Settings. The output reads, "Servers cannot be recognised. Please check the connections, press OPTIONS key and select "Update List". This has been done and it made no difference. What am I doing wrong and how can I get my TV to recognise the Serviio DLNA server? Many thank ;) !!
Last edited by AndyInMokum on Tue Dec 16, 2014 9:55 pm, edited 3 times in total.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Dec 15, 2014 8:32 am

Re: Can't connect serviio to Sony Bravia KDL-40W605B

What is the IP address of your sony device ?
What is the IP address of your Serviio server (wifi interface)?

I suggest to bound the serviio IP address with the wifi interface value.
Cleanup the server list on sony device menu, then refresh it.
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Mon Dec 15, 2014 9:24 am

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Illico wrote:What is the IP address of your sony device ?
What is the IP address of your Serviio server (wifi interface)?

I suggest to bound the serviio IP address with the wifi interface value.
Cleanup the server list on sony device menu, then refresh it.


Good morning, thank you for getting back to me. The WiFi address of my Sony TV is: 192.168.2.17. I don't know how to access the IP address of the Serviio server (wifi interface). I am presuming that it is the unrecognised devise: 192.168.2.14.

I have deleted the server list within the TV's Server Display Setting and then updated them for what it was worth. There was nothing in the list to start with. There are still no servers visible. I am completely baffled :?:!!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Dec 15, 2014 10:43 am

Re: Can't connect serviio to Sony Bravia KDL-40W605B

On serviio console status tab (your first image), check the "Bound Ip Address" combolist, then change value "automatically detected" to the wireless interface value.
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Mon Dec 15, 2014 1:20 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Illico wrote:On serviio console status tab (your first image), check the "Bound Ip Address" combolist, then change value "automatically detected" to the wireless interface value.


Hello again, I have tried this already. The only option available from the drop down menu is the IP Address, 192.168.2.14 (wlan0). There is still no option to save any changes made in the Serviio Console. Also the Refresh button is not functioning. Click on image to enlarge:

Image

In the TV 's, Home Network Setup > Server Display Setting I have in the "Options" deleted All and updated the list. This made no difference. I hope this helps you to pinpoint the cause of the issue. Again, thank you ;) .

Edit: My apologies: The save option is available when the window is maximized. A "Save" of the above changes has now been made. In the TV's Home Network Setup > Server Display Setting I have again deleted All and updated the list. There was no change. Seriio is still not recognized by the Sony Bravia TV.
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Mon Dec 15, 2014 2:16 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

I guess this is related to the original issue. I get an error message, "An unexpected error occurred (500). Check the log " while trying to build a list and save under the Library tab.

Click on image to enlarge:

Image

Where are the Serviio log files saved to. They are not in the usual /var/log location? Many thanks ;).
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Dec 15, 2014 2:18 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Ok,so
The WiFi address of your Sony TV is 192.168.2.17
The Serviio server IP Address is 192.168.2.14 (wlan0)

I suppose that your router IP address is something like 192.168.2.1 and is the default gateway for all your devices, isn't it ?

I suppose that all serviio streaming ports are opened (firewall/antivirus) TCP port 8895 and UDP 1900 ?

Read that faq_ : http://www.serviio.org/component/conten ... e?id=21#q1

Could you enable detailed logging and post here the section just after serviio service start ?
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Mon Dec 15, 2014 5:05 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Hi again, my firewall is disabled for the purpose of this configuration. I don't have any anti-virus software installed. The /etc/network/interfaces file has been edited
  Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
up route add -net 239.0.0.0 netmask 255.0.0.0 dev eth1
The detailed debugging has been enabled. Serviio has been shutdown and restarted. Please find a Dropbox link to download: serviio.log.tar. Many thanks ;) .
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Dec 16, 2014 6:49 am

Re: Can't connect serviio to Sony Bravia KDL-40W605B

  Code:
2014-12-14 21:10:13,594 INFO  [FFMPEGWrapper] Found FFmpeg: ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers
2014-12-14 21:10:13,594 WARN  [FFMPEGWrapper] FFmpeg is not compiled with libass support, rendering subtitles (hardsubs) will not work.
2014-12-14 21:10:13,636 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "dcraw": error=2, No such file or directory
java.io.IOException: Cannot run program "dcraw": error=2, No such file or directory
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
   at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: error=2, No such file or directory
   at java.lang.UNIXProcess.forkAndExec(Native Method)
   at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
   at java.lang.ProcessImpl.start(ProcessImpl.java:130)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
   ... 1 more

You need to install the latest ffmpeg with modules, read : http://www.serviio.org/download (Refer to README.txt for the complete list)
- FFmpeg is not compiled with libass support -


  Code:
2014-12-15 17:17:43,716 ERROR [IndexedDiskCache] Region [online_technical_metadata] Failure initializing for fileName: online_technical_metadata and root directory: /usr/local/share/serviio/library/cache
Caused by: ERROR 25502: An SQL data change is not permitted for a read-only connection, user or database.

Serviio service should have write admin access (ie : /usr/local/share/serviio/library/cache)


Do you try to access your library from serviio browser (start from serviio console remote tab)?
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Wed Dec 17, 2014 10:47 am

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Hi again, I'm still having issues getting Serviio to function. I have compiled and installed FFmpeg as instructed at: Building FFmpeg on Linux. Java 8 has been installed. When I now try to invoke the Serviio server, I receive the following error output. (I apologize for the long output, I can't find an encapsulate function).
  Code:
andy@AMILO-Li3710 ~/serviio-1.4.1.2/bin $ ./serviio.sh
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /home/andy/serviio-1.4.1.2/log/serviio.log (Permission denied)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
   at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
   at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
   at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
   at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
   at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
   at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
   at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
   at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
   at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
   at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1001)
   at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
   at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:773)
   at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
   at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
   at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
   at org.serviio.MediaServer.<clinit>(MediaServer.java:72)
Wed Dec 17 11:40:02 CET 2014 Thread[main,5,main] java.io.FileNotFoundException: /home/andy/serviio-1.4.1.2/library/../log/derby.log (Permission denied)
Wed Dec 17 11:40:02 CET 2014 Thread[main,5,main] Cleanup action starting
ERROR XBM0A: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
Cleanup action completed
Wed Dec 17 11:40:02 CET 2014 Thread[main,5,main] Cleanup action starting
java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
Caused by: java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 20 more
Caused by: java.sql.SQLException: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   ... 17 more
Caused by: ERROR XBM0A: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   ... 17 more
============= begin nested exception, level (1) ===========
java.sql.SQLException: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
Caused by: java.sql.SQLException: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 22 more
Caused by: ERROR XBM0A: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   ... 17 more
============= end nested exception, level (1) ===========
============= begin nested exception, level (2) ===========
java.sql.SQLException: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
Caused by: ERROR XBM0A: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   ... 17 more
============= end nested exception, level (2) ===========
============= begin nested exception, level (3) ===========
ERROR XBM0A: The database directory '/home/andy/serviio-1.4.1.2/library/db' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
============= end nested exception, level (3) ===========
Cleanup action completed
andy@AMILO-Li3710 ~/serviio-1.4.1.2/bin $
Six log files are contained in the downloadable tarball: Seviio-log-folder.tar.gz. You assistance is greatly appreciated ;) .

Edit:: I've deleted and re-installed Serviio to /home/andy/serviio-1.4.1.2. This way it can build a fresh Library log from scratch. I have changed the permissions recursively for ~/serviio-1.4.1.2 to correct the above error. The server now starts and I can access the console. It is still not recognizing the Sony Bravia TV. It doesn't even come up with a generic profile.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Dec 17, 2014 2:14 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

I push your post to general Support & Help topic. Because I'm not a linux user and I think your problem comes from linux setup.

Do you have a look at this wiki ?
http://wiki.serviio.org/doku.php?id=howto:linux:install
<<

AndyInMokum

Serviio newbie

Posts: 7

Joined: Mon Dec 15, 2014 12:31 am

Post Wed Dec 17, 2014 3:52 pm

Re: Can't connect serviio to Sony Bravia KDL-40W605B

Illico wrote:I push your post to general Support & Help topic. Because I'm not a linux user and I think your problem comes from linux setup.

Do you have a look at this wiki ?
http://wiki.serviio.org/doku.php?id=howto:linux:install

Many thanks for escalating this ;) . Yes, I have been using this link. Much of it applies to Ubuntu 12.04 LTS. Peppermint Five is based on Ubuntu 14.04 LTS.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 71 guests

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