Solved

How do I auto-start Apache with Unix?

Posted on 2006-11-30
6
250 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now