Click to See Complete Forum and Search --> : Problem with boot.local
scialom
09-21-2004, 08:13 AM
Hi
I try to start apache and mysql when I boot my machine.
I added to boot.local these commands:
/usr/local/mysql/mysqld_safe &
/usr/bin/apachectl start
But they are not start.
Any ideas?
thanks,
Assaf
LordShryku
09-21-2004, 01:45 PM
What distro are you running?
scialom
09-21-2004, 01:50 PM
Suse 9.0
LordShryku
09-21-2004, 01:54 PM
Hrmm...I don't know that one. Were these installed from source or from packages(is it RPM?)? If packages, you should be able to set it as a service through whatever setup tool they use(YAST?). If source, well, all I can go off of is my Fedora installation, which is in /etc/rc.d/rc.local and looks like this:
#!/bin/sh
touch /var/lock/subsys/local
/usr/local/mysql/bin/mysqld --user=mysql &
/usr/local/apache2/bin/apachectl start
/etc/init.d/postgresql start
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.