Question

centreon 23.10 web interface, few pages not working


Userlevel 1
Badge +6

Hello everyone,

I installed centreon 23.10, and i’m working on retrieving my services, and getting them to work, but there’s a catch : few of my webpages, crucials ones, aren’t accessibles, while they were before. Hosts configuration wasn’t accessible for quite a while, but recently, i had the service configuration, and the whole status details in the monitoring tab. It seems to work, but doesn’t display any services. And it’s not that the services aren’t working either, as you can see on the resources status screenshot.

I think it’s a php error, somewhere, but i’ll need the help of someone who know better than me,  how the inner side of centreon work.

 

thanks for the help !


14 replies

Userlevel 6
Badge +19

Hi @zach can you check in /var/log/php-fpm/centreon-error.log if you have errors when accessing to these pages?

Userlevel 1
Badge +6

Hi @zach can you check in /var/log/php-fpm/centreon-error.log if you have errors when accessing to these pages?

hello @Laurent, hope you’re doing great.

Well, i don’t have quite file like centreon-error.log, sadly. (i looked it up in the entire machine)

 

hovewer, i have some files, similar to what you asked me :

And here’s a copy/paste of the /var/log/php8.1-fpm.log :

 

[23-Jun-2024 00:00:05] NOTICE: error log file re-opened
[24-Jun-2024 12:15:04] NOTICE: [pool centreon] child 2740714 exited with code 0 after 2155.093375 seconds from start
[24-Jun-2024 12:15:04] NOTICE: [pool centreon] child 2755007 started
[24-Jun-2024 12:17:19] NOTICE: [pool centreon] child 2740713 exited with code 0 after 2290.931599 seconds from start
[24-Jun-2024 12:17:19] NOTICE: [pool centreon] child 2755955 started
[24-Jun-2024 14:29:38] NOTICE: [pool centreon] child 2795292 exited with code 0 after 1973.965135 seconds from start
[24-Jun-2024 14:29:38] NOTICE: [pool centreon] child 2808268 started
[24-Jun-2024 14:48:46] NOTICE: [pool centreon] child 2799925 exited with code 0 after 2403.867927 seconds from start
[24-Jun-2024 14:48:46] NOTICE: [pool centreon] child 2815723 started
[24-Jun-2024 14:55:23] NOTICE: Terminating ...
[24-Jun-2024 14:55:23] NOTICE: exiting, bye-bye!
[24-Jun-2024 14:56:05] NOTICE: fpm is running, pid 508
[24-Jun-2024 14:56:05] NOTICE: ready to handle connections
[24-Jun-2024 14:56:05] NOTICE: systemd monitor interval set to 10000ms
[24-Jun-2024 15:01:18] NOTICE: Terminating ...
[24-Jun-2024 15:01:18] NOTICE: exiting, bye-bye!
[24-Jun-2024 15:01:39] NOTICE: fpm is running, pid 513
[24-Jun-2024 15:01:39] NOTICE: ready to handle connections
[24-Jun-2024 15:01:39] NOTICE: systemd monitor interval set to 10000ms
[24-Jun-2024 15:32:58] NOTICE: Terminating ...
[24-Jun-2024 15:32:58] NOTICE: exiting, bye-bye!
[24-Jun-2024 15:33:27] NOTICE: fpm is running, pid 511
[24-Jun-2024 15:33:27] NOTICE: ready to handle connections
[24-Jun-2024 15:33:27] NOTICE: systemd monitor interval set to 10000ms
[24-Jun-2024 15:46:58] NOTICE: Terminating ...
[24-Jun-2024 15:46:58] NOTICE: exiting, bye-bye!
[24-Jun-2024 15:47:30] NOTICE: fpm is running, pid 510
[24-Jun-2024 15:47:30] NOTICE: ready to handle connections
[24-Jun-2024 15:47:30] NOTICE: systemd monitor interval set to 10000ms
[24-Jun-2024 15:51:38] NOTICE: Terminating ...
[24-Jun-2024 15:51:38] NOTICE: exiting, bye-bye!
[24-Jun-2024 15:51:59] NOTICE: fpm is running, pid 512
[24-Jun-2024 15:51:59] NOTICE: ready to handle connections
[24-Jun-2024 15:51:59] NOTICE: systemd monitor interval set to 10000ms
[24-Jun-2024 21:07:13] NOTICE: [pool centreon] child 111725 exited with code 0 after 2071.428351 seconds from start
[24-Jun-2024 21:07:13] NOTICE: [pool centreon] child 125225 started
[24-Jun-2024 21:40:47] NOTICE: [pool centreon] child 125225 exited with code 0 after 2014.802593 seconds from start
[24-Jun-2024 21:40:47] NOTICE: [pool centreon] child 138405 started
[24-Jun-2024 21:56:28] NOTICE: [pool centreon] child 130517 exited with code 0 after 2149.985310 seconds from start
[24-Jun-2024 21:56:28] NOTICE: [pool centreon] child 144479 started
[25-Jun-2024 02:38:55] NOTICE: [pool centreon] child 241250 exited with code 0 after 2136.589497 seconds from start
[25-Jun-2024 02:38:55] NOTICE: [pool centreon] child 255129 started
[25-Jun-2024 02:39:37] NOTICE: [pool centreon] child 241365 exited with code 0 after 2159.628358 seconds from start
[25-Jun-2024 02:39:37] NOTICE: [pool centreon] child 255516 started
[25-Jun-2024 03:14:49] NOTICE: [pool centreon] child 255129 exited with code 0 after 2153.641569 seconds from start
[25-Jun-2024 03:14:49] NOTICE: [pool centreon] child 269269 started

[25-Jun-2024 03:15:36] NOTICE: [pool centreon] child 255516 exited with code 0 after 2159.766056 seconds from start
[25-Jun-2024 03:15:36] NOTICE: [pool centreon] child 269562 started

 

Let me know if there’s something else i can provide for, or if you see another option to solve this issue.
have a good day !

Userlevel 6
Badge +19

Hi @zach  sorry yes on Debian file is /var/log/apache2/error.log

Userlevel 1
Badge +6

Hi @Laurent sorry yes on Debian file is /var/log/apache2/error.log

Here’s a tail 30 :

[Wed Jun 26 16:20:20.869393 2024] [proxy_fcgi:error] [pid 727] [client 10.30.50.18:48706] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:21.052632 2024] [proxy_fcgi:error] [pid 1154] [client 10.30.50.18:48716] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:25.739814 2024] [proxy_fcgi:error] [pid 728] [client 10.30.50.18:48718] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:27.514244 2024] [proxy_fcgi:error] [pid 730] [client 10.30.50.18:54056] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60902&poller=1
[Wed Jun 26 16:20:27.706208 2024] [proxy_fcgi:error] [pid 1151] [client 10.30.50.18:54066] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:28.015188 2024] [proxy_fcgi:error] [pid 729] [client 10.30.50.18:54058] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60904
[Wed Jun 26 16:20:34.471682 2024] [proxy_fcgi:error] [pid 731] [client 10.30.50.18:54082] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&o=c&command_id=367&type=2
[Wed Jun 26 16:20:34.535498 2024] [proxy_fcgi:error] [pid 892] [client 10.30.50.18:54078] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:35.873913 2024] [proxy_fcgi:error] [pid 727] [client 10.30.50.18:41930] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:20:36.052439 2024] [proxy_fcgi:error] [pid 1154] [client 10.30.50.18:41932] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "/" in /usr/share/centreon/www/class/centreonHost.class.php on line 38', referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2

And, when i comment the line 37, simply by curiosity, still tail 30 :

 

[Wed Jun 26 16:22:29.265898 2024] [mpm_prefork:notice] [pid 698] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Jun 26 16:22:56.805335 2024] [ssl:warn] [pid 545] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 26 16:22:56.988095 2024] [ssl:warn] [pid 696] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 26 16:22:56.992244 2024] [proxy:error] [pid 714] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9042 (127.0.0.1:9042) failed
[Wed Jun 26 16:22:56.992283 2024] [proxy_fcgi:error] [pid 714] [client 10.30.50.18:52548] AH01079: failed to make connection to backend: 127.0.0.1, referer: http://10.30.50.38/centreon/main.get.php?p=60801&o=c&command_id=367&type=2
[Wed Jun 26 16:22:56.993543 2024] [mpm_prefork:notice] [pid 696] AH00163: Apache/2.4.59 (Debian) OpenSSL/1.1.1w configured -- resuming normal operations
[Wed Jun 26 16:22:56.993567 2024] [core:notice] [pid 696] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 26 16:22:56.996460 2024] [proxy:error] [pid 718] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9042 (127.0.0.1:9042) failed
[Wed Jun 26 16:22:56.996500 2024] [proxy_fcgi:error] [pid 718] [client 10.30.50.18:52564] AH01079: failed to make connection to backend: 127.0.0.1, referer: http://10.30.50.38/centreon/main.get.php?p=60801&type=2
[Wed Jun 26 16:24:19.186353 2024] [authz_core:error] [pid 891] [client 10.30.50.39:51438] AH01630: client denied by server configuration: /var/www/html/server-status

 

Userlevel 1
Badge +6

okay, here’s the news : i didn’t had the file ServiceProvider.php in my machine. that’s why it didn’t worked.

now, the question is where do i put it ?

Userlevel 1
Badge +6

coming with news : file ServiceProvider,php found on the centreon github has been placed correctly, in the /usr/share/centreon/src/Centreon directory. Now, other errors come by : mainly with the centroenHost.class.php file : 

snippet of /var/log/apache2/error.log :

[Mon Jul 01 11:55:55.647795 2024] [proxy_fcgi:error] [pid 727] [client 10.30.50.18:49882] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Class "CentreonLicense\\ServiceProvider" not found in /usr/share/centreon/www/class/centreonHost.class.php:1613\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(222): CentreonHost->isAllowed()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#3 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#4 {main}\n  thrown in /usr/share/centreon/www/class/centreonHost.class.php on line 1613', referer: http://10.30.50.38/centreon/main.php?p=60101&o=c&host_id=39
[Mon Jul 01 11:56:01.522962 2024] [proxy_fcgi:error] [pid 869] [client 10.30.50.18:49924] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "CentreonLicense\\ServiceProvider" not found in /usr/share/centreon/www/class/centreonHost.class.php:1613\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(222): CentreonHost->isAllowed()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#3 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#4 {main}\n thrown in /usr/share/centreon/www/class/centreonHost.class.php on line 1613', referer: http://10.30.50.38/centreon/main.get.php?p=60101

As you can see I seem to have a problem with the class CentreonLicense. I’ve checked, and it’s neither present in the filesystem, nor in the ServiceProvider.php. 

i think that i have a namespace which is supposed to be in my filesystem, but isn’t. I’ve check on the github, and didn’t found the directory, so maybe it sin’t this.

But if it is, do i need to create it, and copy the ServiceProvider.php file in it ?

Userlevel 1
Badge +6

welcome to “ah, yes, i love when it doesn’t work”, episode 8 : Today, we have some progress, being the following :

I decided to change the definition path of the ServiceProvider namespace, from Centreon to CentreonLicense\ServiceProvider, in the use case at the beginning of CentreonProvider.php. I also decided to use it in the centreonHost.class.php. which seems to work, since i’ve got the list of my host back, but still can’t configure some. ( i also got the monitoring tabs back, in the meantime).

Now, i’m stuck at here :

Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant CentreonLicense\\ServiceProvider::LM_PRODUCT_NAME in /usr/share/centreon/www/class/centreonHost.class.php:1608\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(217): CentreonHost->isAllowed()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#3 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#4 {main}\n  thrown in /usr/share/centreon/www/class/centreonHost.class.php on line 1608', referer: http://10.30.50.38/centreon/main.get.php?p=60101

 

As can be seen, i have the constant CentreonLicense\\ServiceProvier::LM_PRODUCT_NAME uninitialized. ( that’s because it doesn’t even exist). while i browse the github of centreon, to try to find what this constant is filled with, i’ll be thankful if any of you could mayhaps provide me with it.

I also thinks ther’s some mistake on the ServiceProvider.php file, because there’s mutiples files named like this on the github, and i may have take the wrong one.

Userlevel 1
Badge +6

here’s the last news :

i’ve decided to replace my files, notably, the whole CentroenLicense directory (which was missing) and the centreonHost.class.php file. Now, i still do have my hosts list, and still can’t load the configuration page. The problem is due to lm.license in my container not being initialized. 

I can’t find where is the container initialized, and i’m a bit afraid to break it all. I’ll try some other method, since so far, it didn’t worked out.

Userlevel 1
Badge +6

[Thu Jul 04 11:36:15.913699 2024] [proxy_fcgi:error] [pid 274537] [client 10.30.50.18:52234] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Pimple\\Exception\\UnknownIdentifierException: Identifier "lm.license" is not defined. in /usr/share/centreon/vendor/pimple/pimple/src/Pimple/Container.php:105\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(1611): Pimple\\Container->offsetGet()\n#1 /usr/share/centreon/www/class/centreonHost.class.php(217): CentreonHost->isAllowed()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#3 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#4 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#5 {main}\n  thrown in /usr/share/centreon/vendor/pimple/pimple/src/Pimple/Container.php on line 105', referer: http://10.30.50.38/centreon/main.php?p=60101&o=c&host_id=39
[Thu Jul 04 11:36:15.933986 2024] [proxy_fcgi:error] [pid 216724] [client 10.30.50.18:52246] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Pimple\\Exception\\UnknownIdentifierException: Identifier "lm.license" is not defined. in /usr/share/centreon/vendor/pimple/pimple/src/Pimple/Container.php:105\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(1611): Pimple\\Container->offsetGet()\n#1 /usr/share/centreon/www/class/centreonHost.class.php(217): CentreonHost->isAllowed()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#3 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#4 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#5 {main}\n  thrown in /usr/share/centreon/vendor/pimple/pimple/src/Pimple/Container.php on line 105', referer: http://10.30.50.38/centreon/main.get.php?p=60101




Here’s the /var/log/apache2/error.log file btw

Userlevel 1
Badge +6

well, sadly, my ServiceProvider.php file, found here, on the official page, seems to be obfuscated. Since LM_LICENSE and other variable are directly refering to this file, i’m left with three choices :

  • finding a deofuscated version
  • deobfuscating it myself
  • defining the variable myself, in hope it might work

I’ll start with the third options, and see if it work.

ServiceProvider.php file

<?phpif(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('20F0A221C7C4F8A7AAQAAAAXAAAABHAAAACABAAAAAAAAAD/emBnI1+KsA3rZP/VpHrxjwK/1OTRLJTZmOjZQQ6WKnRMWrZuJy02rN+de54v9qx79NtXGvbKNdCoLUBJ5nRLgpQ1wAKOnQqz9WvRKh7e2md8Y+/CegnS44eqfKwQoerEGp5eG8vd6i52ru6Zrs+qPVEAAAAIGQAA4RJZ8V1eBd9L5aVMy2un/CiTLBDIrcklfCLVES4ZpuS4ca2jbTBr+priOZLBUk0PcMYij5Kjqr2aepknBXk2EIuVJjbcBKkv6QhLIoEPTP2HsUuJr4Fm2FFwoaVd2TzE5BLuDPzeVcIXezonupiK0bGUGLKqJ4GCWjaIrBRlWTF+utFro+w71TlWhnDIQF06wdLYroBzjFgIB5sDE4GI4teX0wLdYmFtAP3CBAlnbKZYIbTGPmm51HbCDxAP66ZEnEph8UiIAG1sFrzdqx3Z8huw/WaVxRxCd3gqmOR35vH9KG6J4ikaqwwiuuVJWTYe8J+f2Lz8s3hFm54H+B4XDMKHijmBZit8rK09x9k3OGzvcd7MmdasAgSNi7rCk0paGGtlRL6JN0xjwME30yVfYvBFJVL6Qg4t+M2c5tObbC1bl0Mi7MQEr08JNl4ZZIkvKDhCecgr3Mc4PF6RuOc395/pH5giJvTZ0n9HRv6dD8yI+am+K3tYJ43VNMGx36LBQVTZrXwwKL8oJ0xT7ge3LEjGp+NT6cS9Whuz4Q0GhbUO0v1nWB3nYmsNW0jFjdtCfBZisQacraPXmPkhpR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rz9WiAnGSQ3AXS6uqXUkM+RwVDhyKlM1SPRFLEPHc8mQfqadOuFQTouMubOFIxz2wJjeF5EkylRnbIhlJLSmzoAJtvzP2+zr+8TsBMln2/OlnVSNUYp30mkAQmNnTKDQJXZY+ciR5oc8TpzCICjlgc3Gul5JA3YKsGZjG6KTHAxhlWENE0HhXa7v1byOrhBo8zgoKy+6bKz6eccrlVovlXoX3VsMbetIT/3j3+uo76IUaXjzLzeaql4mZt3Du4eIMUdFIwMNYmGhFfuXyYBsPlT7PCksZxUcoPF5QNONh3iJKPpC4WkPIM9bjF+g+44BIvvPBv07iAuKJu7xIX3hdTLEkfRzZCifW1l49QuueV0WdZX1/ItnexTYCPj40xGo9yLRJKTZfUIHQkhF0tlrXspRRTnnMXaQnlAAAAAA==');
Userlevel 6
Badge +19

Hi @zach can you try to reinstall centreon-web packages?

 

Userlevel 1
Badge +6

Hi @zach can you try to reinstall centreon-web packages?

 

just did, and nope, didn’t solved the problem, sadly. Here’s /var/apache2/error.log : 

[Fri Jul 05 10:38:12.780855 2024] [proxy_fcgi:error] [pid 867] [client 10.30.50.18:37680] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Class "CentreonLicense\\ServiceProvider" not found in /usr/share/centreon/www/class/centreonHost.class.php:1605\nStack trace:\n#0 /usr/share/centreon/www/class/centreonHost.class.php(214): CentreonHost->isAllowed()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(455): CentreonHost->getLimitedList()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/host.php(109): require_once('...')\n#3 /usr/share/centreon/www/main.get.php(304): include_once('...')\n#4 {main}\n  thrown in /usr/share/centreon/www/class/centreonHost.class.php on line 1605', referer: http://10.30.50.38/centreon/main.get.php?p=60101



Still the same problem with ServiceProvider.php :(

Userlevel 1
Badge +6

updated to 24, still the same issue.

[Mon Jul 08 16:16:56.133960 2024] [proxy_fcgi:error] [pid 136416] [client 10.30.50.18:43890] AH01071: Got error 'PHP message: [2024-07-08T16:16:56+0200] [CRITICAL] Uncaught Error: Class "CentreonLicense\\ServiceProvider" not found {"exception":"[object] (Error(code: 0): Class \\"CentreonLicense\\\\ServiceProvider\\" not found at /usr/share/centreon/www/class/centreonHost.class.php:1605)"}\n', referer: http://10.30.50.38/centreon/main.get.php?p=60101

 

Userlevel 1
Badge +6

after a bit of ups and downs, turned out it’s the pimple container that’s initializing, or trying to, a LM_LICENSE id. i’ll need to clarify on my side what’s a container, but all i did, was commenting the check checking condition in Container.php, around line 105, and it now works. or so does it seems, i haven’t seen any problem with it so far.

Reply