Tue Sep 15, 2020 2:06 am by MrVideo
Lots of devices on my LAN. All devices, except for the phone and the laptop, are issues static IPs. The laptop is DHCP configured for an IP within the DHCP allocated range. I just looked at the router's list of attached devices and there are no duplicates. I'm not sure what a duplicate IP would have to do with this problem since the serviio server listens on the localhost (127.0.0.1) IP.
In the meantime the Linux server developed the issue whereby one of the 8 cores goes into 100% usage mode and cycles that 100% usage between all of the 8 cores. That is usually caused by the Opera browser. Wasn't it this time. Neither was it either of the two Vivaldi browsers I had up. I closed all programs I had running and the issue was still there. That left the other process that could do it and that was MATE/caja (the desktop). Logging out and back normally fixed it. Not this time around. Well, reboot needed. Even that hung. I had to push the reset button.
After getting everything back up, I returned to this problem. Well, now I no longer get the address issue. Instead I now get:
- Code:
An unexpected error occurred. Ending the application. Message: null. Check serviio.log for more details.
Great. Maybe a 2.1 issue. So I retried 2.0. It gives me the duplicate address issue. What duplicate address? The program needs to put into the log what the duplicate address is.
As for the null issue with 2.1... here is its log:
- Code:
2020-09-14 21:00:48,953 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2020-09-14 21:00:48,954 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-14 21:00:48,954 INFO [MediaServer] Serviio DLNA media streaming server v 2.1 (rev. 64e78caaeacb5eafe11b93197db80b99f812bfb8)
2020-09-14 21:00:48,954 INFO [MediaServer] Petr Nejedly 2009-2018
2020-09-14 21:00:48,954 INFO [MediaServer] http://www.serviio.org
2020-09-14 21:00:48,954 INFO [MediaServer]
2020-09-14 21:00:48,954 INFO [MediaServer] Java 1.8.0_191-Oracle Corporation amd64
2020-09-14 21:00:48,954 INFO [MediaServer] OS Linux 4.18.19-100.fc27.x86_64
2020-09-14 21:00:48,955 INFO [MediaServer] File encoding: UTF-8
2020-09-14 21:00:49,019 INFO [MediaServer] Headless mode enabled: true
2020-09-14 21:00:49,020 INFO [MediaServer] User: root
2020-09-14 21:00:49,020 INFO [MediaServer] User home dir: /root
2020-09-14 21:00:49,020 INFO [MediaServer] Temp dir: /tmp
2020-09-14 21:00:49,020 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-14 21:00:49,022 DEBUG [MediaServer] Runtime params: -Xmx512M, -Xms20M, -XX:+UseG1GC, -XX:GCTimeRatio=1, -XX:MinHeapFreeRatio=10, -XX:MaxHeapFreeRatio=20, -Djava.net.preferIPv4Stack=true, -Djava.awt.headless=true, -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade, -Dderby.system.home=/usr/local/bin/serviio/library, -Dserviio.home=/usr/local/bin/serviio, -Dffmpeg.location=ffmpeg, -Ddcraw.location=dcraw
2020-09-14 21:00:49,031 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2020-09-14 21:00:49,039 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.sql' has been run
2020-09-14 21:00:49,040 INFO [DatabaseManager] Using DERBY database language
2020-09-14 21:00:49,326 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@135fbaa4, 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@135fbaa4, 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 XSDB6: Another instance of Derby may have already booted the database /usr/local/bin/serviio/library/db.
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.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.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.raw.RawStore$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.RawStore.bootServiceModule(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-09-14 21:00:51,333 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)
Sigh