Jump to content

Featured Replies

Posted
comment_894

after mod security install httpd will not start

httpd: Syntax error on line 516 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/mod_security.conf: Cannot load /usr/lib64/ into server: /usr/lib64/: cannot read file data: Is a directory

here are the lines
line 2 of mod_security.conf: LoadFile /usr/lib64/
line 516 of httpd.conf: Include /usr/local/apache/conf.d/*.conf
 

  • Author
comment_896

hi i used the install option from inside CWP how would i manually update ? if you look above it seems its pointing to a directory instead of a file to load.

comment_901

@c64solved by himself

Quote

hi i was able to fix the issue by deleting line 2 of mod_security.conf apache runs now and mod security test pass it seems it may be a problem either from the install module or when it initially creates the .conf file, also unrelated i tried asking this question on the control web panel forum however when i click on post it would give me a web server error 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now