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

Error: Reload failed. Apache config file had an error, please fixed it and try again #256

Open
virtual-orbis opened this issue Sep 12, 2023 · 2 comments

Comments

@virtual-orbis
Copy link

Hello,
I recently got the error message in the subject when I used the command "lamp add " for trying to add a hostname in a brand new VPS.
BTW I also received the following message when I tried to restart Apache
httpd: Syntax error on line 159 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_http2.so into server: /usr/local/apache/modules/mod_http2.so: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation

@lei130102
Copy link

me too

root@core-post-10:# /etc/init.d/httpd status
httpd is not running
root@core-post-10:
# /etc/init.d/httpd start
httpd: Syntax error on line 160 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_http2.so into server: /usr/local/apache/modules/mod_http2.so: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation

@DrOctogon
Copy link

Comment out:

159: LoadModule http2_module modules/mod_http2.so

In file: /usr/local/apache/conf/httpd.conf

Reload httpd

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

3 participants