Re: rcNG issue
* Kövesdán Gábor [2005-07-18 19:58 +0200] I have a problem with my rcNG scripts. There are three scripts: named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving thus named should start firstly. The headers of my scripts are: : And when I enable all the three scripts in rc.conf, the apache hangs because it can't resolve the computer's hostname. It's really annoying, I have to manually start it after a reboot, or wait for the cronscript that checks whether it is running. What's wrong? I think this magic only works in /etc/rc.d. Try renaming your startup scripts 100.named.sh, 200.apache.sh, etc. I'm not sure, but FreeBSD used to run these scripts in /usr/local/etc/rc.d in alphanumeric order, and I presume that this functionality is preserved in 5.x to allow for backwards compatibility. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: rcNG issue
On Jul 18, 2005, at 11:58 AM, Kövesdán Gábor wrote: Hello, I have a problem with my rcNG scripts. There are three scripts: named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving thus named should start firstly. Where do these scripts live? Are they in /usr/local/etc/rc.d? If so, they run in lexographic order. The rc ordering stuff does not apply to /usr/local/etc/rc.d Chad An easy fix is to rename these scripts with a numeric prefix in the order you want them to execute. 100.named.sh 200.apache2.sh 300.proftpd.sh John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcNG issue
On Jul 18, 2005, at 11:58 AM, Kövesdán Gábor wrote: Hello, I have a problem with my rcNG scripts. There are three scripts: named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving thus named should start firstly. Where do these scripts live? Are they in /usr/local/etc/rc.d? If so, they run in lexographic order. The rc ordering stuff does not apply to /usr/local/etc/rc.d Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcNG issue
Chad Leigh -- Shire.Net LLC wrote: Where do these scripts live? Are they in /usr/local/etc/rc.d? If so, they run in lexographic order. The rc ordering stuff does not apply to /usr/local/etc/rc.d Thanks, they were there but I moved them. Cheers, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]