DSL Apache (won't start with system)

Thread Solved
Reply

Join Date: Jun 2005
Posts: 92
Reputation: Sparkplug188 is an unknown quantity at this point 
Solved Threads: 2
Sparkplug188's Avatar
Sparkplug188 Sparkplug188 is offline Offline
Junior Poster in Training

DSL Apache (won't start with system)

 
0
  #1
Nov 23rd, 2006
Hello and Hapy Thanksgiving!

I've recently set up an old Compaq Deskpro 2000 as a web server. I'm running Damn Small Linux and Apache 2.0.54. Everything works perfect except for one small thing—Apache doesn't start with the system. Does anyone know how to setup Apache to startup when the system boots? I've only been working with Linux for about two months so please explain everything slowly and in detail. Thank you all here at DaniWeb for your time and answers!

~ Sparkplug188 (linux n00b)
A stone is heavy and sand is weighty,
But a fool’s wrath is heavier than both of them.
- Proverbs 27:3
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: DSL Apache (won't start with system)

 
0
  #2
Nov 23rd, 2006
This is what you're looking for, I think:
Originally Posted by http://httpd.apache.org/docs/2.2/invoking.html#boot
If you want your server to continue running after a system reboot, you should add a call to apachectl to your system startup files (typically rc.local or a file in an rc.N directory). This will start Apache as root. Before doing this ensure that your server is properly configured for security and access restrictions.
rc.local is almost always in /etc/rc.x. So look there, edit the file with vi or something, and add a line for apachectl.

Hope this helps
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 92
Reputation: Sparkplug188 is an unknown quantity at this point 
Solved Threads: 2
Sparkplug188's Avatar
Sparkplug188 Sparkplug188 is offline Offline
Junior Poster in Training

Re: DSL Apache (won't start with system)

 
0
  #3
Nov 23rd, 2006
Thank you Joeprogrammer, you need a pay raise!


For anyone else in the situation I was in, edit "/opt/bootlocal.sh". Add the line "/opt/wwwroot/bin/apachectl -k start" to the end of the document.
A stone is heavy and sand is weighty,
But a fool’s wrath is heavier than both of them.
- Proverbs 27:3
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC