FAQ  •  Register  •  Login

Cannot connect to Serviio Server,

<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Wed Aug 21, 2013 8:47 pm

Cannot connect to Serviio Server,

Cannot connect to Serviio Server, it does not seem to be running. Exiting

So it's unable to load the console

I keep getting that message. I have updated java and reinstalled serviio 3 times and rebooted.

This seem to happen after updating to 1.3.1 and rebooting
<<

Iveky

User avatar

DLNA master

Posts: 302

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Wed Aug 21, 2013 9:30 pm

Re: Cannot connect to Serviio Server,

windows? linux? you edited profiles?
uninstalling and removing whole instalation folder could help
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Wed Aug 21, 2013 10:03 pm

Re: Cannot connect to Serviio Server,

Windows xp

edited profiles? nope don't believe so

I didn't really want to lose all my folders. uninstalling is a last resort
<<

DenyAll

DLNA master

Posts: 1123

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Aug 22, 2013 12:30 am

Re: Cannot connect to Serviio Server,

Did you upgrade to version 1.3 prior to this, and the 1.3 version worked? Or have you come from an earlier version?

Turn on detailed logging, attempt to restart the service and then post the log file so we can have a look at it.
DenyAll
Panasonic V20A | Sony PS3 | iPad | Windows 7 | Serviio 1.4.1 Pro
Beta Tester, Moderator
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 8:23 am

Re: Cannot connect to Serviio Server,

Yes I upgraded to version 1.3 which worked fine then to 1.3.1 which didn't



2013-08-21 08:04:51,437 INFO [MediaServer] Serviio DLNA media streaming server v 1.3.1 (rev. f1fc8bc55657)
2013-08-21 08:04:51,437 INFO [MediaServer] Petr Nejedly 2009-2013
2013-08-21 08:04:51,437 INFO [MediaServer] http://www.serviio.org
2013-08-21 08:04:51,437 INFO [MediaServer]
2013-08-21 08:04:51,437 INFO [MediaServer] Java 1.7.0_21-Oracle Corporation
2013-08-21 08:04:51,437 INFO [MediaServer] OS Windows XP x86 5.1
2013-08-21 08:04:51,437 INFO [MediaServer] File encoding: windows-1252
2013-08-21 08:04:51,437 INFO [MediaServer] Headless mode enabled: true
2013-08-21 08:04:51,437 INFO [MediaServer] User: SYSTEM
2013-08-21 08:04:51,437 INFO [MediaServer] User home dir: C:\
2013-08-21 08:04:51,437 INFO [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2013-08-21 08:04:51,437 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 08:04:51,578 INFO [WebServer] Socket buffer set to 65535 bytes
2013-08-21 08:04:51,578 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-08-21 08:04:51,625 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-08-21 08:04:51,625 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-08-21 08:04:51,640 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-08-21 08:04:54,218 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 08:04:54,218 INFO [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2013-08-21 08:04:54,218 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 08:04:54,421 INFO [Device] Created UPnP Device with UUID: c41c5514-0d79-3774-967b-023b9e31d01f, bound address: 192.168.0.2
2013-08-21 08:04:54,843 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-08-21 08:04:54,906 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2013-08-21 08:04:54,906 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E/F-series)' (id=7)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Philips (2010-)' (id=plps2010)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Philips (2009)' (id=20)
2013-08-21 08:04:54,921 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Vizio TV' (id=viziotv)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Windows 8/RT' (id=win8metro)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Panasonic BD player' (id=panasonicBDT220)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Philips NP Streamium' (id=philips_streamium)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Chaneru' (id=roku)
2013-08-21 08:04:54,937 INFO [ProfilesDefinitionParser] Added profile 'Yamaha BD-A1020/BD-A1010' (id=YamBD)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'iOS' (id=ios)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Standard)' (id=serviigo_standard)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Legacy Devices)' (id=serviigo)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (HLS)' (id=serviigo_hls)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Google TV)' (id=serviigo_gtv)
2013-08-21 08:04:54,968 INFO [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2013-08-21 08:04:55,000 INFO [PluginCompilerThread] Looking for plugins at C:\Program Files\Serviio\bin\..\plugins
2013-08-21 08:04:55,000 INFO [PluginCompilerThread] Started looking for plugins
2013-08-21 08:04:55,000 INFO [UpdateChecker] Checking if a new version is available
2013-08-21 08:04:56,890 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
2013-08-21 08:04:57,171 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-08-21 08:04:57,218 INFO [WebServer] WebServer starting on port 8895
2013-08-21 08:04:57,218 INFO [Device] Updated bound IP address of Device with UUID: c41c5514-0d79-3774-967b-023b9e31d01f, bound address: 192.168.0.2
2013-08-21 08:04:57,218 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-08-21 08:04:57,218 INFO [EventDispatcher] Starting EventDispatcher
2013-08-21 08:04:57,218 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-08-21 08:04:57,234 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth0 (Realtek PCIe GBE Family Controller - Packet Scheduler Miniport) and address 192.168.0.2, timeout = 0
2013-08-21 08:04:57,234 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2013-08-21 08:04:57,234 INFO [RendererSearchSender] Searching for Renderer devices
2013-08-21 08:05:23,250 INFO [FeedUpdaterThread] Started looking for information about online resources
2013-08-21 08:05:23,250 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-08-21 08:05:23,265 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-08-21 08:05:23,265 INFO [PlaylistMaintainerThread] Started looking playlist changes
2013-08-21 08:05:23,656 WARN [LibraryManager] Cannot read metadata of file F:\Bad Dreams1988\A70-692.jpg via extractor EMBEDDED. Message: Could not read block (block start: 302, block length: -14, data length: 288).
2013-08-21 08:05:24,000 WARN [LibraryAdditionsCheckerThread] Folder 'F:\Justified.' is either not an existing directory or cannot be read due to access rights

then it's just a massive list of all my media

"is either not an existing directory or cannot be read due to access rights" on each one
<<

DenyAll

DLNA master

Posts: 1123

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Aug 22, 2013 9:53 am

Re: Cannot connect to Serviio Server,

You need to turn on detailed logging. The log you have provided doesn't have DEBUG messages. Also, you haven't (in the info provided) attempted to start Serviio Console in this? This is showing the server starting (and not stopping, but that may be further in the log).

The access rights is a real problem - check all your access rights on the Serviio application folders and all shared media folders. Make sure the SYSTEM user has access to all folders.
DenyAll
Panasonic V20A | Sony PS3 | iPad | Windows 7 | Serviio 1.4.1 Pro
Beta Tester, Moderator
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 9:58 am

Re: Cannot connect to Serviio Server,

ok how do i turn on detailed logging?

I thought that was explained here

<category name="org.serviio">
<priority value="DEBUG"/>
</category>

I tried starting the application console and I tried removing the logs and trying it again.

This is at the end of the log btw

21 08:04:30,265 INFO [ServiioConsole] Initializing Serviio Console
2013-08-21 08:04:30,296 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 08:04:30,296 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 08:04:30,296 INFO [ServiioConsole] Serviio Console completely closed
2013-08-21 08:04:31,890 INFO [ServiioConsole] Initializing Serviio Console
2013-08-21 08:04:31,937 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 08:04:32,468 WARN [LibraryManager] Cannot read metadata of file F:\Bad Dreams1988\A70-692.jpg via extractor EMBEDDED. Message: Could not read block (block start: 302, block length: -14, data length: 288).
2013-08-21 08:04:32,562 WARN [IndexedDiskCache] Region [thumbnails] Disk cache not shutdown properly, shutting down now.
2013-08-21 08:04:32,562 WARN [IndexedDiskCache] Region [online_technical_metadata] Disk cache not shutdown properly, shutting down now.
2013-08-21 08:04:32,640 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-08-21 08:04:32,671 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-08-21 08:04:32,765 INFO [FeedUpdaterThread] Finished looking for online resources information
2013-08-21 08:04:32,875 INFO [PluginCompilerThread] Finished looking for plugins
2013-08-21 08:04:33,000 INFO [SearchManager] Starting up search engine
2013-08-21 08:04:35,671 INFO [SearchIndexer] Closing search index writer
2013-08-21 08:04:35,671 INFO [SearchIndexer] Closing search index writer
2013-08-21 08:04:35,671 INFO [WebServer] WebServer shutting down
2013-08-21 08:04:35,671 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2013-08-21 08:04:35,671 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2013-08-21 08:04:35,671 INFO [EventDispatcher] Leaving EventDispatcher
2013-08-21 08:04:35,671 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2013-08-21 08:04:35,687 INFO [DatabaseManager] Shutting down database
2013-08-21 08:04:36,750 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-08-21 08:04:51,437 INFO [MediaServer] ------------------------------------------------------------------------
<<

DenyAll

DLNA master

Posts: 1123

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Aug 22, 2013 10:50 am

Re: Cannot connect to Serviio Server,

After setting debug mode did you restart the server/your PC?
DenyAll
Panasonic V20A | Sony PS3 | iPad | Windows 7 | Serviio 1.4.1 Pro
Beta Tester, Moderator
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 5:08 pm

Re: Cannot connect to Serviio Server,

no i didn't
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Aug 22, 2013 6:38 pm

Re: Cannot connect to Serviio Server,

Hi Dred

Once you restart ur computer after u

Put debug instead of info

Debug will start that's y DenyAll asked u

If u restarted after you changed to debug

Here is the link viewtopic.php?f=5&t=7
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 7:56 pm

Re: Cannot connect to Serviio Server,

ok I have done that twice now. Once and the log was exactly the same as above

and a second time i removed serviio.log.1 and serviio.log.4 in the hopes that it would create a new log .. but nothing
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 8:03 pm

Re: Cannot connect to Serviio Server,

[spoiler]2013-08-21 17:09:21,093 INFO [ServiioConsole] Starting Serviio Console
2013-08-21 17:09:21,156 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2013-08-21 17:09:31,750 WARN [ServiioConsole] Cannot connect to the server to get DB initialization info
2013-08-21 17:09:42,250 WARN [ServiioConsole] Cannot connect to server: Connection Error (1000) - Connection refused: connect
2013-08-21 17:09:42,265 INFO [Messages] Loaded console message bundle for locale: en
2013-08-21 17:09:58,453 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 17:11:54,828 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 17:11:54,828 INFO [MediaServer] Serviio DLNA media streaming server v 1.3.1 (rev. f1fc8bc55657)
2013-08-21 17:11:54,828 INFO [MediaServer] Petr Nejedly 2009-2013
2013-08-21 17:11:54,828 INFO [MediaServer] http://www.serviio.org
2013-08-21 17:11:54,828 INFO [MediaServer]
2013-08-21 17:11:54,828 INFO [MediaServer] Java 1.7.0_21-Oracle Corporation
2013-08-21 17:11:54,828 INFO [MediaServer] OS Windows XP x86 5.1
2013-08-21 17:11:54,828 INFO [MediaServer] File encoding: windows-1252
2013-08-21 17:11:54,828 INFO [MediaServer] Headless mode enabled: true
2013-08-21 17:11:54,828 INFO [MediaServer] User: SYSTEM
2013-08-21 17:11:54,828 INFO [MediaServer] User home dir: C:\
2013-08-21 17:11:54,828 INFO [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2013-08-21 17:11:54,828 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 17:11:54,937 INFO [WebServer] Socket buffer set to 65535 bytes
2013-08-21 17:11:54,937 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-08-21 17:11:54,968 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-08-21 17:11:55,000 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-08-21 17:11:55,015 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-08-21 17:11:55,500 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@1dd5a3d, 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.bootDatabase(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(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
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:66)
at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:59)
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:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@1dd5a3d, 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)
... 26 more
Caused by: java.sql.SQLException: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
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)
... 23 more
Caused by: ERROR XSLAO: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
at org.apache.derby.iapi.error.StandardException.newException(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.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.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)
... 23 more
2013-08-21 17:11:57,500 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:59)
at org.serviio.MediaServer.main(MediaServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
2013-08-21 17:23:14,000 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 17:23:14,000 INFO [MediaServer] Serviio DLNA media streaming server v 1.3.1 (rev. f1fc8bc55657)
2013-08-21 17:23:14,000 INFO [MediaServer] Petr Nejedly 2009-2013
2013-08-21 17:23:14,000 INFO [MediaServer] http://www.serviio.org
2013-08-21 17:23:14,000 INFO [MediaServer]
2013-08-21 17:23:14,000 INFO [MediaServer] Java 1.7.0_21-Oracle Corporation
2013-08-21 17:23:14,000 INFO [MediaServer] OS Windows XP x86 5.1
2013-08-21 17:23:14,000 INFO [MediaServer] File encoding: windows-1252
2013-08-21 17:23:14,000 INFO [MediaServer] Headless mode enabled: true
2013-08-21 17:23:14,000 INFO [MediaServer] User: SYSTEM
2013-08-21 17:23:14,000 INFO [MediaServer] User home dir: C:\
2013-08-21 17:23:14,000 INFO [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2013-08-21 17:23:14,000 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 17:23:14,125 INFO [WebServer] Socket buffer set to 65535 bytes
2013-08-21 17:23:14,125 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-08-21 17:23:14,156 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-08-21 17:23:14,156 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-08-21 17:23:14,171 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-08-21 17:23:14,531 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@1dd5a3d, 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.bootDatabase(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(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
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:66)
at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:59)
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:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@1dd5a3d, 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)
... 26 more
Caused by: java.sql.SQLException: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
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)
... 23 more
Caused by: ERROR XSLAO: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
at org.apache.derby.iapi.error.StandardException.newException(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.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.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)
... 23 more
2013-08-21 17:23:16,546 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:59)
at org.serviio.MediaServer.main(MediaServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
2013-08-21 17:23:21,546 INFO [ServiioConsole] Initializing Serviio Console
2013-08-21 17:23:21,562 INFO [ServiioConsole] Starting Serviio Console
2013-08-21 17:23:21,640 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2013-08-21 17:23:31,546 WARN [ServiioConsole] Cannot connect to the server to get DB initialization info
2013-08-21 17:23:41,406 WARN [ServiioConsole] Cannot connect to server: Connection Error (1000) - Connection refused: connect
2013-08-21 17:23:41,421 INFO [Messages] Loaded console message bundle for locale: en
2013-08-21 18:30:42,218 INFO [ServiioConsole] Initializing Serviio Console
2013-08-21 18:30:42,234 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 18:31:48,531 INFO [ServiioConsole] Exitting Serviio Console
2013-08-21 18:35:40,968 INFO [ServiioConsole] Initializing Serviio Console
2013-08-21 18:35:40,968 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 18:35:41,031 INFO [MediaServer] Serviio DLNA media streaming server v 1.3.1 (rev. f1fc8bc55657)
2013-08-21 18:35:41,031 INFO [MediaServer] Petr Nejedly 2009-2013
2013-08-21 18:35:41,031 INFO [MediaServer] http://www.serviio.org
2013-08-21 18:35:41,031 INFO [MediaServer]
2013-08-21 18:35:41,031 INFO [MediaServer] Java 1.7.0_21-Oracle Corporation
2013-08-21 18:35:41,031 INFO [MediaServer] OS Windows XP x86 5.1
2013-08-21 18:35:41,031 INFO [MediaServer] File encoding: windows-1252
2013-08-21 18:35:41,046 INFO [ServiioConsole] Starting Serviio Console
2013-08-21 18:35:41,109 INFO [MediaServer] Headless mode enabled: true
2013-08-21 18:35:41,109 INFO [MediaServer] User: SYSTEM
2013-08-21 18:35:41,109 INFO [MediaServer] User home dir: C:\
2013-08-21 18:35:41,109 INFO [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2013-08-21 18:35:41,109 INFO [MediaServer] ------------------------------------------------------------------------
2013-08-21 18:35:42,281 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2013-08-21 18:35:45,515 INFO [WebServer] Socket buffer set to 65535 bytes
2013-08-21 18:35:45,546 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-08-21 18:35:47,000 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-08-21 18:35:47,000 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-08-21 18:35:47,437 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-08-21 18:35:56,750 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@14f7a86, 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.bootDatabase(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(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
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:66)
at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:59)
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:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@14f7a86, 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)
... 26 more
Caused by: java.sql.SQLException: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
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)
... 23 more
Caused by: ERROR XSLAO: Recovery failed unexpected problem: Log record is Not first but transaction is not in transaction table : 81701824.
at org.apache.derby.iapi.error.StandardException.newException(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.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.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)
... 23 more
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 8:03 pm

Re: Cannot connect to Serviio Server,

This might be part of it. But it's huge so i could not post the whole thing
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Thu Aug 22, 2013 8:15 pm

Re: Cannot connect to Serviio Server,

Once you change it to DEBUG put it in capitals save it

Then restart your computer

That should work if it don't

Private message zip + he will help you
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Thu Aug 22, 2013 10:23 pm

Re: Cannot connect to Serviio Server,

yes it was always in capitals. The log just doesn't work
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 14110

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Aug 22, 2013 11:18 pm

Re: Cannot connect to Serviio Server,

siriusblack wrote:
Private message zip + he will help you

Please don't, I'm only giving support via the forums so everybody can then use the information.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 14110

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Aug 22, 2013 11:21 pm

Re: Cannot connect to Serviio Server,

It looks like your library database is corrupted, so you will have to reinstall.
<<

Dred

Serviio newbie

Posts: 10

Joined: Wed Aug 21, 2013 8:38 pm

Post Fri Aug 23, 2013 8:30 am

Re: Cannot connect to Serviio Server,

ok I reinstalled it but lost all my media

Does anyone know a quicker way to put individual file/folderss in 'shared folders' rather than doing it one by one
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 14110

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Aug 23, 2013 10:40 am

Re: Cannot connect to Serviio Server,

I just share

d:\movies
d:\music

as the roots. No need to share folders of all your albums/movies separately

Return to Serviio Support & Help

Who is online

Users browsing this forum: Bing [Bot], birdie and 7 guests

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