double start of scripts in /usr/local/etc/rc.d
sam
samflanker at gmail.com
Fri Feb 1 02:11:51 PST 2008
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
More information about the freebsd-hackers
mailing list