So I am at a crossroads and would like input on the best path forward for a novice Sys Admin.
We just had our DBA perform a refresh of our Test environment from our Production environment. We usually do not have issues, however after this latest refresh we were getting IOS errors in some of our screens. We traced the source of the issue to two CTPs that we had installed into Test that were not in our Production environment. Upon review, it was determined that they were not going to be moved to Production so we decided the best path forward was to remove them from Test, then re-apply all CTPs applied after those were installed.
We have run UNINSTALL on all of the CTPs to remove them, however now when we tried to ACTIVATE, it attempted to do a db reorg to which I said yes, but the re-org failed. It looks to be because some of the fields that it would be looking to delete and/or reorganize into the database are not present in our Test environment after the refresh from Production, since the CTP was never moved to Production. Example below - File APVENMAST Will be Reorganized. Field EXTERNAL-KEY Deleted Field EXT-ACCT-ENT Deleted Field EXT-LOCATION Deleted This is from ladb.log. Tue Mar 20 14:40:42 2018 - program 'dbreorg', User 'OSID:NT000019ee', RMId 'lawson' Driver Version '10.0.9.0.1174 2015-12-14 22:00: READDBDATA() error on file 'APVENMAST' in 'APPS10' OCIStmtExecute() returned OCI_ERROR code 904 parse offset 4049 ( ORA-00904: "VEN"."EXT_LOCATION": invalid identifier Can I ACTIVATE and by-pass the re-org for the uninstall of the patches? If I can, then how can I get past the current status? Right now if I try to ACTIVATE, it tells me that I am in the midst of a reorg. Do you want to Activate these Updates now? Y ERROR - Reorg control file 'D:/LSFTEST/db/APPS10/reorg.cntl' exists. It appears the database is in the midst of a reorganization. Please complete before Activating.
Finally, we have been able to retrieve a backup of the Test database before the restore.
Would it be easier (quicker turnaround) to restore the original database from backup and then go ahead and perform the db reorg - expecting it to work as the expected database structure would be in place?
My only concern/question there is, will the ACTIVATE command know pick up the changes that are currently pending after we take down the environment for the restore and bring it back up?
Any feedback/suggestions would be greatly appreciated.
Also, if it helps, here is the tail of the reorg.hist file that shows what the dbreorg had in store for this particular CTP. Command: D:\\LSFTEST\\gen\\bin\\dbreorg -lcn apps10 Checking APPS10 Listing Only - No Reorganization File C3BANKINFO Will be Created. File C3TAXINFO Will be Created. Checking of APPS10 completed
Those two tables already exist in our Test environment as a result of the database refresh.
verifymsf2000 -q apps10
returns the same error -
verifymsf2000 failed with DBConfig.Init() failed ReadCapFile: can't open Configuration file D:\LSFTEST\law/apps10/MICROSOFT