From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 03:33:35 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 3E0A2216 for ; Fri, 23 Nov 2012 03:33:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE26F8FC16 for ; Fri, 23 Nov 2012 03:33:34 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so11024648oag.13 for ; Thu, 22 Nov 2012 19:33:34 -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=D4hNzyMXyyuKe8aCrRIkTjrTD+5zUDu5rkf4POhk6VE=; b=ZIRwILvr7N9jircYToXbZs2YMzTWWniD4N0S7B71A4m3wPtCXAwjU82jdn2ANP4T3F vM7g+BQ2ezE1sljTyczWg/E/x60IGN1Q3AgVg9D7BHFiGsM5yGCAsgY7glIsgZW0p+E+ SjE/mBTiWRxhl6+ni8oKKnIahGX4qoxWUpfYxPd67S6EqTBjHG+3m9wOaxY2W2epj212 m70GSMIDWxL2qhVj+geVgJIvntyQ8JivA1Wd4mG8cr3fVJhi2jypaHPA7Kx7vuxonASF MtKs7MdgD5FeAZbiCWYshQsDkwvN4L6RwUbAj+OYjd8bUed/As8ofzt8ednQStqLQBa3 GimA== MIME-Version: 1.0 Received: by 10.60.31.39 with SMTP id x7mr1944015oeh.45.1353641614109; Thu, 22 Nov 2012 19:33:34 -0800 (PST) Received: by 10.76.80.104 with HTTP; Thu, 22 Nov 2012 19:33:34 -0800 (PST) In-Reply-To: <20121123031753.GA59632@bewilderbeast.blackhelicopters.org> References: <20121123031753.GA59632@bewilderbeast.blackhelicopters.org> Date: Thu, 22 Nov 2012 21:33:34 -0600 Message-ID: Subject: Re: after upgrade, can't restart apache via cron From: Adam Vande More To: "Michael W. Lucas" Content-Type: text/plain; charset=ISO-8859-1 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 03:33:35 -0000 On Thu, Nov 22, 2012 at 9:17 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? > I would guess you need /usr/sbin/ in cron's path. -- Adam Vande More