Is Windows 7 required for the MP-Server? (2 Viewers)

Albert

MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Is Windows 7 required for the MP-Server?

    Can you please check (and maybe attach here) the server's log file? It is located in C:\ProgramData\Team MediaPortal\MP2-Server\Log
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Re: AW: Is Windows 7 required for the MP-Server?

    Can you please check (and maybe attach here) the server's log file? It is located in C:\ProgramData\Team MediaPortal\MP2-Server\Log

    Is it not C:\Documents and settings\All Users\Application Data\Team MediaPortal\MP2-Server\Log on a XP/2003 ? ;)
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    Hm that's crazy, i thought i had added the log file to my latest post...

    Anyway here's the error(which also appears after installing IPv6)

    Code:
    [2011-05-03 21:32:50,062] [32359  ] [Main     ] [FATAL] - Error executing application
    System.Net.Sockets.SocketException: Ein ungültiges Argument wurde angegeben
       bei System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
       bei System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue)
       bei UPnP.Infrastructure.Dv.GENA.GENAServerController.InitializeGENAEndpoint(EndpointConfiguration config) in C:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\UPnP\Infrastructure\Dv\GENA\GENAServerController.cs:Zeile 259.
       bei UPnP.Infrastructure.Dv.UPnPServer.InitializeDiscoveryEndpoints() in C:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\UPnP\Infrastructure\Dv\UPnPServer.cs:Zeile 476.
       bei UPnP.Infrastructure.Dv.UPnPServer.Bind(Int32 advertisementInterval) in C:\Users\T.Lindener\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\UPnP\Infrastructure\Dv\UPnPServer.cs:Zeile 218.
       bei MediaPortal.Backend.Services.BackendServer.BackendServer.Startup() in C:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\MediaPortal.Backend\Services\BackendServer\BackendServer.cs:Zeile 155.
       bei MediaPortal.Backend.BackendExtension.StartupBackendServices() in C:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\MediaPortal.Backend\BackendExtension.cs:Zeile 72.
       bei MediaPortal.Server.ApplicationLauncher.Main(String[] args) in C:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Server\ApplicationLauncher.cs:Zeile 115.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Is Windows 7 required for the MP-Server?

    Mike, can you please check the new branch UPnP_IPv4_IPv6_Exception_Handlers? I added exception handlers for those situations where one of the two protocols is not installed.

    Btw, MP2 also supports a setting to switch off each of the IP protocols. But anyway it is not nice if it simply crashes, that's why I fixed the problem.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Re: AW: Is Windows 7 required for the MP-Server?

    Mike, can you please check the new branch UPnP_IPv4_IPv6_Exception_Handlers? I added exception handlers for those situations where one of the two protocols is not installed.

    Btw, MP2 also supports a setting to switch off each of the IP protocols. But anyway it is not nice if it simply crashes, that's why I fixed the problem.

    Hi Albert,

    I just checked by myself, two cases :

    IPv4 + IPv6 : Your patch basicly working, an error is still logged, but at least, the main MP2-Server window opens, and the server respond. I have to check now if streaming is ok, but with that f*****g old slow XP computer throught WLAN, for now the client just can't read the media. Maybe again a firewall setting problem just as before, again more tests needed.

    IPv4 only : Error message and the client freeze in background. "An address incompatible with the requested protocol was used" and I can't debug it more for now.

    See logs please.

    Cheers.

    Smeulf.
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    Hm, i tried to use the branch but it seems that the IPv6 protocol crashes the server... May be i should think about switching to another OS ;)

    edit:

    Here's the logfile, it seems Virtualbox was the reason why the server crashed..
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Is Windows 7 required for the MP-Server?

    Well, your logfile shows that the SQL CE database in the MP2 server could not be started. I don't know why.
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    Yeah, sorry for that... In shared folders are other security permissions active than on the server harddrive... Here's the correct error.
    Code:
    [2011-05-05 17:16:13,015] [5640   ] [Main     ] [FATAL] - Error executing application
    System.Net.Sockets.SocketException: Es wurde eine Adresse verwendet, die mit dem angeforderten Protokoll nicht kompatibel ist
       bei System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
       bei System.Net.Sockets.TcpListener..ctor(IPAddress localaddr, Int32 port)
       bei HttpServer.HttpListenerBase.Start(Int32 backlog) in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\HttpServer\HttpListenerBase.cs:Zeile 222.
       bei HttpServer.HttpServer.Start(IPAddress address, Int32 port) in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\HttpServer\HttpServer.cs:Zeile 730.
       bei MediaPortal.Core.Services.MediaManagement.ResourceServer.StartServers() in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\MediaPortal.Core\Services\MediaManagement\ResourceServer.cs:Zeile 93.
       bei MediaPortal.Core.Services.MediaManagement.ResourceServer.Startup() in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\MediaPortal.Core\Services\MediaManagement\ResourceServer.cs:Zeile 118.
       bei MediaPortal.Core.ApplicationCore.StartCoreServices() in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\System\MediaPortal.Core\ApplicationCore.cs:Zeile 107.
       bei MediaPortal.Server.ApplicationLauncher.Main(String[] args) in c:\Users\<username>\Documents\Programming\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Server\ApplicationLauncher.cs:Zeile 113.

    Is IPv6 mandatory for MP2-Server?
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Is Windows 7 required for the MP-Server?

    I just also added exception handlers around the code which starts and stops the HTTP servers for IPv4 and IPv6.
    I also renamed the branch to IPv4_IPv6_Exception_Handlers.
    Can you please check it again? Thanks!
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Re: AW: Is Windows 7 required for the MP-Server?

    I just also added exception handlers around the code which starts and stops the HTTP servers for IPv4 and IPv6.
    I also renamed the branch to IPv4_IPv6_Exception_Handlers.
    Can you please check it again? Thanks!

    Sorry, still freezing with ipv4 only.
     

    Users who are viewing this thread

    Top Bottom