This crash happens weekly:
logrotate_script: line 2: /etc/init.d/php-fpm7: not found
error: error running shared postrotate script for '/var/log/php7/*.log '
1679635286 C Caught internal_error: 'priority_queue_insert(...) called on an invalid item.'.
---DUMP---
Stack dump not enabled.
Looking at the /etc/logrotate.d/php-fpm7
/var/log/php7/*.log {
rotate 7
daily
missingok
notifempty
delaycompress
compress
dateext
sharedscripts
postrotate
/etc/init.d/php-fpm7 --ifstarted --quiet reopen
endscript
}
and trying to run /etc/init.d/php-fpm7 --ifstarted --quiet reopen, we get this error:
bash: /etc/init.d/php-fpm7: /sbin/openrc-run: bad interpreter: No such file or directory
It seems that openrc is missing.
This crash happens weekly:
Looking at the
/etc/logrotate.d/php-fpm7and trying to run
/etc/init.d/php-fpm7 --ifstarted --quiet reopen, we get this error:bash: /etc/init.d/php-fpm7: /sbin/openrc-run: bad interpreter: No such file or directoryIt seems that
openrcis missing.