I do it even easier on my RedHat box:
- Edit /etc/rc.d/rc.local and add '/usr/local/apache/bin/apachectl
startssl' near the end.
- ln -s /usr/local/apache/bin/apachectl /etc/rc.d/rc0.d/K20apache
- ln -s /usr/local/apache/bin/apachectl /etc/rc.d/rc1.d/K20apache
- ln -s /usr/local/apache/bin/apachectl /etc/rc.d/rc6.d/K20apache
Done! (Modify paths if you're using Debian, Solaris, etc.)
Jon
At 10:43 AM 4/19/00 +0800, you wrote:
>Firstly copy apachectl to /etc/init.d (or link it), remove apache in
>/etc/init.d if
>you have old apache installed, then update-rc.d apache remove
>to remove link from /etc/rc?.d, then update-rc.d apachectl S91 K20 to all
>apachectl
>into startup code. in apachectl, change the script so that the code called
>ssl part even
>the input parameter is 'start'.
>During system startup up, the system will call all script inside rc?.d
>(depend on your level)
>with parameter 'start'.
>
>Very trouble procedure, but I am not an expert in linux...
>
>water
>
>
>----- Original Message -----
>From: alles kapot <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, April 18, 2000 8:50 PM
>Subject: problem starting ./apachectl startssl
>
>
> > I did install apache 1.3.12 + openssl 0.9.5a + mod_ssl
> > 2.6.2-1.3.12
> >
> > after the installation, I did test for https ...
> > I did ./apachectl startssl
> > everything goes normal .. I show it to my manager :)
> >
> > Then, this morning, I rebooted the server ...
> > after that, it seems that the old httpd was running,
> > then I shutdowned it -> /etc/rc.d/init.d/httpd stop
> >
> > then I tried to start the new httpd:
> > /usr/local/apache/bin/apachectl startssl
> >
> > everything goes normal (entering phrase etc.)
> >
> > But .. the httpd WAS NOT UP ! ..
> >
> > is there any idea what happened here??? I viewed
> > error_log, and there is no error ..
> >
> > Here is what I did:
> >
> > [root@rh bin]# pwd
> > /usr/local/apache/bin
> > [root@rh bin]# ./apachectl startssl
> > Apache/1.3.12 mod_ssl/2.6.2 (Pass Phrase Dialog)
> > Some of your private key files are encrypted for
> > security reasons.
> > In order to read them you have to provide us with the
> > pass phrases.
> >
> > Server rh.smartgroep.nl:443 (RSA)
> > Enter pass phrase:
> >
> > Ok: Pass Phrase Dialog successful.
> > ./apachectl startssl: httpd started
> > [root@rh bin]# ps -ax | grep httpd
> > 767 pts/0 S 0:00 grep httpd
> > [root@rh bin]#
> >
> > then .. no httpd running ..
> >
> > But, if I did ./apachectl start
> > it's normal ... worked fine!
> >
> > any solution? or work around to debug this?
> >
> > thanks,
> > kapot
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send online invitations with Yahoo! Invites.
> > http://invites.yahoo.com
> > ______________________________________________________________________
> > Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> > User Support Mailing List [EMAIL PROTECTED]
> > Automated List Manager [EMAIL PROTECTED]
> >
>
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
-----------------------------------------------------------------
Jon Earle (613) 612-0946 (Cell)
HUB Computer Consulting Inc. (613) 830-1499 (Office)
http://www.hubcc.ca 1-888-353-7272 (Within Canada/US)
"God does not subtract from one's alloted time on Earth,
those hours spent flying." --Unknown
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]