Start a Conversation

Unsolved

This post is more than 5 years old

14957

September 18th, 2012 00:00

OME - SQL errors in Application log and Incorrect time showing

Hi All,

 

We are expering some issues with OME when perform discovery and invetory and addition to this we are also see deadlocks being reported and incorrect time being displayed.

 

error below.

 

Severity Time Message
Critical 19/09/2012 12:38:30 AM Inventory Manager Exception; Device: 1508384025 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Info 18/09/2012 10:48:02 PM A scheduled status poll has not been started because a status poll is already in progress. If this condition continues, it is recommended that you increase the status poll interval time. Scheduled time: 09/18/12 12:48:02. The following managed devices are still undergoing a status poll: prsyd1vspcor04-drac.infoplex.int.
Info 18/09/2012 7:19:12 PM Discovery is re-using the database entry for Device prmel1ibrick01-drac.infoplex.int based on name only. Either discovery could not obtain MAC Address information for the device during a previous discovery or there are two devices on the network with the same name.
Info 18/09/2012 7:19:08 PM A duplicate device has been detected. Device (name: prmel1ibrick01-drac.infoplex.int, ip address: 192.168.84.47, internal ID: -2069960952) was deleted because the MAC Address: 00137264b714 was discovered on another device (device name: prmel1ibrick01-drac.infoplex.int, ip address: 192.168.84.47, internal ID: -1).
Critical 18/09/2012 7:19:08 PM Inventory Manager Exception; Device: -2069960952 , Exception: Failed to insert or update records due to non-unique data in columns of table. : Error executing the SQL Statement:INSERT INTO ContactInfo (ContactDescription,ContactName,DeviceId) VALUES(?,?,?) Error: SQL_ERROR results: SQL Error State: 23000, Native Error Code: 223, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ContactInfo_Device". The conflict occurred in database "OMEssentials", table "dbo.Device", column 'DeviceId'. SQL_ERROR results continued: SQL Error State: 01000, Native Error Code: E25, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. ODBC_DatabaseConnection::AddTableRow()
Info 18/09/2012 7:15:25 PM Discovery is re-using the database entry for Device jhgjemsmsql01.infoplex.int based on name only. Either discovery could not obtain MAC Address information for the device during a previous discovery or there are two devices on the network with the same name.
Info 18/09/2012 7:14:51 PM Device name change has been detected (old name: mgmel1esxmgt04-drac.infoplex.int, new name:mgmel1esxmgt03-drac.infoplex.int, internal ID: -2116371622)
Info 18/09/2012 7:14:43 PM Discovery is re-using the database entry for Device jhgoracle.infoplex.int based on name only. Either discovery could not obtain MAC Address information for the device during a previous discovery or there are two devices on the network with the same name.
Info 18/09/2012 7:14:31 PM Device name change has been detected (old name: jhgoracledr.infoplex.int, new name:jhgoracle.infoplex.int, internal ID: 1004027136)
Info 18/09/2012 7:14:31 PM Discovery is re-using the database entry for Device jhgoracle.infoplex.int based on name only. Either discovery could not obtain MAC Address information for the device during a previous discovery or there are two devices on the network with the same name.
Critical 18/09/2012 7:14:04 PM Inventory Manager Exception; Device: 374539046 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:14:04 PM Inventory Manager Exception; Device: 1695160105 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:14:03 PM Inventory Manager Exception; Device: 236976890 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 51) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:14:03 PM Inventory Manager Exception; Device: -2109722565 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:14:02 PM Inventory Manager Exception; Device: -400757951 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 64) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:14:01 PM Inventory Manager Exception; Device: 365960893 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:13:59 PM Inventory Manager Exception; Device: 105830659 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 51) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()
Critical 18/09/2012 7:13:54 PM Inventory Manager Exception; Device: -1271450037 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()

 

 The only time this is being shown is when we perform a manual discovery and inventory on a server or selection of servers in OME.

 

 

Protocols used SNMP / WS-MAN and even with SNMP unticked same issue can be seen

 

 

Community Manager

 • 

711 Posts

September 18th, 2012 07:00

Hi,

Thanks for your post. Not all errors logged in OME will have an impact on functionality. Many times errors logs are created for additional debugging. Can you elaborate a little more on the issues you have in OME functionality?

Some of the messages above are information logs which state discovery/inventory/status poll operations are overlapping. As you mentioned it can happen if the manual discovery/inventory/status poll collides with the scheduled cycles. It should not have any funtional impact.

Some of the deadlocks reported are generated due to triggers and complex queries. Most of these operations like compliance assessment happen in the background and OME will try those again later if deadlock is reported.

Regarding the incorrect time, can you tell us which page is reporting that?

Regards

Abhijit

13 Posts

September 19th, 2012 03:00

Hi Abhijit,

This error it would seem when we perform a discovery and inventory scan on a device or range we are seeing the SQL errors

Inventory Manager Exception; Device: -1271450037 , Exception: An internal database error occurred. : Error executing the SQL Statement:INSERT INTO Firmware (FirmwareVersion,FirmwareType,FirmwareChassisIndex,FirmwareName,DeviceId,FirmwareIndex) VALUES(?,?,?,?,?,?) Error: SQL_ERROR results: SQL Error State: 40001, Native Error Code: 4B5, ODBC Error Text: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. ODBC_DatabaseConnection::AddTableRow()

And we have had our applications guys check this out and can not see any deadlocks onthe DB.

As this is a primary monitoring system for hardware a quick resolution would be great.

Kind Regard's

Jody

13 Posts

September 19th, 2012 03:00

In addition the incorrect time is being reported on the tools > Application Logs > the logs were showing as 1 day and 1 hr ahead of the present time.

at time of posting it was 12:40 on the 18/09/2012 and infact the time was showing 19/09/2012 and 16:00 hrs

2 Intern

 • 

2.8K Posts

September 19th, 2012 07:00

Hi Jody,

Look for OME 1.1 in Q4 of 2012 (early rather than later).

Thanks much,

Rob

13 Posts

September 19th, 2012 07:00

Hi Abhijit,

When can we expect the new release of OME and what are some of the updated fixes and features.

Regard's

Jody

Community Manager

 • 

711 Posts

September 19th, 2012 07:00

Hi Jody,

Thanks for the updates. We looked at this reported error and as I mentioned earlier, it should not have an impact on functionality. The insert operation will be retried during the next inventory cycle. This is not a SQL deadlock. It is deadlock between internal processes used in OME as they are sharing the ODBC connectivity. We have updated the algorithm in the upcoming version so that this error will not be seen.

This error will not have any impact on the monitoring functionality and you can keep using OME as primary monitoring tool.

We will also look at the time logged in the logs. It may be related to time conversion routine used in the logging section. We have updated all the routines to use UTC in the coming version and this issue should also be addressed as part of that change.

Regards

Abhijit

13 Posts

September 19th, 2012 13:00

Hi Rob,

What are the fixes / new features of this release then.

2 Intern

 • 

2.8K Posts

September 19th, 2012 14:00

Hi Jody,

The only feature that we've been pre-announcing is the OOB system update.  That is the ability to patch a system via the Lifecycle Controller (iDrac).  For the rest, we'll be posting on launch day.  So stay tuned.

Thanks!

Rob

No Events found!

Top