ODBCSQL failing intermittently
We monitor 2 MS SQL servers and 1 Oracle server using ODBCSQL and a query. This is failing sometimes and the status will go up and down. This is a new ServersCheck installation but has been running for about 30 days.
The error returned from both MS SQL servers is :
Reason: Error: [911] [] "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
The Oracle query is working fine.
Both servers report up and down when this occurs and never one server only.
While ServersCheck reports it down I can run the query manually on both servers and it returns the results ok.
I can even go to ServersCheck and click on the Test Settings button and it returns ok but the monitor says it is down.
Has anyone else had this issue?
The error returned from both MS SQL servers is :
Reason: Error: [911] [] "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
The Oracle query is working fine.
Both servers report up and down when this occurs and never one server only.
While ServersCheck reports it down I can run the query manually on both servers and it returns the results ok.
I can even go to ServersCheck and click on the Test Settings button and it returns ok but the monitor says it is down.
Has anyone else had this issue?
This discussion has been closed.
Comments
This seems to indicate there is a difference in the check from the test button and the main monitor service check.
During SQLConnect, the Driver Manager called the driver's SQLAllocHandle function with a HandleType of SQL_HANDLE_DBC and the driver returned an error.
The Driver manager is a Microsoft driver, not a ServersCheck component. It is the driver that returned an error.