FAQ  •  Register  •  Login

Cannot connect to Serviio server - OsX.

<<

elviselvis

Serviio newbie

Posts: 5

Joined: Sat Oct 03, 2015 10:10 pm

Post Sat Oct 03, 2015 10:20 pm

Cannot connect to Serviio server - OsX.

After restoring system with Time machine, Serviio is not starting anymore. I get this error: Cannot connect to Serviio server, it does not seem to be running. Exiting...

Tried reinstalling JAVA, and Serviio, nothing helped, message is still there and serviio not working.
System - OsX Yosemite.
Please help :(

Log file:
  Code:
2015-10-04 00:55:20,220 ERROR [MediaServer] An unexpected error occured. 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:77)
   at org.serviio.MediaServer.main(MediaServer.java:121)
2015-10-04 01:13:13,770 INFO  [MediaServer] ------------------------------------------------------------------------
2015-10-04 01:13:13,771 INFO  [MediaServer] Serviio DLNA media streaming server v 1.5.2 (rev. 4b9ce176daa1)
2015-10-04 01:13:13,771 INFO  [MediaServer] Petr Nejedly 2009-2015
2015-10-04 01:13:13,771 INFO  [MediaServer] http://www.serviio.org
2015-10-04 01:13:13,771 INFO  [MediaServer]
2015-10-04 01:13:13,771 INFO  [MediaServer] Java 1.8.0_40-Oracle Corporation x86_64
2015-10-04 01:13:13,771 INFO  [MediaServer] OS Mac OS X 10.10.2
2015-10-04 01:13:13,771 INFO  [MediaServer] File encoding: UTF-8
2015-10-04 01:13:13,771 INFO  [MediaServer] Headless mode enabled: true
2015-10-04 01:13:13,771 INFO  [MediaServer] User: root
2015-10-04 01:13:13,771 INFO  [MediaServer] User home dir: /var/root
2015-10-04 01:13:13,772 INFO  [MediaServer] Temp dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
2015-10-04 01:13:13,772 INFO  [MediaServer] ------------------------------------------------------------------------
2015-10-04 01:13:13,993 INFO  [WebServer] Socket buffer set to 65535 bytes
2015-10-04 01:13:13,994 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2015-10-04 01:13:14,140 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2015-10-04 01:13:14,140 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2015-10-04 01:13:14,163 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2015-10-04 01:13:14,182 INFO  [DatabaseManager] Using DERBY database language
2015-10-04 01:13:14,755 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@f6f4d33, 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.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:77)
   at org.serviio.MediaServer.main(MediaServer.java:121)
Caused by: ERROR XJ040: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@f6f4d33, 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)
   ... 19 more
Caused by: ERROR XSDB4: Page Page(2,Container(0, 3120)) is at version 882, the log file contains change version 898, 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.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.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)
   ... 16 more
2015-10-04 01:13:16,759 ERROR [MediaServer] An unexpected error occured. 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:77)
   at org.serviio.MediaServer.main(MediaServer.java:121)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 05, 2015 8:38 am

Re: Cannot connect to Serviio server - OsX.

Does the user root have write access to the library folder where Serviio is installed?

  Code:
/Library/Application Support/Serviio/library


Did you uninstall properly? http://serviio.org/component/content/article?id=21#q4
<<

elviselvis

Serviio newbie

Posts: 5

Joined: Sat Oct 03, 2015 10:10 pm

Post Thu Oct 08, 2015 5:14 pm

Re: Cannot connect to Serviio server - OsX.

Got it working by removing Serviio from Library/Application Support and reinstalling it. Thanks for the help.
<<

Alfaserviio

Serviio newbie

Posts: 10

Joined: Sat Jun 20, 2015 2:15 am

Post Tue Nov 17, 2015 7:52 pm

Re: Cannot connect to Serviio server - OsX.

After some good days now Serviio and WDTV doesen't works!!!

I'm destroyed....


Thje log:


2015-11-17 19:14:06,024 INFO [DiscoveryManager] System wake up detected, restarting UPnP services for network re-discovery
2015-11-17 19:14:06,030 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2015-11-17 19:14:06,032 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2015-11-17 19:14:06,033 INFO [Device] Updated bound IP address of Device with UUID: 12486d15-079e-3f2f-932c-6be88964d93a, bound address: 192.168.1.104
2015-11-17 19:14:06,032 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2015-11-17 19:14:06,032 INFO [EventDispatcher] Leaving EventDispatcher
2015-11-17 19:14:06,037 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2015-11-17 19:14:06,037 INFO [EventDispatcher] Starting EventDispatcher
2015-11-17 19:14:06,037 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2015-11-17 19:14:06,039 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface en2 (en2) and address 192.168.1.104, timeout = 0
2015-11-17 20:16:14,169 INFO [LibraryDeltaScanner] Added repository '/Volumes/W1/M2' to delta scanner (POLLER)
2015-11-17 20:16:25,903 INFO [LibraryDeltaScanner] Added repository '/Volumes/W1/M' to delta scanner (POLLER)
2015-11-17 20:33:25,455 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2015-11-17 20:33:25,812 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
<<

snowguard

Serviio newbie

Posts: 4

Joined: Fri Sep 30, 2016 9:36 pm

Post Fri Aug 09, 2024 8:46 am

Re: Cannot connect to Serviio server - OsX.

elviselvis wrote:Got it working by removing Serviio from Library/Application Support and reinstalling it. Thanks for the help.


It worked for me too

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 91 guests

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