Author Topic: Check expiry date of license  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

Offline support19

  • Newbie
  • *
  • Posts: 1
Check expiry date of license
« on: November 03, 2023, 10:54:00 AM »
Hi All

Just updated to 4.4 all seems OK, but how do I check the expiry date of the installed license, tried avast -l but am getting this:

2023-11-03 09:49:29.427906+0000 [ 9255:  2427] NOTICE  main: Starting Avast 4.4.0
2023-11-03 09:49:29.428274+0000 [ 9255:  2427] ERROR   pidfile: Another instance is already running; /run/avast/avast.pid is locked
2023-11-03 09:49:29.428319+0000 [ 9255:  2427] ERROR   main: Fatal error. Exiting.


Offline Radek Brich

  • Developer (Linux AV, Mac AV)
  • Avast team
  • Jr. Member
  • *
  • Posts: 55
Re: Check expiry date of license
« Reply #1 on: November 03, 2023, 12:02:34 PM »
Hi, this command doesn't tell you anything about the license, it's just a check (exit code 0 = license valid). It's not supposed to be blocked by another `avast` process, that is a bug. Thanks for reporting.

To find out the expiration date, look into the license file itself:

Code: [Select]
grep UpdateValidThru -B1 /etc/avast/license.avastlic