ACSLS - duplicate key violates unique constraint "drivetable_pkey" - DI_S_DUPKEY_INSERT (Doc ID 1368335.1)

Last updated on JUNE 27, 2012

Applies to:

Sun StorageTek Auto Cartridge Sys Lib SW (ACSLS) - Version 7.2 to 8.0 [Release 7.0 to 8.0]
Information in this document applies to any platform.

Symptoms

The following error messages from the acsss_event.log indicate a problem with the database:
------------------------------
011-10-12 12:29:05 DISMOUNT[0]:
1328 N di_pri_get_status_code.c Unknown 212
di_pri_get_status_code:
DBMS error. Return code (23505) and message ("[unixODBC]ERROR: duplicate
key violates unique constraint "drivetable_pkey";
Error while executing the query"). DI_STATUS = DI_S_DUPKEY_INSERT

2011-10-12 12:29:05 DISMOUNT[0]:
638 N cl_drv_upda.c 1 594
cl_drv_update:
EXEC SQL update where drive is 0, 2, 1, 1
[DI_S_DUPKEY_INSERT]:

ERROR: duplicate key violates unique constraint "drivetable_pkey"
CONTEXT: COPY drivetable, line 43: "0,2,1,10,28,7, ,0,0,33,3,MXP1015LHN,1293495949,0,0,0,0,,50.01.04.f0.00.8a.a1.c4,7"

Changes

Some hardware work related to tape drives

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms