Cannot load modules/mod_evasive24.so into server: /etc/httpd/modules/mod_evasive24.so: file too short error











up vote
0
down vote

favorite












I've been trying to configure mod_evasive on my apache server but it can't load the mod_evasive module which results the apache server to not get started



mod_evasive.conf file



LoadModule evasive20_module modules/mod_evasive24.so
<IfModule mod_evasive24.c>
DOSHashTableSize 3097
DOSPageCount 8
DOSSiteCount 10
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSLogDir "/var/log/mod_evasive"
DOSEmailNotify <root@localhost.localdomain>
DOSWhitelist 127.0.0.1
</IfModule>


im on centos 7










share|improve this question




















  • 1




    I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
    – Haxiel
    Nov 24 at 3:30















up vote
0
down vote

favorite












I've been trying to configure mod_evasive on my apache server but it can't load the mod_evasive module which results the apache server to not get started



mod_evasive.conf file



LoadModule evasive20_module modules/mod_evasive24.so
<IfModule mod_evasive24.c>
DOSHashTableSize 3097
DOSPageCount 8
DOSSiteCount 10
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSLogDir "/var/log/mod_evasive"
DOSEmailNotify <root@localhost.localdomain>
DOSWhitelist 127.0.0.1
</IfModule>


im on centos 7










share|improve this question




















  • 1




    I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
    – Haxiel
    Nov 24 at 3:30













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've been trying to configure mod_evasive on my apache server but it can't load the mod_evasive module which results the apache server to not get started



mod_evasive.conf file



LoadModule evasive20_module modules/mod_evasive24.so
<IfModule mod_evasive24.c>
DOSHashTableSize 3097
DOSPageCount 8
DOSSiteCount 10
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSLogDir "/var/log/mod_evasive"
DOSEmailNotify <root@localhost.localdomain>
DOSWhitelist 127.0.0.1
</IfModule>


im on centos 7










share|improve this question















I've been trying to configure mod_evasive on my apache server but it can't load the mod_evasive module which results the apache server to not get started



mod_evasive.conf file



LoadModule evasive20_module modules/mod_evasive24.so
<IfModule mod_evasive24.c>
DOSHashTableSize 3097
DOSPageCount 8
DOSSiteCount 10
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSLogDir "/var/log/mod_evasive"
DOSEmailNotify <root@localhost.localdomain>
DOSWhitelist 127.0.0.1
</IfModule>


im on centos 7







centos apache-httpd mod-evasive






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 7:02









Rui F Ribeiro

38.3k1476127




38.3k1476127










asked Nov 24 at 2:43









Blue Eagle

1




1








  • 1




    I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
    – Haxiel
    Nov 24 at 3:30














  • 1




    I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
    – Haxiel
    Nov 24 at 3:30








1




1




I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
– Haxiel
Nov 24 at 3:30




I downloaded a copy of the mod-evasive RPM from the EPEL repo, version 1.10.1-22. The SHA256 checksum for /usr/lib64/httpd/modules/mod_evasive24.so is '22B36718545A029EDD2EBBAF61E7AD290B10A3D913FF568365273B3DA064AC55'. Can you cross check this with your copy?
– Haxiel
Nov 24 at 3:30















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483813%2fcannot-load-modules-mod-evasive24-so-into-server-etc-httpd-modules-mod-evasive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483813%2fcannot-load-modules-mod-evasive24-so-into-server-etc-httpd-modules-mod-evasive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre