Re: after upgrade, can't restart apache via cron

From: Hiroki Sato <hrs_at_FreeBSD.org>
Date: Fri, 23 Nov 2012 23:37:54 +0900 (JST)
"Michael W. Lucas" <mwlucas_at_michaelwlucas.com> wrote
  in <20121123031753.GA59632_at_bewilderbeast.blackhelicopters.org>:

mw> eval: setfib: not found
mw> /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
mw>
mw> If I run /usr/local/etc/rc.d/apache22 restart from the command line, I
mw> can restart httpd without trouble.
mw>
mw> Any thoughts?

 This was due to $PATH in the cron job as already pointed out, but
 this should not happen.  I attached a patch to use full-path for
 external commands in rc.subr.  If there is no objection to this
 change I will commit it.

-- Hiroki

Received on Fri Nov 23 2012 - 13:39:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC