Link to home
Start Free TrialLog in
Avatar of bemara57
bemara57

asked on

How do I auto-start Apache with Unix?

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?
Avatar of ch2
ch2

Goto Start > Run > services.msc

In services search for Apache service, click right button, properties, and set to automatic.
That was for windows, really sorry.


ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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