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 12-06-2004, 01:45 PM   #1
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
Apache not autostarting


I just installed freebsd 5.3 and I installed apache, everything is working fine except that apaches isnt starting on boot, it has to be manually started after login.

Is there a way to correct this through apaches config files?
Or is there some statement I can put in maybe the rc.conf file to load apache at start??
 
Old 12-06-2004, 02:41 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Did you compile Apache from source, or are you using the built-in version that comes with FreeBSD?

If you're using the built-in version, check the relevant section of the handbook.
 
Old 12-07-2004, 12:38 PM   #3
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
I compiled it from /usr/ports directory
 
Old 12-07-2004, 12:51 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
OK, read the handbook then. I remember in 4.x when I did it that way there was an init script in /usr/local/etc/somethingorother. I don't know if 5.x has changed that.
 
Old 12-07-2004, 12:53 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
probably you need to add apache_enable="YES" to your rc.conf. They changed all the local rc scripts to look to make sure they're enabled in rc.conf before they'll start up now.

But yes, read the handbook (which would have told you this)
 
Old 12-07-2004, 12:53 PM   #6
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
All set, thanks alot

Read that link you gave me and it gave me what to put in my rc.conf

apache_enable="YES"
 
Old 12-07-2004, 12:54 PM   #7
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
haha we posted at the same time, thank you to you as well sig for the info
 
Old 12-08-2004, 01:36 PM   #8
ub3rj3phf
Member
 
Registered: Dec 2003
Location: Lewiston, Idaho
Distribution: Mandrake 10.0 Official, Freebsd 5.2.1 mini
Posts: 40

Rep: Reputation: 15
Code:
apache_enable="YES"
Will that work with apache+mod_ssl installed from ports?
 
Old 12-08-2004, 01:58 PM   #9
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
That should work on that, I dont see why not, since it doesnt specify even the version type 1 or 2, I dont see why it would matter if it was ssl. I think it would work fine
 
  


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
autostarting but from where? evil_empire Fedora 5 03-31-2005 12:51 PM
autostarting XWindows Jeebizz Slackware 7 08-30-2004 09:36 PM
autostarting raid array mindcry Linux - Software 2 02-10-2004 07:57 PM
Autostarting an app MikeMcCarty Linux - Newbie 4 06-30-2003 04:20 PM
Autostarting apps concoran Linux - Newbie 1 07-29-2002 11:41 AM

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

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration