Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Matthias42
Contributor

Migrate_server verify fails because of "locked objects". However there are none.

Hi,

i am trying to migrate a standalone R80.40 to R81.10. No MDM.

 

 

cpprod_util CPPROD_GetValue CPupgrade-tools-R81.10 BuildNumber 1
996000405

 

cd $MDS_FWDIR/scripts/

./migrate_server verify -v R81.10
verify failed.
The verify operation completed with errors. Do you wish to start Check Point services (yes/no) [y]?
Starting Check Point services ...
Verification failed:
1. Upgrade operation is not allowed while there are locked objects in one of the sessions in the database. For further assistance contact Check Point support.

Notes:
1. It is recommended to use the latest upgrade tools package. The latest package is installed automatically on online environments, for upgrade of offline environments refer to sk135172.
2. Only latest revision will be upgraded. It is recommended to publish important changes before upgrade. Unpublished c hanges will be lost.
3. Run the upgrade verification on all servers in your environment before you upgrade.

# psql_client cpm postgres
psql (10.5)
Type "help" for help.

cpm=# SELECT objid, name, dlesession, cpmitable, subquery1.lockingsessionid, subquery1.operation FROM dleobjectderef_data, (SELECT lockedobjid, lockingsessionid, operation FROM locknonos) subquery1 WHERE subquery1.lockedobjid = objid and not deleted and dlesession >=0;
objid | name | dlesession | cpmitable | lockingsessionid | operation
-------+------+------------+-----------+------------------+-----------
(0 rows)

 

 

cpm=# select * from locknonos;
objid | domainid | lockingsessionid | lockingtime |

preventors

|
lockedobjid | operation | domainworksessionid
--------------------------------------+--------------------------------------+--------------------------------------+---------------+------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------+------
--------------------------------+--------------------------+--------------------------------------
4a07421a-380c-457b-ac4d-a12f84fbf019 | 41e821a0-3720-11e3-aa6e-0800200c9fde | c443b005-3a82-4028-aff2-8151ac3956ca | 1565947971106 | ["java.util.HashSet",[["com.c
heckpoint.management.dlecommon.ngm_api.PreventedLockNonOs",{"objId":"b74e303f-c421-4d1b-90c9-db529a016b2b","_persistence_fetchGroup":null,"domainId":"41e821a0-3720
-11e3-aa6e-0800200c9fde","lockRequest":["com.checkpoint.management.dlecommon.ngm_api.LockRequest",{"_persistence_fetchGroup":null,"metaOwned":false,"lockedObjId":"
2c62e872-5084-4808-92c0-520c04d7f032","operation":"CP_LOCK_OPERATION_DELETE","LockedObjClass":"com.checkpoint.objects.rtmclasses.dummy.CpmiGwStatusViewDescriptorLe
af","lockedObjDomainId":"41e821a0-3720-11e3-aa6e-0800200c9fde","sdbLockDefaultObject":false}],"lockingSessionId":"c443b005-3a82-4028-aff2-8151ac3956ca"}]]] | 2c62e
872-5084-4808-92c0-520c04d7f032 | CP_LOCK_OPERATION_CREATE | 62b9028d-e7de-fd0c-39ac-9adac0dfe515
a25c13ed-2ac0-45b7-b615-79c791493a6b | 41e821a0-3720-11e3-aa6e-0800200c9fde | c443b005-3a82-4028-aff2-8151ac3956ca | 1565948654278 | ["java.util.HashSet",[["com.c
heckpoint.management.dlecommon.ngm_api.PreventedLockNonOs",{"objId":"849b220e-e8da-444e-a5e7-541ae9f27153","_persistence_fetchGroup":null,"domainId":"41e821a0-3720
-11e3-aa6e-0800200c9fde","lockRequest":["com.checkpoint.management.dlecommon.ngm_api.LockRequest",{"_persistence_fetchGroup":null,"metaOwned":false,"lockedObjId":"
2c62e872-5084-4808-92c0-520c04d7f032","operation":"CP_LOCK_OPERATION_DELETE","LockedObjClass":"com.checkpoint.objects.rtmclasses.dummy.CpmiGwStatusViewDescriptorLe
af","lockedObjDomainId":"41e821a0-3720-11e3-aa6e-0800200c9fde","sdbLockDefaultObject":false}],"lockingSessionId":"c443b005-3a82-4028-aff2-8151ac3956ca"}]]] | 2c62e
872-5084-4808-92c0-520c04d7f032 | CP_LOCK_ALL_OPERATIONS | 62b9028d-e7de-fd0c-39ac-9adac0dfe515
2c287eca-9d1e-4a97-b6af-b223d1aa9128 | 41e821a0-3720-11e3-aa6e-0800200c9fde | c443b005-3a82-4028-aff2-8151ac3956ca | 1565947861819 | ["java.util.HashSet",[["com.c
heckpoint.management.dlecommon.ngm_api.PreventedLockNonOs",{"objId":"a0af93a7-abf9-4131-b6fc-1fa12f2f50c1","_persistence_fetchGroup":null,"domainId":"41e821a0-3720
-11e3-aa6e-0800200c9fde","lockRequest":["com.checkpoint.management.dlecommon.ngm_api.LockRequest",{"_persistence_fetchGroup":null,"metaOwned":false,"lockedObjId":"
9efeaa61-22bf-4ae0-b50c-dd3d4afd256b","operation":"CP_LOCK_OPERATION_DELETE","LockedObjClass":"com.checkpoint.objects.rtmclasses.dummy.CpmiGwStatusViewDescriptorLe
af","lockedObjDomainId":"41e821a0-3720-11e3-aa6e-0800200c9fde","sdbLockDefaultObject":false}],"lockingSessionId":"c443b005-3a82-4028-aff2-8151ac3956ca"}]]] | 9efea
a61-22bf-4ae0-b50c-dd3d4afd256b | CP_LOCK_ALL_OPERATIONS | 62b9028d-e7de-fd0c-39ac-9adac0dfe515
8a2461aa-1249-4e53-91d0-a63479f3c8c6 | 41e821a0-3720-11e3-aa6e-0800200c9fde | c443b005-3a82-4028-aff2-8151ac3956ca | 1565947828189 | ["java.util.HashSet",[["com.c
heckpoint.management.dlecommon.ngm_api.PreventedLockNonOs",{"objId":"91ee7dae-0f7f-4c1b-8ba1-c8192d3adbb7","_persistence_fetchGroup":null,"domainId":"41e821a0-3720
-11e3-aa6e-0800200c9fde","lockRequest":["com.checkpoint.management.dlecommon.ngm_api.LockRequest",{"_persistence_fetchGroup":null,"metaOwned":false,"lockedObjId":"
9efeaa61-22bf-4ae0-b50c-dd3d4afd256b","operation":"CP_LOCK_OPERATION_DELETE","LockedObjClass":"com.checkpoint.objects.rtmclasses.dummy.CpmiGwStatusViewDescriptorLe
af","lockedObjDomainId":"41e821a0-3720-11e3-aa6e-0800200c9fde","sdbLockDefaultObject":false}],"lockingSessionId":"c443b005-3a82-4028-aff2-8151ac3956ca"}]]] | 9efea
a61-22bf-4ae0-b50c-dd3d4afd256b | CP_LOCK_OPERATION_CREATE | 62b9028d-e7de-fd0c-39ac-9adac0dfe515
(4 rows)

cpm=# \q

 

Smartconsole also shows no locked objects. 

What is locked here, and how can i fix this. I have no problem with some unsaved changes getting lost.

 

TIA

Matthias

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

I recommend engaging with the TAC to troubleshoot this.

0 Kudos
the_rock
Legend
Legend

If you log into dashboard and then go to settings on the left and sessions, can you see if there is a session there with any lock other than 0? If so, terminate it and then try again. I know you said you did not see any, but there is something its complaining about. Maybe worth a try going to guidbedit and searching for locked?

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events