Skip to main content
Solved

Auto Discovery - License is required

  • December 14, 2023
  • 6 replies
  • 369 views

Forum|alt.badge.img

I’ve enabled my token for licence IT-100 form fresh install VMware Centreon 23.10 ova, but auto discovery stay disable: Auto Discovery - License is required

Best answer by Gerome25

I solved my problem by creating an empty "epp.license" file.

ls -lah /etc/centreon/license.d/
total 8.0K
drwxrwxr-x. 2 apache apache 25 Dec 20 05:20 .
drwxrwxr-x. 4 centreon centreon 4.0K Dec 19 16:15 ..
-rw-r--r--. 1 root root 5 Dec 20 05:20 epp.license

Then changing the rights:

chown apache:apache /etc/centreon/license.d/*
ls -lah /etc/centreon/license.d/
total 8.0K
drwxrwxr-x. 2 apache apache 25 Dec 20 05:20 .
drwxrwxr-x. 4 centreon centreon 4.0K Dec 19 16:15 ..
-rw-r--r--. 1 apache apache 5 Dec 20 05:20 epp.license

Then I deleted the token:

 mysql -u root centreon
UPDATE `options` SET `options`.`value` = NULL WHERE `options`.`key` IN ('impCompanyToken','impInfo');

Then add the token and I have my "epp.license" file with the correct information and the licence activated.

 

6 replies

Forum|alt.badge.img+1
  • Steward *
  • December 19, 2023

Hi everyone,

I have the same problem with a new VMware Centreon 23.10 ova installation:

 


Forum|alt.badge.img+1
  • Steward *
  • December 19, 2023

I don’t have a file epp.license :

maybe that's the problem?


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • December 19, 2023

Hi @Gerome25 please change rights on “/etc/centreon/license.d” directory:

chown apache:apache /etc/centreon/license.d

 


Forum|alt.badge.img+1
  • Steward *
  • Answer
  • December 20, 2023

I solved my problem by creating an empty "epp.license" file.

ls -lah /etc/centreon/license.d/
total 8.0K
drwxrwxr-x. 2 apache apache 25 Dec 20 05:20 .
drwxrwxr-x. 4 centreon centreon 4.0K Dec 19 16:15 ..
-rw-r--r--. 1 root root 5 Dec 20 05:20 epp.license

Then changing the rights:

chown apache:apache /etc/centreon/license.d/*
ls -lah /etc/centreon/license.d/
total 8.0K
drwxrwxr-x. 2 apache apache 25 Dec 20 05:20 .
drwxrwxr-x. 4 centreon centreon 4.0K Dec 19 16:15 ..
-rw-r--r--. 1 apache apache 5 Dec 20 05:20 epp.license

Then I deleted the token:

 mysql -u root centreon
UPDATE `options` SET `options`.`value` = NULL WHERE `options`.`key` IN ('impCompanyToken','impInfo');

Then add the token and I have my "epp.license" file with the correct information and the licence activated.

 


Forum|alt.badge.img
  • Steward *
  • December 29, 2023

@Gerome25 I followed your procedue, but it did not work for me - I still need a license for Auto Discovery. The difference I see - your epp.license file size is 5 bytes. What’s inside?

 


Forum|alt.badge.img
  • Steward *
  • December 29, 2023

UPDATE

It worked, but I had to wait for about an hour. Thanks!