Hi,
It is a MaxDB database with source system as CRM 7.0 EHP1 ; target CRM 7.0 EHP2
During an EHP upgrade I am getting the below error.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DDIC ACTIVATION ERRORS and RETURN CODE in SAPANA7029.L4H
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1AETR012XProgram terminated (job: "RDDMASGL", no.: "16482300")
1AEPU320 See job log"RDDMASGL""16482300""L4H"
1 ETP111 exit code : "12"
On further checking the work process trace of the shadow instance I found that there are inconsistencies with the table DYNPSOURCE.
A UpdateProfile (new settings): off,krn_impl,(no dyn check),(no logging),(no stat err),(local generation),(no commit)
A UpdateProfile (new exceptions): (tmp_err),(home_err),(local_err)
A UpdateProfile (new version): 0
A ***GENER* Trace switched off ***
B dbdynpdb2: table DYNPSOURCE not found => synonym in shadow instance?
C *** ERROR => prepare() of C_0009, rc=1, rcSQL=-4005 (POS(8) Unknown column name:VERSION)
[dbsdbsql.cpp 2601]
C {root-id=005056AB04761EE3BF8EF51EC85743D1}_{conn-id=00000000000000000000000000000000}_0
C *** ERROR => SQL PREPARE on connection 0, rc=-4005 (POS(8) Unknown column name:VERSION)
[dbslsdb.cpp 8914]
C {root-id=005056AB04761EE3BF8EF51EC85743D1}_{conn-id=00000000000000000000000000000000}_0
C sc_p=7fce8b85e5a8,no=9,idc_p=(nil),con=0,act=0,slen=41,smax=256,#vars=0,stmt=69236d0,table=DYNPSOURCE
C SELECT VERSION INTO ? FROM "DYNPSOURCE" ;
B dbdynpdb2: table DYNPSOURCE has no VERSION column, dbsl_rc = 99
B dbrda: Redirect database access is disabled via rsdb/rda profile parameter setting.
M SecAudit(rsauinit): WP attached to existing shared memory.
M SecAudit(RsauShmInit): addr of SHM for Audit.. = 7fcd2bbf3000
M SecAudit(RsauShmInit): addr of RSAUSHM........ = 7fcd2bbf4000
M SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 7fcd2bbf4610
M SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 7fcd2bbf4620
M extStatHook: This process does not report performance statistics
G GetWritePermissionForShm( pLocation = 281, pEnforce = 0 )
G RelWritePermissionForShm( pLocation = 277, pEnforce = 0 )
G GetWritePermissionForShm( pLocation = 281, pEnforce = 0 )
G RelWritePermissionForShm( pLocation = 277, pEnforce = 0 )
On checking further I found that the table runtime object table dynpsource is inconsistent in the shadow instance. I tried to reconstruct it in SE14 but the logs shows that the table is in read only mode. (The database object is consistent).
Upgrade is stuck due to this, kindly help in fixing this issue.
Warm Regards
- Avi