From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 1 10:11:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BCD16A417 for ; Fri, 1 Feb 2008 10:11:51 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 8A09B13C43E for ; Fri, 1 Feb 2008 10:11:50 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1008562fgg.35 for ; Fri, 01 Feb 2008 02:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=BqNcRMAAP9bsHsKAWMV0NGmvPpv0H3qxWeIdVyzEA0o=; b=Yh7v7H/w77IoFhqF6WOUB0s+QbVnf8tj+Mj+aNohq9JGxRvVtg/4MvijpDp9btla4YTtO0iW0zBSVtbvCsrtBiUpJkL1C9+1r6C5pFAkI/V4a8C7FjEM3fbZJF9zGxcH7834zD0v29uHHtOfQr2/yzZTYkbIAs6WUtyHWu2NW2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=PngB4fKa3sBC3TDY7enj8skLdlNz9we2NnfopC4jhMmHDmuGsb/O1dAbtBmMsJ49+gbpSglVdyoyeRabc3SN55pYpqi3VOKJqQAky4qC0pQG24jsta6wdqFRK2PaSlItjIjCeiFJFNU2Xux6+LVt27LXVsCMrn4un/JbPot68EU= Received: by 10.86.25.17 with SMTP id 17mr3020263fgy.15.1201860709432; Fri, 01 Feb 2008 02:11:49 -0800 (PST) Received: from ?192.168.12.166? ( [213.152.137.38]) by mx.google.com with ESMTPS id e20sm16657009fga.1.2008.02.01.02.11.47 (version=SSLv3 cipher=RC4-MD5); Fri, 01 Feb 2008 02:11:48 -0800 (PST) Message-ID: <47A2F050.80102@gmail.com> Date: Fri, 01 Feb 2008 13:11:28 +0300 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: "Julian H. Stacey" References: <47A2E647.20503@gmail.com> <200802010954.m119squw020048@fire.js.berklix.net> In-Reply-To: <200802010954.m119squw020048@fire.js.berklix.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: double start of scripts in /usr/local/etc/rc.d X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 10:11:51 -0000 Julian H. Stacey wrote: >> services apache, mysql & shell-script none.sh is double started >> >> tryed on 6.3-STABLE i386 - normal work >> >> any solution? >> > > Maybe a reboot after crash, & old PID files were existant. > Check if repeatable. > Do a clean reboot, & see if it repeats. > If it repeats, insert lines like > ps -laxww | grep httpd > /tmp/before > ps -laxww | grep httpd > /tmp/after > at top & bottem of /usr/local/etc/rc.d/apache.sh to debug. > > iam added line date >> /var/log/file.log in apache start rc-script (/usr/local/etc/rc.d/apache) and viewed after system reboot # cat /var/log/file.log Fri Feb 1 12:21:50 MSK 2008 Fri Feb 1 12:21:51 MSK 2008 /Vladimir Ermakov