View previous topic :: View next topic |
Author |
Message |
mcguire_mr2 Tux's lil' helper


Joined: 17 Nov 2003 Posts: 82
|
Posted: Fri Dec 10, 2004 2:08 pm Post subject: emerging apache fails to generate certs, apache won't start |
|
|
Hi,
On a freshly installed system, I emerge apache (apache-2.0.52-r1) for the first time and during the ebuild I receive an error about "//etc/apache2/ssl" not existing, just before the certs are generated. The ebuild appears to complete, though. I uncommented APACHE2_OPTS="-D SSL" in /etc/conf.d/apache2, started apache (/etc/init.d/apache2 start), and get the following:
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 44 of /usr/lib/apache2/conf/modules.d/41_mod_ssl.default-vhost.conf:
SSLCertificateFile: file '/usr/lib/apache2/conf/ssl/server.crt' does not exist or is empty
I have ssl in my use flags. I do not have "~x86" in make.conf. I look in "/etc/apache2" and there is no folder named "ssl".
If I comment APACHE2_OPTS="-D SSL" and then restart apache, all seems well.
Anyone run into this? |
|
Back to top |
|
 |
vla_do Apprentice

Joined: 13 Mar 2004 Posts: 165
|
|
Back to top |
|
 |
mcguire_mr2 Tux's lil' helper


Joined: 17 Nov 2003 Posts: 82
|
Posted: Fri Dec 10, 2004 3:32 pm Post subject: |
|
|
well, solved isn't really the word for it. but, they found a workaround. seems as though the r1 ebuild should still be masked. i'll look at bugs and see if anyone's posted something about this...if not, i'll submit a bug. thanks for pointing me to that post, though i had already figured all of that out, but thanks for the help anyway. |
|
Back to top |
|
 |
mcguire_mr2 Tux's lil' helper


Joined: 17 Nov 2003 Posts: 82
|
Posted: Fri Dec 10, 2004 5:03 pm Post subject: |
|
|
Here's a list of what I had to do to get apache "fully" working with SSL support:
1. create the folder "/etc/apache2/conf/ssl"
2. (re)emerge apache
3. create the folder "/usr/lib/apache2/logs"
4. create the folder "/var/cache/apache2"
5. Un-comment APACHE2_OPTS="-D SSL" in "/etc/conf.d/apache2".
6. /etc/init.d/apache2 restart
Everything seemed to work fine after this. Seems like this ebuild may not have been quite ready for production? |
|
Back to top |
|
 |
|