When I try to start httpd after upgrade to apr-1.3.9-1.fc12.x86_64 from apr-1.3.8-2.fc11.x86_64, it fails with output:
[root@test /]# service httpd start
Starting httpd: [Sat Sep 26 22:26:47 2009] [crit] (22)Invalid argument: alloc_listener: failed to get a socket for (null)
Syntax error on line 134 of /etc/httpd/conf/httpd.conf:
Listen setup failed
/etc/httpd/conf/httpd.conf 134 is:
I'm running a kernel 2.6.24-24-xen on a XEN VM. It looks like this is similar to bug 516331, an older kernel missing certain functions for apr.
Steps to Reproduce:
1) service httpd start (starts ok)
2) service httpd stop
3) yum update apr (apr-1.3.8-2.fc11.x86_64 -> apr-1.3.9-1.fc12.x86_64)
4) service httpd start (fails)
You are correct - your kernel is too old. You should have at least 2.6.28.
You want me to do anything with this or do we ask folks to upgrade their kernels?
Just as a note, I can't upgrade my kernel, as I'm only renting a couple of XEN VMs from my provider and I'm already running the latest kernel they provide. I doubt I'm the only one that will be in this situation ...
Yeah, we've seen this situation before.
I'm just waiting for Joe to chime in on this. I bet he'll ask me to do what I did for F-11 - revert to using old calls.
Yes - I do think we should revert to using old system calls.
(it would be nice if there was a Fedora policy on what minimally supported kernel we should target, but I can't find one)
Building -2 now.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
Can you confirm this is working with apr-1.3.9-3?
No problems for me with apr-1.3.9-3 under 2.6.24-24-xen. Thanks!
Great, thanks for reporting back. Thanks also to Bojan for dealing with the issue!