pls post a screenshot of your TVServer config as here http://wiki.team-mediaportal.com/1_...uration/TV-Server_Configuration/02_TV_Servers so we can see what ip address or host name is configured there
Solution: delay the start of the TV service until your network adaptor has received the IP address.
try to set dependency on netman for your sql server
and then set dependency on SQL for TVServer
"Automatic(delayed)" variant also should be set for TVServer
test it first.But this will probably result in longer starting procedure
New Zealand
Yes, the dependency on Netman is meant to ensure that the IP address has been assigned before the TV service will start. I can't understand why it would take so long for an IP address to be assigned - especially if you've set a static IP address. Something seems really wrong there.Tested this Workaround and it seems to work. But now TV-Service is needing nearly 4 Minutes to start after reboot, instead of 1 Minute on default Setting.
I would try another dependency, but as far I understand "Netman" Service is responsible for the ip. And on this Service a dependency is allready set.
use xPerf for this if you want to see what prevents fast start
[2014-02-06 23:10:51,605] [Log ] [PS StandbyWakeup] [DEBUG] - PS: LoadSettings()
[2014-02-06 23:11:15,722] [Log ] [PS StandbyWakeup] [INFO ] - Tvservice stopped due to an unhandled app domain exception Error: DatabaseUnavailableUnclassified
Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached.
Check the connection string: Server=TV-Server;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30; ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Eine Ausnahme vom Typ "System.Exception" wurde ausgelöst.
bei MySql.Data.MySqlClient.NativeDriver.Open()
--- Ende der internen Ausnahmestapelüberwachung ---
bei MySql.Data.MySqlClient.NativeDriver.Open()
bei MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
bei MySql.Data.MySqlClient.MySqlPool.CheckoutConnection()
bei MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
bei MySql.Data.MySqlClient.MySqlPool.GetConnection()
bei MySql.Data.MySqlClient.MySqlConnection.Open()
bei Gentle.Provider.MySQL.MySQLProvider.GetConnection()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
bei Gentle.Provider.MySQL.MySQLProvider.GetConnection()
bei Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)
bei TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
bei TvEngine.PowerScheduler.PowerScheduler.LoadSettings()
bei TvEngine.PowerScheduler.PowerScheduler.StandbyWakeupThread()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Eine Ausnahme vom Typ "System.Exception" wurde ausgelöst.
bei MySql.Data.MySqlClient.NativeDriver.Open()
bei MySql.Data.MySqlClient.NativeDriver.Open()
bei MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
bei MySql.Data.MySqlClient.MySqlPool.CheckoutConnection()
bei MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
bei MySql.Data.MySqlClient.MySqlPool.GetConnection()
bei MySql.Data.MySqlClient.MySqlConnection.Open()
bei Gentle.Provider.MySQL.MySQLProvider.GetConnection()System.Exception: Eine Ausnahme vom Typ "System.Exception" wurde ausgelöst.
bei MySql.Data.MySqlClient.NativeDriver.Open()
[2014-02-06 23:11:16,393] [Log ] [TVService] [INFO ] - TvService is being stopped
[2014-02-06 23:11:16,814] [Log ] [TVService] [INFO ] - TV Service: stopping
[2014-02-06 23:11:16,814] [Log ] [TVService] [INFO ] - TV Service: Stop plugins
[2014-02-06 23:11:16,814] [Log ] [TVService] [INFO ] - PS: Stopping PowerScheduler server plugin...
[2014-02-06 23:11:18,296] [Log ] [scheduler thread] [ERROR] - RecordingDetail: exception occured Error: DatabaseUnavailableUnclassified
if you want it - i can give you xperf setup only, 21MB1,7 GB download for using a little boot protocol tool?
MySQL is either crashed or not started yet. Nothing to do with MP itself.The database backend (provider MySQL) could not be reached.
if you want it - i can give you xperf setup only, 21MB
MySQL is either crashed or not started yet. Nothing to do with MP itself.