- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Announcing Quantum R82.10!
Learn MoreOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
migrated R80.10 firewall management to a new VM. Cannot push policy or view VPN communities. Several disconnected (stale) sessions that cannot be discarded. I found script to clear web_api sessions SK113955, but need to clear old user connections:
error when installing Jumbo:
The package failed to install
Reason of failure: Internal error when running hook:
pre_r80.10_upgrade_verifications.sh. More information: Operation failed. Publish or Discard all sessions an run operation again. Administrators with open sessions: MyUserNameOtherAdminUserName
View:
#psql_client cpm postgres -c "select applicationname,objid,creator,state,numberoflocks,numberofoperations,creationtime,lastmodifytime from worksession where state = 'OPEN' and (numberoflocks != '0' or numberofoperations != '0');"
Clear:
# mgmt_cli discard --port 4434 uid 4b2ac7a8-9b0b-4e39-a3f0-4c065d631cdf
Username: admin
Password:
number-of-discarded-changes: 2
message: "OK"
You should be able to clear these sessions in SmartConsole as well.
Go to Manage & Settings > Sessions > View Sessions
You may still have open sessions in the database which you can't find in the GUI.
I have had a TAC case for this and got some query commands to find them. Unfortunatly I can't find them in my own notes or in Secure Knowledge.
If you still have the issue and no session listed in the GUI then it is time to open a TAC case.
View:
#psql_client cpm postgres -c "select applicationname,objid,creator,state,numberoflocks,numberofoperations,creationtime,lastmodifytime from worksession where state = 'OPEN' and (numberoflocks != '0' or numberofoperations != '0');"
Clear:
# mgmt_cli discard --port 4434 uid 4b2ac7a8-9b0b-4e39-a3f0-4c065d631cdf
Username: admin
Password:
number-of-discarded-changes: 2
message: "OK"
Well done!
In addition, there is a python script based on management API SDK -
https://github.com/CheckPointSW/cp_mgmt_api_python_sdk
Look at "discard_sessions" sample.
Robert.
Check out SmartConsole Extensions platform to integrate this script as a web page inside SmartConsole
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 21 | |
| 15 | |
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
Fri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Fri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY