RE: FeeBSD 5.1 and localdaemons
Thanks to everyone for their tips.. I decided to blow it all away and start fresh.. And, its all working properly now.. Go figure.. No idea what I did the first time around that would have caused that.. I've been able to get postfix up and running happily so I'll continue from there.. Thanks again to everyone for the quick responses.. Darin - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Makonnen Sent: Thursday, June 19, 2003 4:00 AM To: Darin Cc: [EMAIL PROTECTED] Subject: Re: FeeBSD 5.1 and localdaemons On Thu, 19 Jun 2003 03:33:48 -0400 "Darin" <[EMAIL PROTECTED]> wrote: > > But, the ProFTPD and MySQL still wont start.. > I did some digging in the scripts in /etc/rc.d and found the local and > localdaemons scripts.. After playing around a bit, I found that the > localdaemons script is actually what executes the local scripts.. But > for whatever reason, local is not starting localdaemons. It's not supposed to. rc.d/localdaemons is started independently later in the boot and the output you should see is: /etc/rc: DEBUG: run_rc_command: evaluating locald_start(). Local package initialization: >I can start both > daemons manually by running their scripts manually, so theres no >problem that I can see with the installation.. I tried adding a line >to the /etc/rc.d/local script that called the localdaemons script.. >When I rebooted, MySQL and ProFTPD start fine during boot.. Anyone >have any ideas on this one?? There must be something non-standard about your installation. This has been working fine for a long time. In fact, I have mysql server on my workstation and it comes up with every boot just like it's supposed to. Generally, the scripts in/usr/local/etc/rc.d should be executable and they should end with a '.sh' suffix. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc [EMAIL PROTECTED] | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 [EMAIL PROTECTED]| FreeBSD - The Power To Serve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FeeBSD 5.1 and localdaemons
On Thu, 19 Jun 2003 03:33:48 -0400 "Darin" <[EMAIL PROTECTED]> wrote: > > But, the ProFTPD and MySQL still wont start.. > I did some digging in the scripts in /etc/rc.d and found the local and > localdaemons scripts.. After playing around a bit, I found that the > localdaemons script is actually what executes the local scripts.. But for > whatever reason, local is not starting localdaemons. It's not supposed to. rc.d/localdaemons is started independently later in the boot and the output you should see is: /etc/rc: DEBUG: run_rc_command: evaluating locald_start(). Local package initialization: >I can start both > daemons manually by running their scripts manually, so theres no problem > that I can see with the installation.. I tried adding a line to the > /etc/rc.d/local script that called the localdaemons script.. When I > rebooted, MySQL and ProFTPD start fine during boot.. Anyone have any ideas > on this one?? There must be something non-standard about your installation. This has been working fine for a long time. In fact, I have mysql server on my workstation and it comes up with every boot just like it's supposed to. Generally, the scripts in/usr/local/etc/rc.d should be executable and they should end with a '.sh' suffix. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc [EMAIL PROTECTED] | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 [EMAIL PROTECTED]| FreeBSD - The Power To Serve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FeeBSD 5.1 and localdaemons
Darin wrote this message on Thu, Jun 19, 2003 at 03:33 -0400: > that I can see with the installation.. I tried adding a line to the > /etc/rc.d/local script that called the localdaemons script.. When I > rebooted, MySQL and ProFTPD start fine during boot.. Anyone have any ideas > on this one?? are the scripts ending in .sh? Most ports install a .sample script which needs to be renamed to .sh to gte them to start. What does: ls /usr/local/etc/rc.d show? and the part the starts the scripts is: os=`eval ${CMD_OSTYPE}` files=`rcorder -k ${os} -s nostart /etc/rc.d/* 2>/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} done at the end of /etc/rc -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"