httpd 2.2.22 is live
March 5, 2012 by Jason · 12 Comments
httpd 2.2.22 is now live in the public repos. I didn't get a lot of sleep last week due to a ShoreTel deployment so I decided not to push it live on Friday as originally planned.
The random thoughts, musings, and mindless drivel of Jason Litka
March 5, 2012 by Jason · 12 Comments
httpd 2.2.22 is now live in the public repos. I didn't get a lot of sleep last week due to a ShoreTel deployment so I decided not to push it live on Friday as originally planned.
Thank you!
Thanks, Jason!!
thanks for the update. I updated httpd to 2.2.22 on 22nd March and at 4:15 GMT sunday 25 March, apache stopped on all webservers that i had updated. A couple of restarts of apache resolved the issue. Have looked in my logs and have found this:-
[Sun Mar 25 04:15:22 2012] [notice] SIGHUP received. Attempting to restart
httpd: Syntax error on line 135 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_negotiation.so into server: /etc/httpd/modules/mod_negotiation.so: undefined symbol: ap_set_accept_ranges
Is it related? Trying to understand what caused this issue.
Hi there,
THANK YOU for providing a repository for mod_security, this add-on should really be included by default in all cpanel installations because installing it is REALLY a very difficult and complicated thing.
I'm having some trouble installing mod_security from your repository and I couldn't find anywhere to post my issue so I thought I'd use the comments section. I've followed your instructions for adding the repository to the letter, however, I get the following error and I have no idea how to resolve it. PLEASE could you assist:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_security.i386 0:2.5.9-1.jason.1 set to be updated
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_security
--> Processing Dependency: httpd for package: mod_security
--> Finished Dependency Resolution
mod_security-2.5.9-1.jason.1.i386 from utterramblings has depsolving problems
--> Missing Dependency: httpd-mmn = 20051115 is needed by package mod_security-2.5.9-1.jason.1.i386 (utterramblings)
mod_security-2.5.9-1.jason.1.i386 from utterramblings has depsolving problems
--> Missing Dependency: httpd is needed by package mod_security-2.5.9-1.jason.1.i386 (utterramblings)
Error: Missing Dependency: httpd is needed by package mod_security-2.5.9-1.jason.1.i386 (utterramblings)
Error: Missing Dependency: httpd-mmn = 20051115 is needed by package mod_security-2.5.9-1.jason.1.i386 (utterramblings)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Any assistance will be greatly appreciated.
Thanks,
Charles
@Charles. This isn't a repository for mod_security, it's a repo for the entire LAMP stack. Follow the directions on my yum repository page, run a yum update to update your httpd, PHP, MySQL, etc., then run a yum install for mod_security.
To warn you though, I absolutely hate CPanel. Last time I looked the devs thought it would be a good idea to compile and install apps from scratch on a distro where there is an actual package manager (rpm) and so there is about a 98% chance that doing what I just wrote on a CPanel system will completely hose your server.
I've been getting segfaults in worker threads since I ran an update in ages. I expect that its something with PHP 5.2.17 and Apache 2.2.22 (both from your repository). Using gdb I found out that only pages using PCRE functions cause segfaults. To be precise its pcre_exec.c:480.
I'll try to upgrade to PHP 5.3 to see if that solves my issues.
Note: this is not a complaint, just an observation; kudos for the good work!
Update: I found out that I needed the php53 packages and since I have multiple packages depending on 'php', I used the workaround from https://www.centos.org/modules/newbb/viewtopic.php?topic_id=30881#forumpost131142 to install PHP 5.3. This installs the IUS version of 'php53u' but also keeps old packages depending on 'php' satisfied.
I tried all installed packages for breaking with PHP 5.3 and it now seems to work fine.
Also, the segfaults disappeared. This one seems to be entirely up to PHP.
Hi Jason -
Any word on if a new package of httpd version 2.2.3 will come out? Looks like 2.2.2 has some PCI compliance issues.
Thanks for any info!
Hello Jason,
First of all thanks for all the work you've put into your repository. That being said any idea if/when you'll be adding httpd 2.2.23? I would love to just drop your new RPM in rather than go through dependency hell again.
Thanks!
Hi Jason,
I second Michael's comment. Your repo has helped me more than I can say. Anxious to get 2.2.23 installed and would love to do it the easy way! 😉
TD
Hi Jason,
We are having problem now with PCI scans as well. Is there a way the community could help maintain this repo or a better place we should be looking at? We understand limited time and resources, and don't want to make unfair demands.
@Brion,
The source RPMs are available for download. You are certainly free to rebuild them with 2.2.23 on whatever schedule you require. If not, hopefully I'll have some time this week or this coming weekend.