FAQ  •  Register  •  Login

Serviio 'Cannot connect to the server...' again.

<<

Crippo

Serviio newbie

Posts: 2

Joined: Sat Jul 18, 2020 9:10 am

Post Sat Jul 18, 2020 9:17 am

Serviio 'Cannot connect to the server...' again.

Serviio has been running on my iMac with OSX 10.14.6 very happily for a very long time, great service.

All of a sudden it stopped. After reading up on here I have reinstalled it several times, removed and reinstalled the latest Java and Java 6, tried serviio 0.6.2 (which got the same error) and also used launchctl to start the server manually.

No joy. All failed.

Log file at system boot here:

2020-07-17 21:21:55,730 INFO [MediaServer] ------------------------------------------------------------------------
2020-07-17 21:21:55,732 INFO [MediaServer] Serviio DLNA media streaming server v 2.1 (rev. 64e78caaeacb5eafe11b93197db80b99f812bfb8)
2020-07-17 21:21:55,732 INFO [MediaServer] Petr Nejedly 2009-2018
2020-07-17 21:21:55,732 INFO [MediaServer] http://www.serviio.org
2020-07-17 21:21:55,732 INFO [MediaServer]
2020-07-17 21:21:55,732 INFO [MediaServer] Java 1.8.0_242-BellSoft x86_64
2020-07-17 21:21:55,732 INFO [MediaServer] OS Mac OS X 10.14.6
2020-07-17 21:21:55,732 INFO [MediaServer] File encoding: UTF-8
2020-07-17 21:21:55,792 INFO [MediaServer] Headless mode enabled: true
2020-07-17 21:21:55,792 INFO [MediaServer] User: root
2020-07-17 21:21:55,792 INFO [MediaServer] User home dir: /var/root
2020-07-17 21:21:55,792 INFO [MediaServer] Temp dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
2020-07-17 21:21:55,792 INFO [MediaServer] ------------------------------------------------------------------------
2020-07-17 21:21:55,872 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2020-07-17 21:21:55,967 INFO [DatabaseManager] Using DERBY database language
2020-07-17 21:21:57,258 WARN [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@5b2133b1, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.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:84)
at org.serviio.MediaServer.main(MediaServer.java:127)
Caused by: ERROR XJ040: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@5b2133b1, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 22 more
Caused by: ERROR XSDB4: Page Page(1,Container(0, 3120)) is at version 193, the log file contains change version 201, either there are log records of this page missing, or this page did not get written out to disk properly.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.access.RAMAccessManager.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.jdbc.EmbedConnection.startPersistentService(Unknown Source)
... 19 more
2020-07-17 21:21:59,329 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: null
java.lang.NullPointerException
at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50)
at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:84)
at org.serviio.MediaServer.main(MediaServer.java:127)


Help!

Thanks, I really like this program.

Any thoughts? Any more information I need to give you?
<<

Crippo

Serviio newbie

Posts: 2

Joined: Sat Jul 18, 2020 9:10 am

Post Sat Jul 18, 2020 10:15 am

Re: Serviio 'Cannot connect to the server...' again.

Well, I'll go to the foot of my stairs.

Had one last try this am, deleted everything using terminal again, restarted. Installed 2.1, restarted.

It now works. For how long I have no idea, but problem solved for the moment.

Odd.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 31 guests

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