Apache configuration file not rebuilding due to: "/usr/local/apache/conf.modules.d: No such file or directory"

 

Error type : 

httpd: Syntax error in -C/-c directive: Include/IncludeOptional: Could not open directory /usr/local/apache/conf.modules.d: No such file or directory


Solution :

The solution for this would be to reinstall the Apache Config Runtime package. To do this, please run the following commands:

 

# rpm -e --nodeps --justdb ea-apache24-config-runtime.noarch
# yum install ea-apache24-config-runtime.noarch

 

Once the packages are installed, attempt to rebuild and restart Apache using the command below:

 

# /scripts/rebuildhttpdconf && /scripts/restartsrv_apache
Was this answer helpful? 0 Users Found This Useful (0 Votes)