Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLMutex error with Apache 2.4 #56

Open
streaps opened this issue Aug 30, 2014 · 2 comments
Open

SSLMutex error with Apache 2.4 #56

streaps opened this issue Aug 30, 2014 · 2 comments

Comments

@streaps
Copy link

streaps commented Aug 30, 2014

# bin/bric_apachectl start
Use of uninitialized value in lc at /opt/bricolage/lib/Bric/Config.pm line 489.
bric_apachectl start: starting httpd
AH00526: Syntax error on line 60 of /opt/bricolage/conf/httpd.conf:
Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
bric_apachectl start: httpd could not be started

see https://httpd.apache.org/docs/2.4/upgrading.html
SSLMutex is replaced by Mutex

I also had to add the lines

LoadModule   mpm_prefork_module /usr/lib/apache2/modules/mod_mpm_prefork.so
LoadModule   socache_dbm_module /usr/lib/apache2/modules/mod_socache_dbm.so

in httpd.conf

@theory
Copy link
Member

theory commented Sep 1, 2014

And that got it working?

What did you put for Mutex?

@theory
Copy link
Member

theory commented Sep 1, 2014

So the installer needs to be updated for Apache 2.4. For that version, it needs to:

  • Replace SSLMutex with Mutex. The call to set_httpd_var() in inst/conf.pl will need to be updated to tell it to change the variable being set.
  • Check to see if prefork is statically linked. If it isn’t, we need to add a LoadModule statement to load it.
  • We might also need to LoadModule socache_dbm , too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants