Solved

How do I auto-start Apache with Unix?

Posted on 2006-11-30
6
254 Views
Last Modified: 2010-03-04
My server was rebooted but didn't realize Apache didn't restart on it's own and my web was down. How can I get APache to auto start with boot? I'm using Unix AIX. Thanks in advance for all the help.

By the way, anyone also know of a web server monitor to make sure it's on?
0
Comment
Question by:bemara57
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:ch2
ID: 18048974
Goto Start > Run > services.msc

In services search for Apache service, click right button, properties, and set to automatic.
0
 
LVL 11

Expert Comment

by:ch2
ID: 18049065
That was for windows, really sorry.


0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 18051097
One way is to add the command to start apache to the file rc.local, normally located in /etc/.

I am not 100% sure, but you may be able to setup auto start of daemons using SMIT.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 18051134
Found  this (ref: http://archive.apache.org/gnats/2662)

Add "apache:2:wait:/etc/rc.apache > /dev/console 2>&1"
to /etc/inittab

create file rc.apache and put in /etc/  this file should contain

     #!/usr/bin/ksh
     /usr/local/apache/sbin/apachectl start
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question