Error: You do not have a Virtualmin license file

Hi!

I have installed in a Centos 5.4 server Virtualmin Version 3.76.gpl, and also have the file
/etc/virtualmin-license.txt with

SerialNumber=GPL
LicenseKey=GPL

Nevertheless when I click in ‘Virtualmin Package Updates’ I received the error:
An error occurred contacting the Virtualmin updates server : You do not have a Virtualmin license file

I have the same configuration in amazon EC2 and works perfect.

Thank you for your help!
Humberto

Hmm, perhaps your repository isn’t quite right… in /etc/yum.repos.d, there should be a file along the lines of “virtualmin.repo”.

Can you paste in the contents of that file?

-Eric

Hi Eric,

This is the content of the file in /etc/yum.repos.d/virtualmin.repo

[virtualmin]
name=Red Hat Enterprise $releasever - $basearch - Virtualmin
baseurl=http://software.virtualmin.com/gpl/rhel/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1
priority=2

[virtualmin-universal]
name=Virtualmin Distribution Neutral
baseurl=http://software.virtualmin.com/gpl/universal/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1
priority=2

Oh hrm, I didn’t pick up on this at first.

You said your license file was “/etc/virtualmin-license.txt”… there actually shouldn’t be a .txt on the end of that, it should just be:

/etc/virtualmin-license

If you rename the file, does that help?

-Eric

Yes!
Help 100%

Thank you very much

-Humberto