Skip to main content

easyapache rebuild issue

Comments

2 comments

  • JaredR.
    The actual build is successful, but EasyApache cannot build a configuration file that passes syntax checks. This snippet of the output you provided explains why it is failing: !! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1395677028): Configuration problem detected on line 28 of file /usr/local/apache/conf/httpd.conf.1395677028: : Syntax error on line 1 of /usr/local/apache/conf/includes/pre_main_global.conf: Syntax error on line 1 of /etc/httpd/conf.d/cloudflare.conf: Cannot load modules/mod_cloudflare.so into server: /usr/local/apache/modules/mod_cloudflare.so: cannot open shared object file: No such file or directory
    Based on that output, the next place to look is line 1 of /usr/local/apache/conf/includes/pre_main_global.conf. What is in that file? Also, does /usr/local/apache/modules/mod_cloudflare.so actually exist? The next line in the error output says "No such file or directory" in reference to that file.
    0
  • saamxvr
    Actually im on Bluehost VPS when im look in to /usr/local/apache/conf/includes/pre_main_global.conf path, its has below include [QUOTE]Include /etc/httpd/conf.d/cloudflare.conf
    When im open this parth /etc/httpd/conf.d/cloudflare.conf its included [QUOTE] LoadModule cloudflare_module modules/mod_cloudflare.so # In case we need to manipulate the default headers or trusted IPs CloudFlareRemoteIPTrustedProxy 204.93.240.0/24 CloudFlareRemoteIPTrustedProxy 204.93.177.0/24 CloudFlareRemoteIPTrustedProxy 199.27.128.0/21 CloudFlareRemoteIPTrustedProxy 173.245.48.0/20 CloudFlareRemoteIPTrustedProxy 103.22.200.0/22 CloudFlareRemoteIPTrustedProxy 141.101.64.0/18 CloudFlareRemoteIPTrustedProxy 108.162.192.0/18 CloudFlareRemoteIPTrustedProxy 190.93.240.0/20 CloudFlareRemoteIPTrustedProxy 2400:cb00::/32 CloudFlareRemoteIPTrustedProxy 2606:4700::/32 CloudFlareRemoteIPTrustedProxy 2803:f800::/32
    When im open /usr/local/apache/modules/mod_cloudflare.so . its has some code Thank you
    0

Please sign in to leave a comment.