问题 VMM is not starting anymore

  • 31 พฤษภาคม 2555 4:02
     
     

    Hi,

    we use 5 hyperv 2008r2 hosts. On separate physical server we have 2008r2 VMM console installed. During the weekend we had disaster as one Shared Volume disk failled and it was problems before I could take this disk back online. Before this I could start VMM, but service was failling after some time. Now I can not even start the VMM service. Hyper-v seems works fine and all VMs are online. I get error:

    EventID 1
    System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:8100.  Make sure that you are not trying to use this endpoint multiple times in your application and that there are no other applications listening on this endpoint. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
       at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Bind(EndPoint localEP)
       at System.ServiceModel.Channels.SocketConnectionListener.Listen()
       --- End of inner exception stack trace ---
       at System.ServiceModel.Channels.SocketConnectionListener.Listen()
       at System.ServiceModel.Channels.BufferedConnectionListener.Listen()
       at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
       at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
       at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
       at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at Microsoft.VirtualManager.Engine.Remoting.IndigoServiceHost.Start()
       at Microsoft.VirtualManager.Engine.VirtualManagerService.OnStart(String[] args)-2146233087

    EventID 1
    System.ObjectDisposedException: Safe handle has been closed
       at System.StubHelpers.StubHelpers.SafeHandleC2NHelper(Object pThis, IntPtr pCleanupWorkList)
       at Microsoft.VirtualManager.SQM.SqmApiWrapper.SetIfMax(HSQMSESSION hSession, UInt32 dwId, UInt32 dwVal)
       at Microsoft.VirtualManager.SQM.SQMSession.SetIfMax(DataPointID dataPointID, UInt32 Value)
       at Microsoft.VirtualManager.Engine.BitBos.SqmHelper.RecordDailyUIInformation(SQMSession sqmSession)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at Microsoft.VirtualManager.Engine.SqmRefresher.RefreshEngineData()
       at Microsoft.VirtualManager.Engine.SqmRefresher.RefreshData(SQMSessionManager manager)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2146232798

    EventID 19999
    Virtual Machine Manager (vmmservice:4020) has encountered an error and needed to exit the process. Windows generated an error report with the following parameters:
    Event:VMM20
    P1(appName):vmmservice
    P2(appVersion):2.0.4521.0
    P3(assemblyName):System
    P4(assemblyVer):2.0.50727.4220
    P5(methodName):S.N.S.Socket.DoBind
    P6(exceptionType):S.ServiceModel.AddressAlreadyInUseException
    P7(callstackHash):e19

    is anything I could do to get it work?

    thanks
    n




    • แก้ไขโดย natip 31 พฤษภาคม 2555 4:19
    •  

ตอบทั้งหมด

  • 31 พฤษภาคม 2555 11:42
     
     

    Hi, It looks that other processes are using VMM ports

    please run:

    netstat -nab

    command check the ports the your machine is using and if any of the processes are using VMM ports (8100)

    http://virtualisationandmanagement.wordpress.com/2011/06/07/scvmm-2008-ports-and-protocols/


    Hikmat Kanaan Amman-Jordan MCSE

  • 1 มิถุนายน 2555 10:31
     
     

    Hello Natip,

    Can you check and apply for the following workaround?

    http://support.microsoft.com/kb/969269

    Workaround

    The workaround options at this point can be:
    1. Update the network card drivers in the hope that it resets the names.
    2. Avoid binding virtual networks to either of the duplicate NICs.
    3. Disable all but one of the duplicate NICs on the host.
    4. Disable host refresh and only do on-demand refresh (for all hosts but the affected one).
    5. Don’t manage the host with VMM.
    Note Another potential cause has been reported that if the Host has NIC teaming enabled this issue can occur.

    Sincerely,

    Murat Demirkiran


    If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.

  • 1 มิถุนายน 2555 10:34
     
     

    Secondly if first one is not helping to solve your problem, you can try;

    (before doing this , please backup your database for any problems)

    update dbo.tbl_VMM_GlobalSetting set PropertyValue=NULL where propertyName='LastSQMEngineRefreshTime'

    Sincerely,

    Murat Demirkiran


    If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.


    • แก้ไขโดย Murat Demirkiran 1 มิถุนายน 2555 10:34 Update
    •  
  • 4 มิถุนายน 2555 10:31
     
     

    I run the command:

    [svchost.exe]
     TCP    [::]:8100              [::]:0                 LISTENING

  • 4 มิถุนายน 2555 11:13
     
     

    Hi Murat,

    I was using VVM before, but it was crashing, just now I am not able even to start it.

    And how to do this?
    Disable host refresh and only do on-demand refresh (for all hosts but the affected one).

    thank you,

  • 4 มิถุนายน 2555 11:20
     
     

    Hello Natip,

    Did you check for the KB?

    "This issue occurs if the Virtual Machine Manager Server or Hyper-V host that's being managed by Virtual Machine Manager is reporting 2 NICs with the same name. This issue is a known bug that will be corrected in the next version of VMM. "

    Can you step by step try the workaround and resolution parts.

    Do you have teaming?

    How many ethernet cards are connected or do you have ethernets which are unassigned but also enabled?

    Refreshes done by VMM as Job.

    If VMM Service is not running on the VMM Management Server, it will not refresh.


    If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.

  • 4 มิถุนายน 2555 11:44
     
     

    Hi,

    Is your VMM server a Virtual machine or Physical ?


    Hikmat Kanaan Amman-Jordan MCSE

  • 4 มิถุนายน 2555 18:17
     
     

    no we dont have teaming, only one nic and it is physical not clustered server. I rebooted server and now I can start VMM but as it was before two nodes are on pending state at always. It seems VMM cant cantact with them. Can I try to remove VMM cluster and create it again in VMM console, or is other solution?

    thank you,


    • แก้ไขโดย natip 4 มิถุนายน 2555 18:18
    •