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

Apache RA not creating directory in /var/run #70

Closed
bradjones1 opened this issue Apr 11, 2012 · 2 comments
Closed

Apache RA not creating directory in /var/run #70

bradjones1 opened this issue Apr 11, 2012 · 2 comments

Comments

@bradjones1
Copy link

Inspired by https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/893023 & my recent experience:

The Apache RA calls httpd directly, not, say, through apache2ctl. One of the consequences is that certain setup and sanity-checking usually done by apache2ctl goes undone - including the creation of /var/run/apache2 if it doesn't exist already. This can result in Apache complaining something like "errorNo such file or directory: Cannot create SSLMutex with file `/var/run/apache2/ssl_mutex'"

@bradjones1
Copy link
Author

So I realize this can be partly avoided by setting binary=/path/to/apache2ctl in the crm configuration, so this may actually be a recommendation to add apache2ctl in the HTTPDLIST string in the RA...

@bradjones1
Copy link
Author

Sorry, I realized this is, in fact, taken care of in this upstream library but has not yet hit the ubuntu PPA. (See https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/apache#L177). Closing.

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

1 participant