Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 20:06:43 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Cc:        current@freebsd.org
Subject:   Re: after upgrade, can't restart apache via cron
Message-ID:  <CAOjFWZ7icN-aLiLeTNMA3NwiPTWmnh%2Bjt9WYzWru4YFG0UdyhA@mail.gmail.com>
In-Reply-To: <20121123031753.GA59632@bewilderbeast.blackhelicopters.org>
References:  <20121123031753.GA59632@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The interrupted unix faq, a wonderful thing.  :) Covers this exactly. :)

http://www.wonkity.com/~wblock/docs/html/interrupted.html
On Nov 22, 2012 7:28 PM, "Michael W. Lucas" <mwlucas@michaelwlucas.com>
wrote:

>
>
> FreeBSD bewilderbeast.blackhelicopters.org 10.0-CURRENT FreeBSD
> 10.0-CURRENT #15: Thu Nov  8 14:02:45 EST 2012
> mwlucas@bewilderbeast.blackhelicopters.org:/usr/obj/usr/src/sys/GENERIC
>  amd64
>
> I can manually restart apache22 with the following /etc/rc.conf entries:
>
> apache22_enable="YES"
> apache22_fib=0
>
> I have a cron entry that restarts apache regularly, to compensate for
> some mysql daftness.
>
> 13  *  * * * /usr/local/etc/rc.d/apache22 restart
>
> When this job runs, I get the following email:
>
> Performing sanity check on apache22 configuration:
> Syntax OK
> Stopping apache22.
> Waiting for PIDS: 59501.
> Performing sanity check on apache22 configuration:
> Syntax OK
> Starting apache22.
> eval: setfib: not found
> /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
>
> If I run /usr/local/etc/rc.d/apache22 restart from the command line, I
> can restart httpd without trouble.
>
> Any thoughts?
>
> ==ml
>
> --
> Michael W. Lucas
> http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
> Latest book: SSH Mastery
> http://www.michaelwlucas.com/nonfiction/ssh-mastery
> mwlucas@michaelwlucas.com, Twitter @mwlauthor
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7icN-aLiLeTNMA3NwiPTWmnh%2Bjt9WYzWru4YFG0UdyhA>