[TVService] [ERROR] - Controller: sorry, master/slave server setups are not supported. (1 Viewer)

megahorst

Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    Hello,

    I see the following error message everyday after the server is started:
    Code:
    [2013-07-16 07:58:16,326] [Log	] [TVService] [ERROR] - Controller: sorry, master/slave server setups are not supported. Since there is already another server in the db, we exit here.
    Does anybody now what is the reason for this and how to solve this issue?
     

    Django.edwards

    Portal Pro
    October 22, 2009
    457
    54
    Eupen
    Belgium Belgium
    Country flag
    I think this could happen when you have more than 1 Server in your database. What do you have in your "Server" table of the database. Are These the same Settings than your live System has?
    In your tvservice.log the is an entry with: Controller: local ip address:127.0.0.1 You should update this with your real ip-adress Controller: local ip address:192.168.1.6 and not with localhost.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    I think this could happen when you have more than 1 Server in your database. What do you have in your "Server" table of the database. Are These the same Settings than your live System has?
    In your tvservice.log the is an entry with: Controller: local ip address:127.0.0.1 You should update this with your real ip-adress Controller: local ip address:192.168.1.6 and not with localhost.
    I have seen this too.
    I have configured the server as shown in the screenshoots.
    tv-server.png

    streaming-server.png


    Have I missed something?
     

    Django.edwards

    Portal Pro
    October 22, 2009
    457
    54
    Eupen
    Belgium Belgium
    Country flag
    No, this seems to be correct. In your case I would verify if your gentle.config is correct, meens that the 192.168.1.6 or the hostname tv-horst is noted as Server.
    If this is correct, take a look at the table "Server" in your mptvdb. There should be only 1 entry. Also with the correct ip-adress or the hostname. I think that you will have 2 entry. Delete the wrong one.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    In my gentle.config I see the following:
    Code:
     <DefaultProvider name="MySQL" connectionString="Server=TV-Horst;Database=MpTvDb;User ID=root;Password=save;charset=utf8;Connection Timeout=30;" />
    The server table hasa the following entry:
    Code:
    SELECT * FROM mptvdb.server;
     
    idServer=1
    isMaster=1
    hostName=192.168.1.6
    rtspPort=554
    nothing else
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Issue is this:
    [2013-07-16 07:58:16,264] [Log ] [TVService] [INFO ] - Controller: local ip address:127.0.0.1
    ...
    [2013-07-16 07:58:19,462] [Log ] [TVService] [INFO ] - Controller: local ip address:192.168.1.6
    Your network adaptor is not loaded completely (or has not been assigned an IP address) when the TV service is starting.
     
    Last edited:

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    Your network adaptor is not loaded completely (or has not been assigned an IP address) when the TV service is starting.
    Thx!
    Is this something special with my server?
    Should I leave it as it is?
    Would it not be better to start the servicec after the network is up and running?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    If you check the service configuration, the TVService should already depend on the network service and your database service (either MySQL or SQL Server). In other words, the TV service should be waiting for the network to be up already... so maybe it is just the IP address that is the issue.

    Does your server have a static IP address? This is very highly recommended... :)
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    If you check the service configuration, the TVService should already depend on the network service and your database service (either MySQL or SQL Server). In other words, the TV service should be waiting for the network to be up already... so maybe it is just the IP address that is the issue.
    The dependencies in the service configurations are there.

    Does your server have a static IP address? This is very highly recommended...
    I have done this within the dhcp server (set leasetime to endless)
    I will change this and set the ip directly in the lan interface config within windows.

    Does anybody have some experiences with the delayed start option of windows services?
    This could be a solution too if my understanding of this feature is correct ...
    automatic start of a service -> starting during boot process
    automatic (delayed start) -> start shortly after boot
     

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

    OP Similar threads Forum Replies Date
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    T [solved] failed to-startup tvservice Installation, configuration support 1
    D TVService Probleme - getCards() Installationsprobleme? 1
    Requiem TVService stops Television (MyTV frontend and TV-Server) 4
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 1
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 7
    G [solved] timeshift error Newcomers Forum 2
    C Can't install any extensions - DLL error Installation, configuration support 19
    horned_reaper Errors in FH log ... Fanart Handler 1
    joecrow 1.25.0 5031: Error on Install. Bugreports 24
    M MediaPortal2 TV Config Error on Install (0x80004005) General 7
    J Blue Screen Error Submit: Bug Reports 0
    G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
    Rob Hexenmeister Dependency error on install v2.3.2.0 OnlineVideos 28
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    F Error invoking action 'GetNowNextProgramForGroup' Submit: Bug Reports 3
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    doskabouter Build errors MediaPortal 1 9
    ajs Trakt error when start with MP crash Trakt 1
    horned_reaper MediaPortal configuration error log message General Support 1
    horned_reaper MiniDisplayStatus error log messages General Support 7
    horned_reaper [solved] GUITextureManager Load2 log error messages Fanart Handler 1
    horned_reaper MediaPortal.LastFM.LastFMException error log message General Support 1
    Similar threads

























    Top Bottom