[solved] An error occurred checking the licence : Invalid host or serial number A renewal can be purchased

15 posts / 0 new
Last post
#1 Fri, 06/07/2019 - 21:01
kurtobando
kurtobando's picture

[solved] An error occurred checking the licence : Invalid host or serial number A renewal can be purchased

I tried to follow the https://www.virtualmin.com/documentation/installation/uninstalling

However, I was not able to see any change from pro to GPL, I still have the pro feature.

In fact, here the steps I made so far.

/etc/apt/sources.list

# deb http://5574682:xxxxxx@software.virtualmin.com/vm/6/apt virtualmin-bionic main
# deb http://5574682:xxxxxx@software.virtualmin.com/vm/6/apt virtualmin-universal main

deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-precise main
deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal main

Then (I am confused with this section if I made the right changes) apt-get install webmin-virtual-server

Finally, /etc/virtualmin-license

[root@panel ~]# less /etc/virtualmin-license
# LicenseKey=xxxxxx
# SerialNumber=5574682

SerialNumber=GPL
LicenseKey=GPL

However, I still have the Pro version. Could you shed some light?

Fri, 06/07/2019 - 21:40
andreychek

Howdy,

After making that change, what output do you receive when running these commands:

apt-get update
apt-get install --reinstall webmin-virtual-server
Fri, 06/07/2019 - 23:35
kurtobando
kurtobando's picture
root@panel:~# apt-get update
Ign:1 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Get:2 http://dl.google.com/linux/mod-pagespeed/deb stable Release [2154 B]
Get:3 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg [819 B]
Ign:3 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg
Ign:4 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease
Ign:8 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease
Get:7 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [139 B]
Hit:9 http://download.nus.edu.sg/mirror/ubuntu bionic InRelease
Hit:10 http://mirror.aktkn.sg/ubuntu bionic-updates InRelease
Get:12 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release [7269 B]
Get:11 http://download.nus.edu.sg/mirror/ubuntu bionic-backports InRelease [74.6 kB]
Hit:13 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:14 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release [6553 B]
Hit:15 https://apt.bitninja.io/debian bitninja InRelease
Get:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg [198 B]
Ign:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg
Get:17 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg [198 B]
Ign:17 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg
Reading package lists... Done
W: GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
E: The repository 'http://dl.google.com/linux/mod-pagespeed/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@panel:~# apt-get install --reinstall webmin-virtual-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of webmin-virtual-server is not possible, it cannot be downloaded.
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic linux-image-4.15.0-32-generic linux-modules-4.15.0-22-generic linux-modules-4.15.0-32-generic
  linux-modules-extra-4.15.0-32-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Sat, 06/08/2019 - 00:06
andreychek

Hmm, it looks like there's a few errors when running "apt-get update".

One of those looks like an issue with an older Virtualmin repo -- I've modified the instructions to show the newer apt repository for those two sources.list lines... can you try those? It's pointing to "/gpl/vm/6/apt" now rather than "/gpl/ubuntu".

Note that the "mod-pagespeed" repository there also has a similar problem, you may want to consider commenting that out or updating it.

Once the above is done, are you able to perform the update?

-Eric

Sat, 06/08/2019 - 00:28
kurtobando
kurtobando's picture

@andreychek

I was able to perform the update and install the webmin-virtual-server. No error message so far.

However, the error message still returns: An error occurred checking the licence : Invalid host or serial number A renewal can be purchased at http://www.virtualmin.com/shop

Sat, 06/08/2019 - 00:37
andreychek

What output do you receive when running these commands:

dpkg -l webmin-virtual-server
virtualmin license-info
Sat, 06/08/2019 - 00:41
kurtobando
kurtobando's picture
root@panel:~# dpkg -l webmin-virtual-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      Architecture                 Description
+++-==============================================-============================-============================-=================================================================================================
ii  webmin-virtual-server                          6.06-2                       all                          Webmin module for 'Virtualmin Virtual Servers'
root@panel:~# virtualmin license-info
Serial number: GPL
License key: GPL
Expiry date:
Virtual servers: 38
Maximum servers: 50
Servers left: 12
root@panel:~#
Sat, 06/08/2019 - 01:34 (Reply to #7)
kurtobando
kurtobando's picture

Can someone confirm this is a bug?

Sat, 06/08/2019 - 06:05 (Reply to #8)
kurtobando
kurtobando's picture

@andreychek Any ideas where to go about this case?

Sat, 06/08/2019 - 00:43
kurtobando
kurtobando's picture

I tried to run apt-get update again, this returns:

root@panel:~# apt-get update
Ign:1 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Hit:2 http://dl.google.com/linux/mod-pagespeed/deb stable Release
Ign:4 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease
Ign:7 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease
Get:9 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release [7269 B]
Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:8 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [139 B]
Get:14 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release [6553 B]
Hit:12 http://mirror.aktkn.sg/ubuntu bionic-updates InRelease
Get:15 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg [198 B]
Get:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg [198 B]
Hit:11 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:15 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg
Ign:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg
Hit:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:17 https://apt.bitninja.io/debian bitninja InRelease
Reading package lists... Done
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Created a separate thread instead https://www.virtualmin.com/node/66219

Sat, 06/08/2019 - 08:49
andreychek

Please be patient, troubleshooting issues can take some time :-)

We have minimal availability over the weekend (there's only 4 of us working at Virtualmin), and your posts were coming through while we were all asleep.

I had modified the documentation when I posted Comment #4... it doesn't look like your sources.list file is using the updated repo path that I mentioned though.

My recommendation would be to review the updated sources.list mentioned in the documentation, and to ensure it matches what's on your system:

https://www.virtualmin.com/documentation/installation/uninstalling

Sat, 06/08/2019 - 09:05 (Reply to #11)
kurtobando
kurtobando's picture

Hello @andreychek,

Thank you for getting back to me.

My apology for the multiple threads. Yes, I understand the situation and appreciate your understanding for this thread.

I follow the new docs, https://www.virtualmin.com/documentation/installation/uninstalling

updated /etc/apt/sources.list

deb http://software.virtualmin.com/gpl/vm/6/apt/ virtualmin-bionic main
deb http://software.virtualmin.com/gpl/vm/6/apt/ virtualmin-universal main

returns:

[root@panel ~]# apt-get update
Ign:1 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Hit:2 http://dl.google.com/linux/mod-pagespeed/deb stable Release
Hit:4 https://apt.bitninja.io/debian bitninja InRelease
Ign:5 http://software.virtualmin.com/gpl/vm/6/apt virtualmin-bionic InRelease
Hit:6 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:8 http://software.virtualmin.com/gpl/vm/6/apt virtualmin-universal InRelease
Err:10 http://software.virtualmin.com/gpl/vm/6/apt virtualmin-bionic Release
  404  Not Found [IP: 149.28.242.101 80]
Hit:11 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Err:12 http://software.virtualmin.com/gpl/vm/6/apt virtualmin-universal Release
  404  Not Found [IP: 149.28.242.101 80]
Get:9 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [139 B]
Hit:13 http://mirror.nus.edu.sg/ubuntu bionic InRelease
Get:14 http://mirror.aktkn.sg/ubuntu bionic-updates InRelease [88.7 kB]
Get:15 http://mirror.nus.edu.sg/ubuntu bionic-backports InRelease [74.6 kB]
Reading package lists...
E: The repository 'http://software.virtualmin.com/gpl/vm/6/apt virtualmin-bionic Release' does not have a Release file.
E: The repository 'http://software.virtualmin.com/gpl/vm/6/apt virtualmin-universal Release' does not have a Release file.

Ubuntu version

[root@panel ~]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

could you shed some light?

Sat, 06/08/2019 - 10:41
andreychek

Hrm, I've asked Joe for some clarification on what the correct GPL repo path should be, I'll post here once I hear back from him.

-Eric

Sat, 06/08/2019 - 11:17
andreychek

After talking to Joe, I was wrong about the path, it should be "/vm/6/gpl/apt".

I've updated the docs to reflect that -- you'll also need to update the two lines in your sources.list file.

-Eric

Sat, 06/08/2019 - 12:04
kurtobando
kurtobando's picture

Hello @andreychek and the rest of the team.

Spot on. This is now working as expected. Much appreciated for the support. You may tag this case as solved now.