OpenPKG run-time license check failed
If a RPM5-based OpenPKG 4.x Framework suddenly stops working your run-time license might have expired. To remedy the problem you must acquire a valid license.This post describes how to list, activate, view, obtain and update a promotional license.
rpm: ATTENTION: INTEGRITY CHECKING DETECTED AN ENVIRONMENT ANOMALY!
rpm: ERROR: OpenPKG run-time license check failed -- stopping processing
+-----------------------------------------------------------------------------+
| Sorry, the OpenPKG RPM run-time integrity checking facility enountered a
| fatal problem during license checking and stops processing immediately.
| The particular error reported by the OpenPKG license processor is:
|
| current time "2008-10-14 19:33:39 UTC" is not within the timerange
| "2008-01-01:2008-10-01" of license configuration parameter "Assertion--
| LifeTime"
|
| Notice: Operation of the OpenPKG Framework requires a valid license.
| Go to http://openpkg.com/go/framework-licensing for more details, please.
| Run "openpkg man license" for details about local license management.
+-----------------------------------------------------------------------------+
Watch out which licenses are currently installed and look after the plus sign which guides you to the active one.
openpkg$ openpkg license list
- BOOT
+ EVAL
- EXAMPLE
- PROMO
Activate the promotional license.
openpkg$ openpkg license activate PROMO
openpkg$ openpkg license list
- BOOT
- EVAL
- EXAMPLE
+ PROMO
View the license details. The assertions are collected at the very end of the signed message.
openpkg$ openpkg license view PROMO \
| sed -e '1,/framework-license/d'
Assertion-MinProcVersion: 0.9.0
Assertion-LifeTime: 2008-01-01:2008-10-01
Assertion-GrantTime: 2008-01-01:2008-10-01
Check the download location of the currently installed release.
openpkg$ openpkg release
OpenPKG-CURRENT http://user:pass@download.openpkg.org/stacks/current/source/
After a manual check for the latest version, grab the most current framework SRPM. It includes a promotional license.
openpkg$ openpkg curl -o openpkg-4.0b11-20081012.src.rpm \
'http://user:pass@download.openpkg.org/framework/testing/source/openpkg-4.0b11-20081012.src.rpm
Extract the cpio payload from the SRPM and "input visual test" for the files contained within.
openpkg$ openpkg rpm2cpio <openpkg-4.0b11-20081012.src.rpm | cpio -ivt | grep license-
-rw-r--r-- 1 root root 12401 Sep 23 08:11 license-BOOT.txt
-rw-r--r-- 1 root root 12450 Jun 1 08:52 license-EVAL.txt
-rw-r--r-- 1 root root 12384 Sep 23 08:11 license-EXAMPLE.txt
-rw-r--r-- 1 root root 12347 Oct 2 07:52 license-PROMO.txt
Extract the cpio payload from the SRPM and "input visual" extract the required file.
openpkg$ openpkg rpm2cpio <openpkg-4.0b11-20081012.src.rpm | cpio -iv license-PROMO.txt
license-PROMO.txt
Update the license.
openpkg$ openpkg license update PROMO license-PROMO.txt
View the license details. The assertions are collected at the very end of the signed message.
openpkg$ openpkg license view PROMO | sed -e '1,/framework-license/d'
Assertion-MinProcVersion: 0.9.0
Assertion-LifeTime: 2008-01-01:2008-12-01
Assertion-GrantTime: 2008-01-01:2008-12-01
That's it - until the assertion fails again.
2010-01-07 11:52:06 UTC
Note: the URL in the error message (http://openpkg.com/go/framework-licensing) does not work. It gets redirected to: http://meta.openpkg.org/global-sitemap.php.
That’s rather confusing. I need to look at my test setup to see what’s going on. It might be more helpful to provide the “upgrade/update” instructions in the actual error message, or to point to a web page where this is provided.