Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2008 10:54:52 +0100
From:      "Julian H. Stacey" <jhs@berklix.org>
To:        sam <samflanker@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: double start of scripts in /usr/local/etc/rc.d 
Message-ID:  <200802010954.m119squw020048@fire.js.berklix.net>
In-Reply-To: <47A2E647.20503@gmail.com> 
References:  <47A2E647.20503@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
sam wrote:
> hi all
> description of my trouble:
> on 6.3-RELEASE i386
> -------------------------------------------
> Clearing /tmp (X related).
> Starting local daemons:.
> Updating motd.
> Mounting late file systems:.
> Starting mysql.
> Starting apache.
> mysql already running? (pid=8720).
> apache already running? (pid=8721).
> Configuring syscons: keymap keyrate scrnmap blanktime.
> Starting sshd.
> Starting cron.
> Local package initialization:Starting NONE
> Starting NONE
> .
> -------------------------------------------
> 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.

-- 
Julian Stacey.  BSD Unix Linux Net Consultant, Munich.  http://berklix.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802010954.m119squw020048>