Dear/Beste users,
I am a FreeBSD and Apache 2.x with SSL user. The webserver works when
started by hand (apachectl start-ssl), but it causes the machine to
hang during a boot. You still can logon to it from another machine.
I didn't get a certification from a CA but created one by hand. During
the creation i was asked for a password. Apache asks for this
password when it starts up. It doesn't print a request message on the
screen and I don't always have physical access to the machine so i
need to get the password to it some other way. I looked at the docs
from apache about apachectl but could not find a way to do that.
The machine runs FreeBSD 4.7-RELEASE-p2 #0 compiled at Sun Dec 22
00:29:05 CET 2002 and is a i386.
Server version: Apache/2.0.44
Server built: Jan 25 2003 14:12:28
From pstree:
\-+- 7 root sh /etc/rc autoboot
\-+- 00180 root sh /etc/rc autoboot
\-+- 00181 root /bin/sh /usr/local/etc/rc.d/apache2.sh start
\-+- 00182 root /bin/sh /usr/local/sbin/apachectl startssl
\--- 00184 root /usr/local/sbin/httpd -k start -DSSL
Apache2 startup script
unix1# cat /usr/local/etc/rc.d/apache2.sh
#!/bin/sh
PREFIX=/usr/local
case $1 in
start)
[ ssl = ssl -a -f $PREFIX/etc/apache2/ssl.crt/server.crt ] SSL=ssl
[ -x ${PREFIX}/sbin/apachectl ] ${PREFIX}/sbin/apachectl start${SSL}
/dev/null echo -n ' apache2'
;;
stop)
[ -r /var/run/httpd.pid ] ${PREFIX}/sbin/apachectl stop /dev/null
echo -n ' apache2'
;;
*)
echo Usage: `basename $0` {start|stop} 2
;;
esac
exit 0
--
Best regards/Met vriendelijke groet,
Alex
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message