Centreon 22.04 chmod(): Operation not permitted
Closed this issue · 10 comments
In command line, I have this :
PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 410 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 414 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 419 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 424 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 428 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 428 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 428 PHP Warning: chown(): Operation not permitted in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 428
I have the same problem after update 21.10.6 -> 22.04 Centos7
Same problem on fresh install... (AlmaLinux release 8.6 (Sky Tiger))
Edit :
I just reinstall on Centos 7 (fresh install) with https://raw.githubusercontent.com/centreon/centreon/master/unattended.sh script.
Centreon 22.04.0
(commit 8b957a9806)
=> Errors/warnings in move files
Warningchmod(): Operation not permitted
Warningchmod(): Operation not permitted
....
Same here with almalinux 8.6 and upgrade centreon 21.10
Same here with an upgrade from centreon 21.10.5 to centreon 22.04.0, how fix that ?
I resolve with grant this permission on Central Server
chown apache:centreon-engine /etc/centreon-engine/*.cfg
chown apache:centreon-broker /etc/centreon-broker/*.json
I resolve with grant this permission on Central Server
chown apache:centreon-engine /etc/centreon-engine/*.cfg
chown apache:centreon-broker /etc/centreon-broker/*.json
Hello,
Thank you, my problem is solved
Hello,
It works for me too thank you barte91 !
Good for me too, thanks !