Date: Sat, 9 Mar 2002 19:57:16 +0100 (CET) From: Christian Kratzer <ck@cksoft.de> To: Dave <dave@hawk-systems.com> Cc: <freebsd-isp@freebsd.org> Subject: Re: server no longer processing /usr/local/etc/rc.d on startup Message-ID: <Pine.LNX.4.33.0203091950410.1338-100000@hirvi.cksoft.de> In-Reply-To: <DBEIKNMKGOBGNDHAAKGNMEGGMPAA.dave@hawk-systems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Thu, 7 Mar 2002, Dave wrote: > posted this to questions with no solution... [snipp] > Totally at a loss here as to why the rc.d directory is not being processed on > reboot. Logs are not showing anything of interest that I can see though if > memory serves, rc dumps to console rather than logs (am managing server > remotely, about an hour drive away, so console output is not available). > > Appreciate any insight, help, or ideas. you need more input to be able to see what is going on The startup scripts are being called from /etc/rc. If you can't figure out what is going on why don't you add some debugging outputs to /etc/rc. Something like this ---/etc/rc--- # For each valid dir in $local_startup, search for init scripts matching *.sh # > echo "local_starup: $local_startup" case ${local_startup} in [Nn][Oo] | '') ;; *) echo -n 'Local package initialization:' slist="" for dir in ${local_startup}; do > echo "dir: $dir" if [ -d "${dir}" ]; then for script in ${dir}/*.sh; do > echo "script: $scipt" slist="${slist}${script_name_sep}${script}" done fi done script_save_sep="$IFS" IFS="${script_name_sep}" > echo "slit: $slist" for script in ${slist}; do if [ -x "${script}" ]; then > echo "running: $script" (set -T trap 'exit 1' 2 ${script} start) fi done IFS="${script_save_sep}" echo '.' ;; esac ---/etc/rc--- then reboot and see what you see. This will help you understand what is going on. Perhaps you have managed to screw up local_startup in rc.conf oder something else. You will find out if you will try to trace ... Greetings Christian -- CK Software GmbH Christian Kratzer, Schwarzwaldstr. 31, 71131 Jettingen Email: ck@cksoft.de Phone: +49 7452 889-135 Open Software Solutions, Network Security Fax: +49 7452 889-136 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0203091950410.1338-100000>