Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Mod Security Issue on BJP Site
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Updrade of httpd == So Decided to Update the httpd version to fix the issue of mod-security , as suggested t We have used the following Repo to update http://www.jasonlitka.com/yum-repository/ '''Process of Update httpd to 2.2.22''' rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka yum utterramblings http://www.jasonlitka.com/media/EL4/$ARCH vi /etc/yum.repos.d/utterramblings.repo yum update yum remove httpd-devel.i386 yum --enablerepo=utterramblings install httpd '''Updated the httpd version''' httpd -v Server version: Apache/2.2.22 (Unix) Server built: Feb 23 2012 12:28:12 While restart of the Server we faced /httpdjail not found . Issue - error_log , Apache failed [Wed Feb 20 16:43:54 2013] [notice] core dump file size limit raised to 18446744073709551615 bytes [Wed Feb 20 16:43:54 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Feb 20 16:43:54 2013] [notice] ModSecurity for Apache/2.7.1 (http://www.modsecurity.org/) configured. [Wed Feb 20 16:43:54 2013] [notice] ModSecurity: APR compiled version="1.4.6"; loaded version="1.2.7" [Wed Feb 20 16:43:54 2013] [warn] ModSecurity: Loaded APR do not match with compiled! [Wed Feb 20 16:43:54 2013] [notice] ModSecurity: PCRE compiled version="6.6 "; loaded version="6.6 06-Feb-2006" [Wed Feb 20 16:43:54 2013] [notice] ModSecurity: LUA compiled version="Lua 5.1" [Wed Feb 20 16:43:54 2013] [notice] ModSecurity: LIBXML compiled version="2.7.6" [Wed Feb 20 16:43:54 2013] [notice] Original server signature: Apache [Wed Feb 20 16:43:55 2013] [notice] Digest: generating secret for digest authentication ... [Wed Feb 20 16:43:55 2013] [notice] Digest: done [Wed Feb 20 16:43:56 2013] [notice] mod_chroot: changed root to /httpdjail. [Wed Feb 20 16:43:56 2013] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Feb 20 16:43:56 2013] [alert] (2)'''No such file or directory: Can't chdir to /httpdjail''' PHP: Error parsing /etc/php.ini on line 1230 [Wed Feb 20 16:43:56 2013] [alert] (2)No such file or directory: Can't chdir to /httpdjail PHP: Error parsing /etc/php.ini on line 1230 [Wed Feb 20 16:43:56 2013] [alert] (2)No such file or directory: Can't chdir to /httpdjail PHP: Error parsing /etc/php.ini on line 1230 [Wed Feb 20 16:43:56 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_chroot/0.5 Apache mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations [Wed Feb 20 16:43:56 2013] [alert] Child 32602 returned a Fatal error... Apache is exiting! To fix /httpdjail issue we have followed , which said that mod_chroot is in-built function of httpd and no mod_chroot is required seperately http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html Commented the line ( disable chroot as it is inbuilt in 2.2.22 - httpd ) #LoadModule chroot_module /usr/lib64/httpd/modules/mod_chroot.so '''[[After All these efforts too , the Site was not accessible]]'''
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)