LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-09-2005, 04:30 PM   #1
robyne
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
apache/mysql startup


I have

mysql_enable="YES"
apache_enable="YES"

in my /etc/rc.conf file, and

apache.sh
mysql-server.sh

are both in /usr/local/etc/rc.d/ yet, they aren't starting on reboot. I have to manually type "apachectl start" to get apache going. What am I doing wrong?

Robyne

pkg_info:
apache+mod_ssl-1.3.33+2.8.22
mod_php4-4.3.10_2,1
mysql-client-4.0.24
mysql-server-4.0.24
 
Old 07-11-2005, 02:34 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
all you should have to do is have the startup directory in your rc.conf
file, example:
local_startup="/usr/local/etc/rc.d"

and then have the *.sh files within that folder, making sure that they DO
have executable permissions...

If not? then :

Code:
chmod +x apache.sh
and
chmod +x mysql-server.sh
Is this the case?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql startup eyewittness Linux - Software 1 07-23-2005 10:04 AM
hostname, modprobe, run apache + mysql on startup intense Slackware 7 03-19-2004 10:09 AM
Apache and MySQL servers won't run at startup! dday007 Linux - Newbie 2 02-07-2003 05:01 PM
Apache server and MySQL server won't run at startup! dday007 Linux - General 2 02-07-2003 03:51 PM
accessing mysql from apache/mysql vher Linux - Newbie 1 01-17-2003 03:38 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration