home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
New Install TV Server start error
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jeff1001" data-source="post: 1035226" data-attributes="member: 144464"><p>[ATTACH=full]137878[/ATTACH]</p><p> </p><p>Also putting on different Drive (X)</p><p>Motherboard: GA970A-ud3</p><p>AMD FX-4170</p><p>Video Asus HD 6670</p><p>Windows 7 64 Bit Serv. Pack 1 Home Premium</p><p>16 GB ram DDR3</p><p> </p><p>TIA, Jeff</p><p>Tried Post</p><p><span style="font-size: 15px"><strong>TV-Service fails to start with an Socket Exception</strong></span></p><p><strong>Reason:</strong></p><p>False signatures (e.g. from Windows Defender see <a href="http://forums.cnet.com/5208-6132_102-0.html?threadID=334042" target="_blank"><u>CNet news</u></a> for details) might have caused an alteration of your %systemroot%\system32\drivers\etc\hosts file.</p><p><strong>Solution:</strong></p><p>Go to: C:\Windows\System32\drivers\etc</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource" target="_blank"><u>view source</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource" target="_blank"><u>print</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about" target="_blank"><u>?</u></a></p><p>1127.0.0.1 localhost</p><p>2::1 localhost</p><ol> <li data-xf-list-type="ol">Open the <strong>hosts</strong> 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).</li> <li data-xf-list-type="ol">Make sure that the file contains at least these two lines.</li> <li data-xf-list-type="ol">Save the file and reboot your PC (make sure that it does not get saved as hosts.txt).</li> </ol><p>AndNo MySQL database connection (client/server)</p><p> </p><p><strong>Resolution:</strong></p><ol> <li data-xf-list-type="ol">Navigate to the folder: C:\ProgramData\TeamMediaPortal\MediaPortal TV Server (note: ProgramData is a hidden folder)</li> <li data-xf-list-type="ol">Open gentle.config with a text editor</li> <li data-xf-list-type="ol">Search for the line which looks similar to:</li> </ol><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource" target="_blank"><u>view source</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource" target="_blank"><u>print</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about" target="_blank"><u>?</u></a></p><p>1<DefaultProvider name="MySQL" connectionString="Server=localhost;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" /></p><ol> <li data-xf-list-type="ol">Change the red marked word above to:</li> </ol><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource" target="_blank"><u>view source</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource" target="_blank"><u>print</u></a><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about" target="_blank"><u>?</u></a></p><p>1<DefaultProvider name="MySQL" connectionString="Server=<NameOfMyTVServer>;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" /></p><p>where <NameOfMyTVServer> is the name of your TVServer.</p><ol> <li data-xf-list-type="ol">Save the file</li> </ol><p>If this does not help and you still don't get a database connection look for the gentle.config in C:\ProgramData\Team MediaPortal\MediaPortal on <strong>client side </strong>and redo the steps above.</p><p><span style="font-size: 18px"><strong>TV Client Issues</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] MediaPortal TV Server / Client installation</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Logging started: 21.10.2013 11:28:36</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] installer version: 1.5.0.0</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] ============================================================================================</strong></span></p><p><span style="font-size: 18px"><strong>[ DEBUG ] FUNCTION .onInit</strong></span></p><p><span style="font-size: 18px"><strong>[ DEBUG ] commandline parameters: /S /noServer /DeployMode --DeployMode</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] TVServer/Client installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] MediaPortal installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal</strong></span></p><p><span style="font-size: 18px"><strong>[ERROR !!!] Loading MediaPortalDirectories from MyDocs failed. ('C:\Users\Jeff_64\Documents\Team MediaPortal\MediaPortalDirs.xml')</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Trying to load from installation directory now.</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Loaded MediaPortalDirectories from InstallDir successfully. ('C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortalDirs.xml')</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Installer will use the following directories:</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Base: C:\Program Files (x86)\Team MediaPortal\MediaPortal</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Config: C:\ProgramData\Team MediaPortal\MediaPortal</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Plugins: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Log: C:\ProgramData\Team MediaPortal\MediaPortal\Log</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Skin: C:\ProgramData\Team MediaPortal\MediaPortal\Skin</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Language: C:\ProgramData\Team MediaPortal\MediaPortal\Language</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Thumbs: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Cache: C:\ProgramData\Team MediaPortal\MediaPortal\Cache</strong></span></p><p><span style="font-size: 18px"><strong>[ DEBUG ] FUNCTION .onSelChange</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Prepare installation...</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Backup Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)</strong></span></p><p><span style="font-size: 18px"><strong>[ DEBUG ] SecPrepare: DeployMode = 1 | UpdateMode = 0</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] !!!!!!!!!!!! the client is being installed, tv server was installed before, so the instdir shouldn't be renamed again</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Installing MediaPortal TV Client plugin...</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Terminating processes ...</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] KillProcess: MediaPortal.exe</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] KillProcess: MediaPortal.exe is not running.</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] KillProcess: configuration.exe</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] KillProcess: configuration.exe is not running.</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] MediaPortal Installed at: C:\Program Files (x86)\Team MediaPortal\MediaPortal</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] MediaPortalPlugins are at: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Doing post installation stuff...</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Setting AccessRights to ProgramData dir and reg keys</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Restore Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)</strong></span></p><p><span style="font-size: 18px"><strong>[ DEBUG ] FUNCTION .onInstSuccess</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] ============================================================================================</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] Logging stopped: 21.10.2013 11:28:40</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] installer version: 1.5.0.0</strong></span></p><p><span style="font-size: 18px"><strong>[ INFO] MediaPortal TV Server / Client installation</strong></span></p><p><span style="font-size: 18px"><strong>[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]</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,461] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,667] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,668] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,676] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,678] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:19,832] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:23,838] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:30,302] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:30,310] [Log ] [SetupTv ] [ERROR] - Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.0.103:31456</strong></span></p><p><span style="font-size: 18px"><strong>Server stack trace: </strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)</strong></span></p><p><span style="font-size: 18px"><strong>Exception rethrown at [0]: </strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</strong></span></p><p><span style="font-size: 18px"><strong> at TvControl.IController.get_Cards()</strong></span></p><p><span style="font-size: 18px"><strong> at SetupTv.Startup.Main(String[] arguments)</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 20:03:24,357] [Log ] [4 ] [ERROR] - Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted</strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.Socket.Bind(EndPoint localEP)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.TcpListener.Start(Int32 backlog)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.TcpListener.Start()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)</strong></span></p><p><span style="font-size: 18px"><strong> --- End of inner exception stack trace ---</strong></span></p><p><span style="font-size: 18px"><strong> at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)</strong></span></p><p><span style="font-size: 18px"><strong> at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)</strong></span></p><p><span style="font-size: 18px"><strong> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)</strong></span></p><p><span style="font-size: 18px"><strong> at TvService.TvServiceThread..ctor()</strong></span></p><p><span style="font-size: 18px"><strong>[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]</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,081] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,302] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,303] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,312] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,313] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:01,464] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:05,477] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:11,933] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----</strong></span></p><p><span style="font-size: 18px"><strong>[2013-10-21 19:56:11,941] [Log ] [SetupTv ] [ERROR] - Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.0.103:31456</strong></span></p><p><span style="font-size: 18px"><strong>Server stack trace: </strong></span></p><p><span style="font-size: 18px"><strong> at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)</strong></span></p><p><span style="font-size: 18px"><strong>Exception rethrown at [0]: </strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</strong></span></p><p><span style="font-size: 18px"><strong> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</strong></span></p><p><span style="font-size: 18px"><strong> at TvControl.IController.get_Cards()</strong></span></p><p><span style="font-size: 18px"><strong> at SetupTv.Startup.Main(String[] arguments)</strong></span></p><p><strong>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 ?</strong></p></blockquote><p></p>
[QUOTE="Jeff1001, post: 1035226, member: 144464"] [ATTACH=full]137878[/ATTACH] 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 [SIZE=4][B]TV-Service fails to start with an Socket Exception[/B][/SIZE] [B]Reason:[/B] False signatures (e.g. from Windows Defender see [URL='http://forums.cnet.com/5208-6132_102-0.html?threadID=334042'][U]CNet news[/U][/URL] for details) might have caused an alteration of your %systemroot%\system32\drivers\etc\hosts file. [B]Solution:[/B] Go to: C:\Windows\System32\drivers\etc [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource'][U]view source[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource'][U]print[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about'][U]?[/U][/URL] 1127.0.0.1 localhost 2::1 localhost [LIST=1] [*]Open the [B]hosts[/B] 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). [/LIST] AndNo MySQL database connection (client/server) [B]Resolution:[/B] [LIST=1] [*]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: [/LIST] [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource'][U]view source[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource'][U]print[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about'][U]?[/U][/URL] 1<DefaultProvider name="MySQL" connectionString="Server=localhost;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" /> [LIST=1] [*]Change the red marked word above to: [/LIST] [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#viewSource'][U]view source[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#printSource'][U]print[/U][/URL][URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/Known_Issues#about'][U]?[/U][/URL] 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. [LIST=1] [*]Save the file [/LIST] If this does not help and you still don't get a database connection look for the gentle.config in C:\ProgramData\Team MediaPortal\MediaPortal on [B]client side [/B]and redo the steps above. [SIZE=5][B]TV Client Issues[/B] [B][ INFO] MediaPortal TV Server / Client installation[/B] [B][ INFO] Logging started: 21.10.2013 11:28:36[/B] [B][ INFO] installer version: 1.5.0.0[/B] [B][ INFO] ============================================================================================[/B] [B][ DEBUG ] FUNCTION .onInit[/B] [B][ DEBUG ] commandline parameters: /S /noServer /DeployMode --DeployMode[/B] [B][ INFO] TVServer/Client installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server[/B] [B][ INFO] MediaPortal installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal[/B] [B][ERROR !!!] Loading MediaPortalDirectories from MyDocs failed. ('C:\Users\Jeff_64\Documents\Team MediaPortal\MediaPortalDirs.xml')[/B] [B][ INFO] Trying to load from installation directory now.[/B] [B][ INFO] Loaded MediaPortalDirectories from InstallDir successfully. ('C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortalDirs.xml')[/B] [B][ INFO] Installer will use the following directories:[/B] [B][ INFO] Base: C:\Program Files (x86)\Team MediaPortal\MediaPortal[/B] [B][ INFO] Config: C:\ProgramData\Team MediaPortal\MediaPortal[/B] [B][ INFO] Plugins: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins[/B] [B][ INFO] Log: C:\ProgramData\Team MediaPortal\MediaPortal\Log[/B] [B][ INFO] Skin: C:\ProgramData\Team MediaPortal\MediaPortal\Skin[/B] [B][ INFO] Language: C:\ProgramData\Team MediaPortal\MediaPortal\Language[/B] [B][ INFO] Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database[/B] [B][ INFO] Thumbs: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs[/B] [B][ INFO] Cache: C:\ProgramData\Team MediaPortal\MediaPortal\Cache[/B] [B][ DEBUG ] FUNCTION .onSelChange[/B] [B][ INFO] Prepare installation...[/B] [B][ INFO] Backup Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)[/B] [B][ DEBUG ] SecPrepare: DeployMode = 1 | UpdateMode = 0[/B] [B][ INFO] !!!!!!!!!!!! the client is being installed, tv server was installed before, so the instdir shouldn't be renamed again[/B] [B][ INFO] Installing MediaPortal TV Client plugin...[/B] [B][ INFO] Terminating processes ...[/B] [B][ INFO] KillProcess: MediaPortal.exe[/B] [B][ INFO] KillProcess: MediaPortal.exe is not running.[/B] [B][ INFO] KillProcess: configuration.exe[/B] [B][ INFO] KillProcess: configuration.exe is not running.[/B] [B][ INFO] MediaPortal Installed at: C:\Program Files (x86)\Team MediaPortal\MediaPortal[/B] [B][ INFO] MediaPortalPlugins are at: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins[/B] [B][ INFO] Doing post installation stuff...[/B] [B][ INFO] Setting AccessRights to ProgramData dir and reg keys[/B] [B][ INFO] Restore Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)[/B] [B][ DEBUG ] FUNCTION .onInstSuccess[/B] [B][ INFO] ============================================================================================[/B] [B][ INFO] Logging stopped: 21.10.2013 11:28:40[/B] [B][ INFO] installer version: 1.5.0.0[/B] [B][ INFO] MediaPortal TV Server / Client installation[/B] [B][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][/B] [B][2013-10-21 20:03:19,461] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----[/B] [B][2013-10-21 20:03:19,667] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL[/B] [B][2013-10-21 20:03:19,668] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----[/B] [B][2013-10-21 20:03:19,676] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----[/B] [B][2013-10-21 20:03:19,678] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----[/B] [B][2013-10-21 20:03:19,832] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1[/B] [B][2013-10-21 20:03:23,838] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----[/B] [B][2013-10-21 20:03:30,302] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----[/B] [B][2013-10-21 20:03:30,310] [Log ] [SetupTv ] [ERROR] - Exception :confused:ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.0.103:31456[/B] [B]Server stack trace: [/B] [B] at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()[/B] [B] at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)[/B] [B] at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)[/B] [B]Exception rethrown at [0]: [/B] [B] at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)[/B] [B] at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)[/B] [B] at TvControl.IController.get_Cards()[/B] [B] at SetupTv.Startup.Main(String[] arguments)[/B] [B][2013-10-21 20:03:24,357] [Log ] [4 ] [ERROR] - Exception :confused:ystem.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted[/B] [B] at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)[/B] [B] at System.Net.Sockets.Socket.Bind(EndPoint localEP)[/B] [B] at System.Net.Sockets.TcpListener.Start(Int32 backlog)[/B] [B] at System.Net.Sockets.TcpListener.Start()[/B] [B] at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)[/B] [B] --- End of inner exception stack trace ---[/B] [B] at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)[/B] [B] at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)[/B] [B] at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)[/B] [B] at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)[/B] [B] at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)[/B] [B] at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)[/B] [B] at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)[/B] [B] at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.[/B] [B] at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)[/B] [B] at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)[/B] [B] at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)[/B] [B] at TvService.TvServiceThread..ctor()[/B] [B][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][/B] [B][2013-10-21 19:56:01,081] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----[/B] [B][2013-10-21 19:56:01,302] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL[/B] [B][2013-10-21 19:56:01,303] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----[/B] [B][2013-10-21 19:56:01,312] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----[/B] [B][2013-10-21 19:56:01,313] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----[/B] [B][2013-10-21 19:56:01,464] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1[/B] [B][2013-10-21 19:56:05,477] [Log ] [SetupTv ] [INFO ] - ---- restart tvservice----[/B] [B][2013-10-21 19:56:11,933] [Log ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----[/B] [B][2013-10-21 19:56:11,941] [Log ] [SetupTv ] [ERROR] - Exception :confused:ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.0.103:31456[/B] [B]Server stack trace: [/B] [B] at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()[/B] [B] at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()[/B] [B] at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)[/B] [B] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)[/B] [B] at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)[/B] [B]Exception rethrown at [0]: [/B] [B] at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)[/B] [B] at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)[/B] [B] at TvControl.IController.get_Cards()[/B] [B] at SetupTv.Startup.Main(String[] arguments)[/B][/SIZE] [B]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 ?[/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
New Install TV Server start error
Contact us
RSS
Top
Bottom