Also putting on different Drive (X)
Motherboard: GA970A-ud3
AMD FX-4170
Video Asus HD 6670
Windows 7 64 Bit Serv. Pack 1 Home Premium
16 GB ram DDR3
TIA, Jeff
Tried Post
TV-Service fails to start with an Socket Exception
Reason:
False signatures (e.g. from Windows Defender see CNet news for details) might have caused an alteration of your %systemroot%\system32\drivers\etc\hosts file.
Solution:
Go to: C:\Windows\System32\drivers\etc
view sourceprint?
1127.0.0.1 localhost
2::1 localhost
- Open the hosts file with Notepad (On Vista and Windows 7 you might need to run Notepad in elevated mode by opening the start menu, start typing "Notepad" and press Ctrl+Shift+Enter).
- Make sure that the file contains at least these two lines.
- Save the file and reboot your PC (make sure that it does not get saved as hosts.txt).
Resolution:
- Navigate to the folder: C:\ProgramData\TeamMediaPortal\MediaPortal TV Server (note: ProgramData is a hidden folder)
- Open gentle.config with a text editor
- Search for the line which looks similar to:
1<DefaultProvider name="MySQL" connectionString="Server=localhost;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" />
- Change the red marked word above to:
1<DefaultProvider name="MySQL" connectionString="Server=<NameOfMyTVServer>;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" />
where <NameOfMyTVServer> is the name of your TVServer.
- Save the file
TV Client Issues
[ INFO] MediaPortal TV Server / Client installation
[ INFO] Logging started: 21.10.2013 11:28:36
[ INFO] installer version: 1.5.0.0
[ INFO] ============================================================================================
[ DEBUG ] FUNCTION .onInit
[ DEBUG ] commandline parameters: /S /noServer /DeployMode --DeployMode
[ INFO] TVServer/Client installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server
[ INFO] MediaPortal installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ERROR !!!] Loading MediaPortalDirectories from MyDocs failed. ('C:\Users\Jeff_64\Documents\Team MediaPortal\MediaPortalDirs.xml')
[ INFO] Trying to load from installation directory now.
[ INFO] Loaded MediaPortalDirectories from InstallDir successfully. ('C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortalDirs.xml')
[ INFO] Installer will use the following directories:
[ INFO] Base: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ INFO] Config: C:\ProgramData\Team MediaPortal\MediaPortal
[ INFO] Plugins: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins
[ INFO] Log: C:\ProgramData\Team MediaPortal\MediaPortal\Log
[ INFO] Skin: C:\ProgramData\Team MediaPortal\MediaPortal\Skin
[ INFO] Language: C:\ProgramData\Team MediaPortal\MediaPortal\Language
[ INFO] Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database
[ INFO] Thumbs: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs
[ INFO] Cache: C:\ProgramData\Team MediaPortal\MediaPortal\Cache
[ DEBUG ] FUNCTION .onSelChange
[ INFO] Prepare installation...
[ INFO] Backup Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)
[ DEBUG ] SecPrepare: DeployMode = 1 | UpdateMode = 0
[ INFO] !!!!!!!!!!!! the client is being installed, tv server was installed before, so the instdir shouldn't be renamed again
[ INFO] Installing MediaPortal TV Client plugin...
[ INFO] Terminating processes ...
[ INFO] KillProcess: MediaPortal.exe
[ INFO] KillProcess: MediaPortal.exe is not running.
[ INFO] KillProcess: configuration.exe
[ INFO] KillProcess: configuration.exe is not running.
[ INFO] MediaPortal Installed at: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ INFO] MediaPortalPlugins are at: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins
[ INFO] Doing post installation stuff...
[ INFO] Setting AccessRights to ProgramData dir and reg keys
[ INFO] Restore Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)
[ DEBUG ] FUNCTION .onInstSuccess
[ INFO] ============================================================================================
[ INFO] Logging stopped: 21.10.2013 11:28:40
[ INFO] installer version: 1.5.0.0
[ INFO] MediaPortal TV Server / Client installation
[2013-10-21 20:03:19,448] [Log ] [SetupTv ] [INFO ] - ---- SetupTv v1.5.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
[2013-10-21 20:03:19,461] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----
[2013-10-21 20:03:19,667] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL
[2013-10-21 20:03:19,668] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
[2013-10-21 20:03:19,676] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
[2013-10-21 20:03:19,678] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
[2013-10-21 20:03:19,832] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
[2013-10-21 20:03:23,838] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----
[2013-10-21 20:03:30,302] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----
[2013-10-21 20:03:30,310] [Log ] [SetupTv ] [ERROR] - Exception
Server stack trace:
at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvControl.IController.get_Cards()
at SetupTv.Startup.Main(String[] arguments)
[2013-10-21 20:03:24,357] [Log ] [4 ] [ERROR] - Exception
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at System.Net.Sockets.TcpListener.Start()
at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)
at TvService.TvServiceThread..ctor()
[2013-10-21 19:56:01,069] [Log ] [SetupTv ] [INFO ] - ---- SetupTv v1.5.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
[2013-10-21 19:56:01,081] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----
[2013-10-21 19:56:01,302] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL
[2013-10-21 19:56:01,303] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
[2013-10-21 19:56:01,312] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
[2013-10-21 19:56:01,313] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
[2013-10-21 19:56:01,464] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
[2013-10-21 19:56:05,477] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----
[2013-10-21 19:56:11,933] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----
[2013-10-21 19:56:11,941] [Log ] [SetupTv ] [ERROR] - Exception
Server stack trace:
at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvControl.IController.get_Cards()
at SetupTv.Startup.Main(String[] arguments)
Also tried system clean because I have tried to install before. I thought with the HD Prime firmware upgrade. Why would my computer be refusing the ip 192.168.0.103:31456 ?
Last edited: