Author |
Deleting expired licenses |
Altivo
Member
Posts: 86
Location: Illinois
Joined: 26.05.07 |
Posted on June 07 2010 07:31 |
|
|
I have renewed my licenses and installed the new license keys. Everything has been running just fine.
However, each time the system is booted, the console receives dozens of warning messages about the old expired licenses that are still in the license database. Is there not a way to remove these now that they are no longer needed?
I thought in the past I had done this with the command:
$ LICENSE DELETE * /STATUS=(EXTINCT)
And in fact, "HELP LICENSE" does include this exact command as an example. When I try it, though, I get the message:
%LICENSE-W-NODELETE, * was not deleted; no matching records found
Evidently the wild card is no longer recognized. Surely it isn't necessary to delete all these licenses one by one. Or is it? |
|
Author |
RE: Deleting expired licenses |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on June 07 2010 13:41 |
|
|
http://eisner.encompasserve.org/~malmberg/dcl/LMF_CLEANUP.TXT |
|
Author |
RE: Deleting expired licenses |
Altivo
Member
Posts: 86
Location: Illinois
Joined: 26.05.07 |
Posted on June 08 2010 07:26 |
|
|
Thanks, I'll look that over and try it. It seems astonishing though that such a complex procedure should be needed for what ought to be a common task.
Then again, this is VMS, right? Where complicated things are simple, but the simple things can be incredibly complex. ;p |
|
Author |
RE: Deleting expired licenses |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on June 08 2010 15:33 |
|
|
I wrote that procedure a while back. Since then the license command on Alpha/IA64 has been enhanced to make things a bit easier for cleanup.
But I just run this command procedure once a year or so.
|
|
Author |
RE: Deleting expired licenses |
Altivo
Member
Posts: 86
Location: Illinois
Joined: 26.05.07 |
Posted on June 09 2010 12:14 |
|
|
Well, thanks. Your procedure worked for me on two Alphas, where the instructions in the actual documentation for the LMF utilities did not work at all as documented. |
|
Author |
RE: Deleting expired licenses |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on June 09 2010 14:09 |
|
|
The license commands make some assumptions about the defaults for the producer and possibly some other fields that do not match the hobbyist licenses.
|
|
Author |
RE: Deleting expired licenses |
Altivo
Member
Posts: 86
Location: Illinois
Joined: 26.05.07 |
Posted on June 10 2010 06:04 |
|
|
That sort of makes sense. But the error messages I was getting suggested that LICENSE was not accepting a * as a wild card, even though the manual says it will. |
|
Author |
RE: Deleting expired licenses |
tuklu_san
Member
Posts: 16
Location: Germantown, MD, US
Joined: 04.06.16 |
Posted on June 30 2019 18:16 |
|
|
malmberg wrote:
http://eisner.encompasserve.org/~malmberg/dcl/LMF_CLEANUP.TXT
Very helpful, thank you.
DUA1:[SANYAL.MISC] @LMF_CLEANUP.COM
%COPY-S-COPIED, SYS$COMMON:[SYSEXE]LMF$LICENSE.LDB;1 copied to DUA1:[SANYAL]LMF_BACKUP.LDB;1 (1299 blocks)
lmf$license backed up to sys$scratch:lmf_backup.ldb
You can delete this file after verifying the cleanup.
Deleting License = ACMS, Date= 30-MAY-2017
Deleting License = ACMS, Date= 9-JUN-2018
Deleting License = ACMS-REM, Date= 30-MAY-2017
Deleting License = ACMS-REM, Date= 9-JUN-2018
Deleting License = ACMS-RT, Date= 30-MAY-2017
... and so on
--
QCOCAL::SANYAL (HECnet)
http://tuklusan.decsystem.org |
|