[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart
Robert Pendell
1230917 at bugs.launchpad.net
Mon Apr 28 14:36:54 UTC 2014
Trusty 14.04 is out and the current php5-fpm package still has this
issue as reported in my cron job task.
/etc/cron.daily/logrotate:
initctl: invalid command: reopen-logs
Try `initctl --help' for more information.
invoke-rc.d: initscript php5-fpm, action "reopen-logs" failed.
error: error running non-shared postrotate script for /var/log/php5-fpm.log of '/var/log/php5-fpm.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
Now then my question is why not access the init.d script (apparently
still included) via the services command or directly? I noted at least
one other service that does the same.
For now I replaced invoke-rc.d with service and I guess I'll find out in
a week or so how it goes.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upstart
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions
More information about the Ubuntu-server-bugs
mailing list