Failed to startup TV Service (still there after a fresh Windows install!) (1 Viewer)

mastix

New Member
April 25, 2012
18
0
42
Home Country
Germany Germany
Hi guys,

I'm really frustrated now...

I had MP 1.2.3 (Single seat) up and running... everything was cool and worked as expected! And for some reason the TV server had some issues after some time... It was unable to startup/connect to the tv service.

Selection_059.png

Then I checked the hosts file and so on and everything was fine...

Windows tells me that the TV service was up and running...

Selection_060.png

So I re-installed the TV server... then the whole MP stuff... nothing!

So I did what I had to do... I reinstalled Windows (7/64Bit)!

Installed everything again... TV Server could connect to my local MySQL (5.5)... BUT then it told me that the TV service could not be started... ON MY FRESH INSTALLATION! :(

The error log says:

2012-04-27 10:38:09.373130 [SetupTv(1)]: Exception :confused:ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:31456

So I turned off the firewall... just to see if it's a port issue... still doesn't work... even after a restart.

In the tv.log it says:


2012-04-27 10:38:07.296011 [TVService(5)]: Controller: TVServer initialized okay
2012-04-27 10:38:07.298011 [TVService(5)]: TV Service: Load plugins
...
2012-04-27 10:38:07.348014 [TVService(5)]: TV service: Started
2012-04-27 10:38:07.367015 [SetupTv(1)]: RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
2012-04-27 10:38:09.371130 [SetupTv(1)]: ---- Unable to restart tv service----

When I look at the open port, I can't find the port mentioned in the stacktrage:

Selection_062.png

Do you have any ideas? As I've said before... it worked before...

Update: I've uninstalled MySQL and installed SQL Server Express... that didn't work either. The connection to the DB works (for both: MySQL and MSSQL)... but I cannot start that frickin' TV Server Config. :(

I've attached all the log files...

Regards,

MastiX
 
Last edited:

KoalaTNR

Portal Member
January 8, 2010
10
0
Search for TVService.exe. Exists an TVService.config or TVService.exe.config? If TVService.exe.config exists rename it to TVService.config
 

mastix

New Member
April 25, 2012
18
0
42
Home Country
Germany Germany
I've tried that as well. Do I have to restart my machine after changing that? Maybe I'll give it another try...

Before:
Selection_063.png

After:
Selection_064.png


I'm gonna restart my machine now... (but before I do that, I'm gonna stop the service manually).
 

KoalaTNR

Portal Member
January 8, 2010
10
0
2012-04-27 10:38:09.373130 [SetupTv(1)]: Exception :confused:ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:31456

Why you use 127.0.0.1?

Install telnet (It's not installed by default on Windows 7)

cmd> telnet 127.0.0.1:31456

Do you get a connection?
 

mastix

New Member
April 25, 2012
18
0
42
Home Country
Germany Germany
I've tried that before... port is not open... that's why I ran the netstat command to be sure... The service is started... but no open port.

I have a Single Seat setup... I don't want to stream over my router... so the tv client should talk to the server locally... I actually updated the host file so I'm using my computer's name... that might probably be an issue... maybe this causes a conflict?! Need to figure that out...
 

mastix

New Member
April 25, 2012
18
0
42
Home Country
Germany Germany
Ok... I'm one step closer... I've change my computer's name and restarted windows... Then I was able to telnet into 127.0.0.1 31456... BUT my SQL did not work anymore. :)

All I want to have is a setup that does NOT use my router's IP (192.168.0.4). MP should talk to the TV server using 127.0.0.1. How can this be achieved? For some reason the DB setup does not accept localhost or 127.0.0.1. :(
 

Users who are viewing this thread

Top Bottom