rcsubr is the culprit, when you added the line in the rc.conf then all was well. You can add a line in the rc.conf and then run the /usr/local/etc/rc.d/mysql-server.sh start command with out having to reboot. Personally I really dislike rcsubr, makes me think that FreeBSD is drifting toward linux's overly comlexness... a script to start a script that starts a script that starts a script, blah blah blah....
On Tue, 2005-04-05 at 10:36 -0400, Christopher Lane wrote: > Hi, > > Long story made short: The mysql-server.sh that came with > mysql-server-4.1.10a (installed from cvsup'ed ports) wouldn't work until > after I rebooted the server. It's working now, so I know I shouldn't > complain, but anyone know what happened? > > Long story: > 1. Minimum installation, added ports distribution, cvsup to latest ports. > 2. cd /usr/ports/mysql41-server; make install > 3. '/usr/local/etc/rc.d/mysql-server.sh start' does nothing. > 4. I noticed that rc_subr wasn't installed, even though freshports says > it is required. So I installed rc_subr from ports, but still no love. > 5. I put mysql_enable="YES" in rc.conf (since I would soon want it there > anyway) and restarted the server. > 6. mysql-server.sh works like a charm now. > > Thanks in advance to anyone who can help shine some light on what might > have changed that made mysql-server.sh work. > > Chris > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
