Skip to main content

Hi,

when I export a configuration, on all the pollers file /var/log/centreon-gorgone/gorgoned.log reports:

2025-01-07 11:00:13 - ERROR - [action] Copy processing - Can't copy file to /etc/centreon/centreon_vmware.json, Permission denied
2025-01-07 11:00:13 - ERROR - [action] Copy processing - MD5 does not match
2025-01-07 11:00:13 - ERROR - [action] Copy processing - MD5 does not match
2025-01-07 11:02:13 - ERROR - [action] Copy processing - Can't copy file to /etc/centreon/centreon_vmware.json, Permission denied
2025-01-07 11:02:13 - ERROR - [action] Copy processing - MD5 does not match
2025-01-07 11:02:13 - ERROR - [action] Copy processing - MD5 does not match
2025-01-07 14:40:40 - ERROR - [action] Copy processing - Can't copy file to /etc/centreon/centreon_vmware.json, Permission denied
2025-01-07 14:40:40 - ERROR - [action] Copy processing - MD5 does not match
2025-01-07 14:40:40 - ERROR - [action] Copy processing - MD5 does not match

These messages started after a restore of the central server.

I requested and received new licenses, but I cannot get rid of the message “MD5 does not match”

and the configuration export doesn’t work as expected.

 

How can I fix this issue?

 

It’s an on premise installation, Centreon version 24.10.3

 

Egidio

 

 

 

ll /etc/centreon/centreon_vmware.json
-rw-rw---- 1 centreon centreon 2 Dec 30 04:40 /etc/centreon/centreon_vmware.json

file rights?


No, it was:

-rw-r----- 1 centreon centreon 440 Dec 30 17:05 /etc/centreon/centreon_vmware.json

then I did

chmod g+w centreon_vmware.json

and now it is:

-rw-rw---- 1 centreon centreon 2 Jan  8 12:00 /etc/centreon/centreon_vmware.json

but the content changed this way:

cat /etc/centreon/centreon_vmware.json
{}

 

On /var/log/centreon-gorgone/gorgoned.log a row was written:

2025-01-08 12:00:10 - ERROR - -action] Copy processing - can't change permission of file /etc/centreon/centreon_vmware.json: Operation not permitted

 

By the way, I can restore the json file from the backup


This is the actual behaviour:

  1. When I export the configuration to the pollers, /etc/centreon/centreon_vmware.json file on pollers is overwritten with {}
  2. On the central server, on /var/log/centreon-gorgone/gorgoned.log for each poller configuration’s export is added a row with the message: “2025-01-08 17:15:15 - ERROR - Rlegacycmd] Cannot process message type 'SENDCBCFGthrowing it away.”
  3. On the pollers, /var/log/centreon-gorgone/gorgoned.log says: “2025-01-08 17:15:15 - ERROR - Eaction] Copy processing - can't change permission of file /etc/centreon/centreon_vmware.json: Operation not permitted”. The previous messages don’t appear anymore

Can someone help me?

Egidio


Today I found this:

 


I configured the additional connectors and now /etc/centreon/centreon_vmware.json is not overwritten anymore.

Errors 2 and 3 are still there


Reply