webstyler

Well-Known Member
Nov 20, 2003
450
0
166
Hi

I try to build new apache with easyapache but return same an error

"Error has occurred, please make sure that apache is running and restartable"

and in the log the last rows are:

..
..
Updating Apache configuration
Updating Apache configuration
Distilled successfully
!! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1260187467):
An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.1260187467
Exit signal was: 0
Exit value was: 1
Output was:
---
Syntax error on line 216 of /usr/local/apache/conf/js_modsecurity/myrules.conf:
ModSecurity: Disruptive actions can only be specified by chain starter rules.
---
!!
!! Archiving successful build so it can be restored via --restore-archive once the httpd.conf are resolved !!

!! Done Archiving successful build !!

!! Restoring original working apache !!


..

any idea ?
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
Was Apache already working before you run easyapache? Try a cPanel update (don't think so it will fix) and see if it fix the issue. If not have someone look into it (hosting company) as without logging into the server, no one here will be able to provide you the exact solution for this particular issue.