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

apachex has problems with code in tutorial 3 #87

Open
studersi opened this issue May 16, 2018 · 2 comments
Open

apachex has problems with code in tutorial 3 #87

studersi opened this issue May 16, 2018 · 2 comments

Comments

@studersi
Copy link
Contributor

studersi commented May 16, 2018

For some reason apachex doesn't kill all apache processes when using the configuration file proposed in Tutorial 3. This prevents it from starting a new apache process using the same port.

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

Note that the PID File has to be configured in the config file (which is not the case for the code in this tutorial) for apachex to work at all. This is a bug that is addressed in PR #75 commit 7cf8575.

@dune73
Copy link
Owner

dune73 commented May 17, 2018

Not putting the PID into the config is clearly a bug in the tutorial. Would not fixing said bug make this problem go away?

@studersi
Copy link
Contributor Author

studersi commented May 17, 2018

No, the problem does not go away. I'll create a PR for tutorial 3 though, to add the PidFile directive.

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