From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 04:06:45 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E5B26BD for ; Fri, 23 Nov 2012 04:06:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id B65E88FC08 for ; Fri, 23 Nov 2012 04:06:44 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so5750512lbb.13 for ; Thu, 22 Nov 2012 20:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W0+C4+6ngQO3y4uf/UsIq07u/nIOx6gaPLLxgwFLcbU=; b=gU3uZH7K5fqz08cirNNl5QYal+oe6rvMeE7GPt2fbbkuSujLVWrBylgAmlMd0Hpy7/ 2RjFBPRTNdsGq3tLPbwSLrQVk1ZAZy8RIpmYRdn1m4ZOpgMEzBVfe5cKU+R64BCUCi4W VWDkMxuNEJj3SNOtwHbYaM+mxKJa0+kW8aLjd9ABcLyQJLWOThbwOq/uIWb3yd7SewLU 7vLtCf39hH4UgzMbSGH4tgCNpYezOkhz8/Fk3rMAD+SBfGl/3qv3LB3HRdAeesDr53zE YC2NzX8eULd7xL9oeMHXcjaYZ58RXDAbhGN4SJdw3Vi6yrlNTGayXdqXRG+FW2BgIhq6 c4ow== MIME-Version: 1.0 Received: by 10.152.124.83 with SMTP id mg19mr2285022lab.6.1353643603337; Thu, 22 Nov 2012 20:06:43 -0800 (PST) Received: by 10.114.24.66 with HTTP; Thu, 22 Nov 2012 20:06:43 -0800 (PST) Received: by 10.114.24.66 with HTTP; Thu, 22 Nov 2012 20:06:43 -0800 (PST) In-Reply-To: <20121123031753.GA59632@bewilderbeast.blackhelicopters.org> References: <20121123031753.GA59632@bewilderbeast.blackhelicopters.org> Date: Thu, 22 Nov 2012 20:06:43 -0800 Message-ID: Subject: Re: after upgrade, can't restart apache via cron From: Freddie Cash To: "Michael W. Lucas" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 04:06:45 -0000 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" 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" >