The following reply was made to PR os-aix/2662; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: Tim Hanson <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: os-aix/2662: apache works fine when started manually by root, but there are problems when it is started at boot time with /etc/inittab Date: Wed, 22 Jul 1998 09:32:28 -0700 (PDT) On 22 Jul 1998, Tim Hanson wrote: > I recently installed apache 1.3 and am very happy with it. Previously > I had been unable to get cgi to work (though that may have been my own > fault.) > > After going through the .conf files somewhat carefully and referring > to some of the docs on your web site it went better this time. > > However, yesterday I tried to make the step of putting an entry in > /etc/inittab so apache would start up automatically at system boot > time. > > Here's what I put in /etc/inittab: > apache:2:wait:/etc/rc.apache > /dev/console 2>&1 # start apache web server > I put this at the very bottom. Here's the rc.apache I created: > (root in /etc @ mpbgw-demo15) >cat rc.ap* > #!/usr/bin/ksh > > /usr/local/apache/sbin/apachectl start > > Apache starts on system reboot and serves static html just fine. > However, cgi seems to time out. If I stop and start apache (using the > same line above but with stop/start), the problem goes away. At the > moment this is mostly an annoyance. I've thought of, but haven't tried > yet, creating a cron job that, say, runs at 6:00am each day; it checks > to see if apache is running and if not kicks it off (this would work > for me.) But I imagine someone out there will want to run on aix and > would like apache to come up automatically on reboot. This is almost certainly an AIX problem. Is there anything in the error log? Try adding it to /etc/rc.local instead of the inittab.
