Public bug reported:

Getting weekly cron warning emails during logrotation after php5-fpm
package switched to upstart in Saucy.

root@ops:~# lsb_release -rd
Description:    Ubuntu Saucy Salamander (development branch)
Release:        13.10

root@ops:~# apt-cache policy php5-fpm
php5-fpm:
  Installed: 5.5.3+dfsg-1ubuntu1
  Candidate: 5.5.3+dfsg-1ubuntu1
  Version table:
 *** 5.5.3+dfsg-1ubuntu1 0
        500 http://uk.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

root@ops:~# cat /etc/logrotate.d/php5-fpm 
/var/log/php5-fpm.log {
        rotate 12
        weekly
        missingok
        notifempty
        compress
        delaycompress
        postrotate
                invoke-rc.d php5-fpm reopen-logs > /dev/null
        endscript
}

root@ops:~# dpkg -S /etc/logrotate.d/php5-fpm 
php5-fpm: /etc/logrotate.d/php5-fpm

root@ops:~# invoke-rc.d php5-fpm reopen-logs
initctl: invalid command: reopen-logs
Try `initctl --help' for more information.
invoke-rc.d: initscript php5-fpm, action "reopen-logs" failed.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to