Raafat Mohamed

Senior Linux Administrator

  • About Me
Menu
  • About Me
in Apache
June 6, 2012

Installing mod_evasive on Apache 2.X

Installing Prerequisites: # yum install httpd-devel Installing mod_evasive: # wget http://pkgs.fedoraproject.org/repo/pkgs/mod_evasive/mod_evasive_1.10.1.tar.gz/784fca4a124f25ccff5b48c7a69a65e5/mod_evasive_1.10.1.tar.gz # tar xfz mod_evasive_1.10.1.tar.gz # cd mod_evasive # /usr/sbin/apxs  -cia mod_evasive20.c You should find the following line in the apache configuration file /etc/httpd/conf/httpd.conf : LoadModule evasive20_module   /usr/lib/httpd/modules/mod_evasive20.so If the previous line is not existing in apache configuration file ,you can add it manually. To […]

Comments Off on Installing mod_evasive on Apache 2.X
Read More »
in Apache
May 28, 2012

Apache error “Error retrieving pid file logs/httpd.pid”

If you are getting the following error while trying to restart the apache service on the cpanel server (20014)Internal error: Error retrieving pid file logs/httpd.pid Remove it before continuing if it is corrupted. To solve this problem ,Do the following : mv /usr/local/apache/logs/httpd.pid /usr/local/apache/logs/httpd.pid.bk Then: root@Raafat [/usr/local/apache/logs]# /etc/init.d/httpd restart Be sure that the apache service […]

Comments Off on Apache error “Error retrieving pid file logs/httpd.pid”
Read More »

Recent Posts
  • Exalogic Power On Sequence
  • Exalogic Power Off Sequence
  • Clear Winbind cache
  • ifconfig not found in CentOS 7 Minimal Install
  • How to install Vmware Vcenter server step by step
Categories
  • Apache (2)
  • Benchmarking (1)
  • CitrixXen (3)
  • Cpanel (5)
  • DBs (1)
  • DNS (2)
  • Exim (3)
  • Fireawall (3)
  • IIS (1)
  • Linux (21)
  • MSSQL Server (1)
  • Mysql (10)
  • Network (2)
  • Oracle (6)
  • Others (2)
  • Plesk (3)
  • Storag (3)
  • Uncategorized (2)
  • Virtualization (4)
  • Windows (9)
  • Xen (4)
  • Zpanel (1)
Archives

Join the mailing list

Your Name:
E-mail:*
Type the characters you see here:

Copyright © 2015 Raafat IT blog

Theme created by PWT. Powered by WordPress.org