New User; TV Service Won't Start

imbs

Portal Member
August 19, 2013
9
1
43
Home Country
United States of America United States of America
I apologize in advance if I appear clueless. I've been a programmer for many many years but seem to have the worst luck with computers.

Just installed MediaPortal (for single-seat operation, i.e. install both server and client) and I can't get it to work. The installation said it completed ok, but when I run the configuration utility, TV/Radio TV-Server settings it says "Unable to get data from TV server on host "MyComputer". Sure enough, the TVService isn't running. It appears in the list of available services but is not running. If I try to start it manually I get a long delay then an error message: Error 1053: The service did not respond to the start or control request in a timely fashion.

I tried starting the TV-Server Configuration and after a long delay I got a message box:
Failed to startup tvserviceSystem.Runtime.Remoting.RemotingException: Requested Service not found

Server stack trace:
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

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)

I don't see anything notable in the Windows event logs.

Running Windows 7 Ultimate 64-bit SP1 Pentium D 3.40 GHz 8Gb RAM, Drive C: 32Gb SSD, Drive D: 750Gb
Hauppage WinTV-HVR-2250 dual analog/digital tuner card with latest drivers installed
Windows Media Center NOT 'enabled'
 

mm1352000
Country flag

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,541
    113
    Home Country
    New Zealand New Zealand
    Hello and welcome imbs :)

    Could you please post the server log files. Hopefully they'll have more detail about what is going on:
    1. Open Windows Explorer
    2. Copy+paste c:\ProgramData\Team MediaPortal\MediaPortal TV Server\logs\ into the address bar.
    3. Zip up all the files you find there, and post/attach the zip file here.
    Cheers,
    mm
     

    imbs

    Portal Member
    August 19, 2013
    9
    1
    43
    Home Country
    United States of America United States of America
    Oh, cool... The "c:\Program Files\MySQL\MySQL Server 5.1" directory is EMPTY. Obviously it failed to install. I will fix that and see what Murphy throws at me next ;->

    Thanks!!![DOUBLEPOST=1376911017][/DOUBLEPOST]Hang on... To save space I had installed MySQL on drive D:, so it actually did get installed, and mysqld is running.

    Did the database check (in D: drive MySQL directory), results:
    Code:
     5:15:17 D:\Apps\MySQL\MySQL Server 5.1\bin>mysqlcheck mptvdb --auto-repair -e -u root -p
    Enter password: ***********
    mptvdb.canceledschedule							OK
    mptvdb.card
    warning  : 2 clients are using or haven't closed the table properly
    status  : OK
    mptvdb.cardgroup								  OK
    mptvdb.cardgroupmap								OK
    mptvdb.channel									OK
    mptvdb.channelgroup
    warning  : 1 client is using or hasn't closed the table properly
    status  : OK
    mptvdb.channellinkagemap						  OK
    mptvdb.channelmap
    warning  : 2 clients are using or haven't closed the table properly
    status  : OK
    mptvdb.conflict									OK
    mptvdb.diseqcmotor								OK
    mptvdb.favorite									OK
    mptvdb.groupmap
    warning  : 2 clients are using or haven't closed the table properly
    status  : OK
    mptvdb.history									OK
    mptvdb.keyword									OK
    mptvdb.keywordmap								  OK
    mptvdb.pendingdeletion							OK
    mptvdb.personaltvguidemap						  OK
    mptvdb.program									OK
    mptvdb.radiochannelgroup						  OK
    mptvdb.radiogroupmap							  OK
    mptvdb.recording								  OK
    mptvdb.satellite								  OK
    mptvdb.schedule									OK
    mptvdb.server
    warning  : 1 client is using or hasn't closed the table properly
    status  : OK
    mptvdb.setting
    warning  : 2 clients are using or haven't closed the table properly
    status  : OK
    mptvdb.softwareencoder							OK
    mptvdb.timespan									OK
    mptvdb.tuningdetail
    warning  : 4 clients are using or haven't closed the table properly
    error	: Size of datafile is: 59040		Should be: 59112
    error	: Corrupt
    mptvdb.tvmoviemapping							  OK
    mptvdb.version
    warning  : 1 client is using or hasn't closed the table properly
    status  : OK
     
    Repairing tables
    mptvdb.tuningdetail
    warning  : Number of rows changed from 696 to 695
    status  : OK
     
    5:15:28 D:\Apps\MySQL\MySQL Server 5.1\bin>
    Maybe MP is hard coded for C: drive?

    Ack! tuningdetail size is wrong. Did this command fix it or is there a next step I should try?
     
    Last edited:

    Vasilich
    Country flag

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,392
    113
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Check the connection string: Server=DC7700;Database=MpTvDb;User ID=root;Password=********;charset=utf8;Connection Timeout=30; ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: No such host is known
    is MySQL service started? does your PC has name DC7700 ?
     

    imbs

    Portal Member
    August 19, 2013
    9
    1
    43
    Home Country
    United States of America United States of America
    Yes, mysqld service is running, local machine name is DC7700.

    I've tried using machine name of 127.0.0.1 but no change.[DOUBLEPOST=1376912122][/DOUBLEPOST]Oh! After a reboot TV Server Configuration now comes up. Shows Hauppuage card and 682 channels. Maybe it is working now... Lemme check to see if I can actually watch something.[DOUBLEPOST=1376912976][/DOUBLEPOST]Hmmm. Now I must have an antenna problem. Scan for channels in TV Server config says signal strength is zero.

    I am using a flat Digital antenna that looks like a mouse pad with a coax cable coming off of it (not connected to cable company). I know the antenna works because I tried it on a different computer/different TV tuner. The antenna is up in my window so I would expect to receive _something_, but zero on both tuners (it's a dual tuner card), both analog and digital. I have another Hauppuage card; maybe I will swap it and see if the problem remains.
     
    Last edited:

    RonD
    Country flag

    Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    63
    SillyValley CA
    Home Country
    United States of America United States of America
    imbs,

    Since you are using a HVR-2250 card, if you are seeing "No Signal" errors try changing the Preferred Network Provider to "generic". See the following message/thread for more info

    https://forum.team-mediaportal.com/threads/tv-server-setup-scanning-channels-no-signal.116336/#post-963385

    Since you are in the USA you can use http://www.tvfool.com/ to check what stations are in your area, distance, direction, expected signal strength. Scroll down to where it shows "click here", click. You need to at least enter your zipcode. If you enter your address it will use your actual location. This could be important if you are in a hilly area.
     
    Last edited:

    mm1352000
    Country flag

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,541
    113
    Home Country
    New Zealand New Zealand
    Looks like some progress. :)

    Ack! tuningdetail size is wrong. Did this command fix it or is there a next step I should try?
    It fixed it. Next step is to check out RonD's advice. :)
     

    imbs

    Portal Member
    August 19, 2013
    9
    1
    43
    Home Country
    United States of America United States of America
    Okay. As mm1352000 says, repairing the database fixed the service not starting problem.

    Unfortunately, the hybrid tuner card setup instructions RonD pointed me to didn't improve the zero signal strength issue. The only provider option available was 'generic' and after creating two tuner groups with the matching pairs of analog/digital 0 and analog/digital 1 tuners it still has a signal strength of zero on both.

    According to TVFool I am roughly 30 miles from many local broadcasters and should see signal strengths of -37 to -51 dB (in the TVFool 'green zone') on 19 different channels.

    Also downloaded and ran the Hauppauge Digital Signal Quality tool and it shows zero SNR/zero signal for both tuner cards. I have a third 2250 in an unopened bag but I figure it must be a configuration issue so I won't crack that open except as a last resort.

    These tuners came out of an HTPC that I used for years which I recently 'upgraded' to a four-tuner Ceton InfiniTV Cable Card (different machine), thanks to Comcast encrypting all their digital signals in my area. Thus the experimenting with the old tuners and OTA stations/antenna. WANT TO DUMP COMCAST. And Windows MCE... have had gobs of heartburn with that too.

    I seem to bring out the worst in hardware/software. I should hire myself out as a computer 'cooler' (like a casino cooler only for technology). I can make _anything_ fail without even trying ;->

    I will try turning the machine completely off then restarting (I think I've done that at least once already though). If that doesn't work I guess I'll try a full uninstall of MP and reinstall. I really doubt that will help because I sincerely doubt the problem has anything to do with MP.

    Oh, yeah... And just for further torture I will probably enable Windows MCE and see if _it_ has any luck tuning in...

    Wish me luck me 'earty's!!
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom