This post is more than 5 years old

6 Posts

146055

June 22nd, 2010 10:00

VMWare agent running on VCenter with Vfoglight 6.1

Hello,
I am getting following error in collector log. As a result the Vcenter server is not showing up in VFoglight console.
2010-06-21 17:25:14,729 [9] ERROR Collector - OnStartWorker - Error in FoglightHost.OnStartWorker: {0}
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL http://+:8000/FoglightEngine/basicHttp/ because TCP port 8000 is being used by another application. ---> System.Net.HttpListenerException: The process cannot access the file because it is being used by another process
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener.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 System.ServiceModel.Channels.CommunicationObject.Open()
at FoglightAgent.WinService.FoglightHost.OnStartWorker(Object sender, DoWorkEventArgs e)
2010-06-21 17:25:14,854 [9] INFO Collector - OnStartWorker - Exit FoglightHost.OnStartWorker
And obvisouly connector is failing with following error.
2010-06-21 17:25:45,761 [Retrieving-collector settings] ERROR VirtualESXAgent.BaseCollector - CommunicationException : Failed to retrieve collector settings data from the collector : The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Make sure the agent collector service is running
2010-06-21 17:25:45,776 [Retrieving-inventory] ERROR VirtualESXAgent.BaseCollector - CommunicationException : Failed to retrieve inventory data from the collector : The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Make sure the agent collector service is running
2010-06-21 17:25:45,776 [5] ERROR VirtualESXAgent.Agent - Inventory was empty on collect folders, scheduling an update
Regards,
Paresh

57 Posts

June 22nd, 2010 15:00

The issue is that port 8000 on the server running the vFog VMware agent. This is the port that the colector & connector service communicate on.
The config files need to be edited and the port changed to a port that is not taken.
Foglightagent.winservice.exe.config



Virtualagent.exe.config
-Larry
No Events found!

Top