Cannot get httpd to start after migration
-
Syntax error on line 5424 of /etc/apache2/conf/httpd.conf: Syntax error on line 2 of /etc/apache2/conf.d/includes/post_virtualhost_global.conf Syntax error on line 552 of /etc/apache2/conf/httpd.conf: you need to fix the syntax errors ( you have some custom settings) you need to figure out what they are and correct accordingly 0 -
Hello, The previous post is correct. It looks like you may have migrated over /etc/apache2/conf.d/includes/post_virtualhost_global.conf with entries related to a custom application or plugin that's not installed on the new server. If you decide to remove the custom entries from that file, you can rebuild the Apache configuration file after by running the following command: /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
Thank you.0 -
I didn't end up fixing it last night, I couldn't even find the httpd.conf file after looking in all the right places. It was very strange. So I ended up making a new EC2 and starting again, this time making sure not to copy over the old configs, and it seems to be okay now. Thanks for the help guys. 0 -
Hello @petru, I'm glad to see you were able to solve the issue. Thanks for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments