Forum Discussion
BGammon_9480
Nimbostratus
Apr 01, 2010F5 Monitoring Agent Issues
I cannot get the Monitoring agent to run correctly
I am using SCOM 2007 R2, on Windows 2008, with a SQL 2008 server.
The install failed with similar issues
<04-01-2010 11:19:18> FatalError: The F5 Monitoring Service did not start within the timeout period.
<04-01-2010 11:19:18> FatalError: There was a problem attempting to make calls into the F5 Monitoring Service. Check the Windows Event Log and trace logs for the reason and try starting the service again manually.
F5Networks.F5Exception: Unable to connect to data source: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01 ---> F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionFailedException: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
More info, I get errors in the F5 Management Event Log about - Requested registry access is not allowed.
All the accounts have the admin access they need. The database is created in SQL, the account the F5 agent is running under is an admin for SCOM, SQL and the machine.
Any ideas?
15 Replies
- Stephen_Fisher_Historic F5 AccountHello,
Can you provide the full message in the F5 Management Pack event log that said: "Requested registry access is not allowed"?
Thank you,
Stephen Fisher
F5 Networks - BGammon_9480
Nimbostratus
Here is the whole dump of the event log entry
Log Name: F5 Monitoring Log
Source: F5 Events
Date: 4/1/2010 1:27:59 PM
Event ID: 450
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: HPVCPSCOM01.bob.com
Description:
Requested registry access is not allowed.
Event Xml:
450
2
0
0x80000000000000
2547
F5 Monitoring Log
HPVCPSCOM01.bob.com
Requested registry access is not allowed. - Stephen_Fisher_Historic F5 AccountThank you for the info.
Can you also provide the diagnostic system and product information described at this page?
http://devcentral.f5.com/wiki/default.aspx/MgmtPack/GeneralTroubleshooting.html
The F5 monitoring service log will also be helpful to determine why this happened. Once you enable verbose service logging, you may need to restart the F5 Monitoring service. Even though the service may fail to start, the log should hopefully be generated with more detailed diagnostic information.
Thank you,
Stephen Fisher
F5 Networks - BGammon_9480
Nimbostratus
Logs files - Stephen_Fisher_Historic F5 AccountHello,
Thanks for your patience with this issue.
It looks like one of the F5 modules is failing to load inside of the Operations Manager Health Service. I expect you may also see an exception in your Operations Manager event log related to a ConditionDetection module.
Specifically, the F5 module is attempting to access the registry on the Health Service's host machine. The key is HKLM\Software\F5Networks\ManagementPack, and write-access is requested.
Can you verify that your OpsMgr Health Service is running as an account which has local administrator privileges on the machine in question?
The error message isn't very clear, and we're looking at improving that in a subsequent release, and we'll see if we can change this to a simple key read-request.
Thank you,
Stephen Fisher
F5 Networks - BGammon_9480
Nimbostratus
As far as I can tell all the permissions should be right. The Health Agent is running under Local System, all the other pieces of ops manager are running under domain or local admin accounts. - Stephen_Fisher_Historic F5 AccountCan you look at the permissions on the above registry key?
If you can temporarily change the key permissions to Allow Everyone write-access, and retry HealthService, that would help determine if the permissions are indeed the culprit.
Also, you could you log into the Management Server with the Health Service as the specified action account, and attempt to create a new value within the above registry key section.
Thanks,
Stephen Fisher
F5 Networks - BGammon_9480
Nimbostratus
Ok I set the regkey to everyone full control and got a different error
Log Name: F5 Monitoring Log
Source: F5 Events
Date: 4/5/2010 2:29:28 PM
Event ID: 201
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: HPVCPSCOM01.bob.com
Description:
Unable to connect to data source: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01
Detailed Exception Information:
F5Networks.F5Exception: Unable to connect to data source: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01 ---> F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionFailedException: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01 ---> System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
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 F5Networks.Remoting.ServerBase.get_HostProcess()
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.DataSourceConnector`2.Connect()
--- End of inner exception stack trace ---
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.DataSourceConnector`2.Connect()
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.ManagedDataSourceConnection`3.CoreConnect()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ManagedConnectionBase`1._DoConnectWithRecovery()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ManagedConnectionBase`1.Connect()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2._CreatePoolMember()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2._InitializeCache()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2.Initialize(UInt32 initialOperationSize)
at F5Networks.ManagementPack.Services.DeviceMonitor._CreateDataSourceConnection()
at F5Networks.ManagementPack.Services.DeviceMonitor._InitializeDataStore()
--- End of inner exception stack trace ---
Event Xml:
201
2
0
0x80000000000000
3552
F5 Monitoring Log
HPVCPSCOM01.bob.com
Unable to connect to data source: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01
Detailed Exception Information:
F5Networks.F5Exception: Unable to connect to data source: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01 ---> F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionFailedException: The PerformanceDataSourceConnector connection to Operations Manager Health Service host HPVCPSCOM01 could not be established: Failed to connect to an IPC Port: The system cannot find the file specified.
: HPVCPSCOM01 ---> System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
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 F5Networks.Remoting.ServerBase.get_HostProcess()
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.DataSourceConnector`2.Connect()
--- End of inner exception stack trace ---
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.DataSourceConnector`2.Connect()
at F5Networks.ManagementPack.DataAccess.OperationsManager.DataSource.ManagedDataSourceConnection`3.CoreConnect()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ManagedConnectionBase`1._DoConnectWithRecovery()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ManagedConnectionBase`1.Connect()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2._CreatePoolMember()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2._InitializeCache()
at F5Networks.ManagementPack.DataAccess.ManagedConnections.ConnectionPoolBase`2.Initialize(UInt32 initialOperationSize)
at F5Networks.ManagementPack.Services.DeviceMonitor._CreateDataSourceConnection()
at F5Networks.ManagementPack.Services.DeviceMonitor._InitializeDataStore()
--- End of inner exception stack trace --- - Stephen_Fisher_Historic F5 AccountAfter changing the permissions, you will likely need to restart the Health Service, and then the F5 Monitoring Service. While the Health Service is restarting, if the F5 Monitoring Service is already running, you may see temporary connection errors.
Also, can you look for any errors in the Operations Manager Event Log, specifically those that are coming from the Health Service. For the previous registry access issue, the OpsMgr log should have entries for those errors. For the current connectivity issues, it may have the same or different errors.
Thank you,
Stephen Fisher
F5 Networks - BGammon_9480
Nimbostratus
Ok, I have completely uninstalled the F5 modules, deleted the reg keys and all the files. On reinstallation I get an error. I have attached a screenshot. The accounts I used are all admins as required. What am I missing? Thanks
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
