double start of scripts in /usr/local/etc/rc.d
Julian H. Stacey
jhs at berklix.org
Fri Feb 1 02:30:58 PST 2008
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
More information about the freebsd-hackers
mailing list