Skip to main content
Question

gorgone log rotation failed

  • February 16, 2026
  • 1 reply
  • 9 views

Pascal
Forum|alt.badge.img+7

Since the last update,

gorgoned logs rotation failed:

2026-02-16T00:00:06.432442+01:00 central logrotate[510870]: error: gorgoned:9 unknown user '@USER@'
2026-02-16T00:00:06.432518+01:00 central logrotate[510870]: error: found error in /var/log/centreon-gorgone/gorgoned.log , skipping
2026-02-16T00:00:06.432543+01:00 central logrotate[510870]: error: found error in file gorgoned, skipping

root@central:/var/log/centreon-gorgone# cat /etc/logrotate.d/gorgoned
/var/log/centreon-gorgone/gorgoned.log {
copytruncate
weekly
rotate 52
compress
delaycompress
notifempty
missingok
su @USER@ @GROUP@
}

This behaviour occured on :

  • Centreon 25.10.7 Debian
  • Centreon 24.10.18 Alma Linux 8

I changed “@USER@ @GROUP@” by “root root”

1 reply

Forum|alt.badge.img+11

Indeed, i raised an issue regarding this, i suppose the @USER@ and @GROUP@ are macros supposed to be replaced on postinstall.

 

[25.10.3] centreon-gorgone logrotate configuration broke · Issue #3105 · centreon/centreon-collect


Here i would simply replace them as they used to be before, so 

 

/var/log/centreon-gorgone/gorgoned.log {
copytruncate
weekly
rotate 52
compress
delaycompress
notifempty
missingok
su root root
}