Installing mod_evasive

Started by mrnovo, February 19, 2021, 03:00:52 PM

Previous topic - Next topic

mrnovo

Hi,

Can anyone help me on installing mod_evasive ? yum install mod_evasive is causing problems.

Regards.

Sandeep

Quote from: mrnovo on February 19, 2021, 03:00:52 PM
Hi,

Can anyone help me on installing mod_evasive ? yum install mod_evasive is causing problems.

Regards.
hello
you need to use nginx rate limiting instead of this old apache module.

mrnovo

#2
Hi,

That was my first choice but here is what i get;

nginx[19691]: nginx: [emerg] bind() to x.x.x.67:80 failed (98: Address already in use)
nginx[19691]: nginx: [emerg] bind() to x.x.x.80:80 failed (98: Address already in use)
nginx[19691]: nginx: [emerg] bind() to x.x.x.75:80 failed (98: Address already in use)
....

and so on

I've tried stoping all services and start them again.

If i start apache first nginx cant start and throws that error, if i start nginx first and then apache this time apache throws

apachectl[19394]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Feb 20 07:05:19
apachectl[19394]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

mrnovo

So I've found out that because of my previous edits on httpd.conf, I think webserver rebuild on CWP was unable to edit httpd.conf Listen directive to 8181 thats was i was getting error.


Igor S.

I would try to rebild WEB Servers without nginx and then Apache+nginx. It will change configuration.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services