Updates #608

Apache 2.2.26

Added by Anonymous about 3 years ago. Updated 7 months ago.

Status:ClosedStart date:12/18/2013
Priority:NormalDue date:12/31/2013
Assignee:Danny Terweij% Done:

100%

Category:CentOS 5Estimated time:24.00 hours
Target version:Kloxo
Resolution:Resolved

Description

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

Apache httpd has been the most popular web server on the Internet since April 1996, and celebrated its 15th birthday as a project this February.

The Apache HTTP Server ("httpd") is a project of The Apache Software Foundation.

History

#1 Updated by Mustafa Ramadhan about 3 years ago

I am already use httpd 2.2.19 more then 1 month and taken from centalt.repo.

Also propose httpd 2.2.19 on lxcenter.repo.

#2 Updated by Danny Terweij about 3 years ago

  • Category set to Packages - RPM
  • Assignee set to Danny Terweij

#3 Updated by Mustafa Ramadhan almost 3 years ago

Please also:

1. httpd-itk --> Feature #567; taken from webtatic for testing
2. mod_ruid2 --> Feature #566; taken from atomic.repo for testing

#5 Updated by Danny Terweij almost 3 years ago

  • Target version set to Packages CentOS 5

#6 Updated by Danny Terweij almost 3 years ago

  • Subject changed from Apache 2.2.19 to Apache 2.2.20
  • Status changed from New to In Progress

Rebuilding the centalt 2.2.20

#7 Updated by Danny Terweij almost 3 years ago

  • % Done changed from 0 to 90

Status: Build 32 & 64
httpd-2.2.20-lxcenter.1
httpd-devel-2.2.20-lxcenter.1
httpd-manual-2.2.20-lxcenter.1
httpd-tools-2.2.20-lxcenter.1
mod_ssl-2.2.20-lxcenter.1

The packages are in the lxcenter-test repository for testing.

Source: centalt

#8 Updated by Danny Terweij almost 3 years ago

Release schedule: 10/11 September 2011

#9 Updated by Danny Terweij almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Resolution set to Resolved

Released.

yum update httpd

#10 Updated by Anonymous almost 3 years ago

Changes with Apache 2.2.21

  *) SECURITY: CVE-2011-3348 (cve.mitre.org)
     mod_proxy_ajp: Respond with HTTP_NOT_IMPLEMENTED when the method is not
     recognized.  [Jean-Frederic Clere]

  *) Fix a regression introduced by the CVE-2011-3192 byterange fix in 2.2.20.
     PR 51748. [<lowprio20 gmail.com>]

  *) mod_filter: Instead of dropping the Accept-Ranges header when a filter
     registered with AP_FILTER_PROTO_NO_BYTERANGE is present,
     set the header value to "none". [Eric Covener, Ruediger Pluem]

  *) mod_proxy_ajp: Ignore flushing if headers have not been sent.
     PR 51608 [Ruediger Pluem]

  *) mod_dav_fs: Fix segfault if apr DBM driver cannot be loaded. PR 51751.
     [Stefan Fritsch]

  *) mod_alias: Adjust log severity of "incomplete redirection target" 
     message. PR 44020.

  *) mod_rewrite: Check validity of each internal (int:) RewriteMap even if the
     RewriteEngine is disabled in server context, avoiding a crash while
     referencing the invalid int: map at runtime. PR 50994.
     [Ben Noordhuis <info noordhuis nl>]

  *) core: Allow MaxRanges none|unlimited|default and set 'Accept-Ranges: none'
     in the case Ranges are being ignored with MaxRanges none.
     [Eric Covener]

  *) mod_proxy_ajp: Respect "reuse" flag in END_REPONSE packets.
     [Rainer Jung]

#11 Updated by Danny Terweij almost 3 years ago

  • Subject changed from Apache 2.2.20 to Apache 2.2.21
  • Status changed from Closed to In Progress
  • % Done changed from 100 to 0
  • Resolution deleted (Resolved)

#12 Updated by Danny Terweij almost 3 years ago

  • % Done changed from 0 to 50

#13 Updated by Mustafa Ramadhan almost 3 years ago

Please also mod_ruid2 (taken from http://sourceforge.net/projects/mod-ruid/files/).

I found httpd-itk already include with 2.2.20 version.

#14 Updated by Danny Terweij almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Build 32 & 64:

httpd-2.2.21-lxcenter.1
httpd-devel-2.2.21-lxcenter.1
httpd-manual-2.2.21-lxcenter.1
httpd-tools-2.2.21-lxcenter.1
mod_ssl-2.2.21-lxcenter.1

Released and tested.

yum update httpd

(mod_ruid2 is not related to this issue Mustafa).

#15 Updated by Danny Terweij almost 3 years ago

  • Subject changed from Apache 2.2.21 to Apache 2.2.21
  • Status changed from Closed to In Progress
  • % Done changed from 100 to 0

Add patch:

SECURITY (CVE-2011-3368): Prevent unintended pattern expansion in some reverse proxy configurations by strictly validating the request-URI.

#16 Updated by Danny Terweij almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Build:

httpd-2.2.21-lxcenter.2
httpd-devel-2.2.21-lxcenter.2
httpd-manual-2.2.21-lxcenter.2
httpd-tools-2.2.21-lxcenter.2
mod_ssl-2.2.21-lxcenter.2

Released.

yum update httpd

#17 Updated by Danny Terweij over 2 years ago

  • Subject changed from Apache 2.2.21 to Apache 2.2.22
  • Status changed from Closed to In Progress
  • % Done changed from 100 to 0

Apache HTTP Server 2.2.22 Released
This version of Apache is principally a security and bug fix release, including the following significant security fixes:

  • SECURITY: CVE-2011-3368 (cve.mitre.org)
    Reject requests where the request-URI does not match the HTTP
    specification, preventing unexpected expansion of target URLs in
    some reverse proxy configurations.
  • SECURITY: CVE-2011-3607 (cve.mitre.org)
    Fix integer overflow in ap_pregsub() which, when the mod_setenvif module
    is enabled, could allow local users to gain privileges via a .htaccess
    file.
  • SECURITY: CVE-2011-4317 (cve.mitre.org)
    Resolve additional cases of URL rewriting with ProxyPassMatch or
    RewriteRule, where particular request-URIs could result in undesired
    backend network exposure in some configurations.
  • SECURITY: CVE-2012-0021 (cve.mitre.org)
    mod_log_config: Fix segfault (crash) when the '%{cookiename}C' log format
    string is in use and a client sends a nameless, valueless cookie, causing
    a denial of service. The issue existed since version 2.2.17.
  • SECURITY: CVE-2012-0031 (cve.mitre.org)
    Fix scoreboard issue which could allow an unprivileged child process
    could cause the parent to crash at shutdown rather than terminate
    cleanly.
  • SECURITY: CVE-2012-0053 (cve.mitre.org)
    Fixed an issue in error responses that could expose "httpOnly" cookies
    when no custom ErrorDocument is specified for status code 400.

#18 Updated by Danny Terweij over 2 years ago

  • % Done changed from 0 to 50

#19 Updated by Danny Terweij over 2 years ago

  • % Done changed from 50 to 90

Package: httpd 2.2.22
Build: 32/64Bit
Source: CentALT
Modified: No
Released: Yes, in test repository

How to get for testing:
yum update httpd --enablerepo=lxcenter-test

Using on production systems is at your own risc.

Let me know if something is not working well.

NOTE: This will be a fast test-release to public-release.

#20 Updated by Danny Terweij over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Resolution set to Resolved

Released.

yum update httpd

#21 Updated by Anonymous over 2 years ago

Apache 2.4.1 released ! It has many features from nginx and it's much faster than the old one. Release it and post benchmarks !

#22 Updated by Danny Terweij over 2 years ago

I know. I got the source downloaded 4 days ago.

#23 Updated by Danny Terweij over 2 years ago

btw it does not compile..

/usr/src/redhat/BUILD/httpd-2.4.1/support/rotatelogs.c:298: undefined reference to `apr_file_link'

Then it stops with an exit 1

#24 Updated by Danny Terweij over 2 years ago

nevermind.. I needed to create new versions of apr and apr-util.
2.4.1 is building. All three packages are build with dirty mode. New sources, old spec files, just changed source version. CentOS 5 will find the fuzzy lines of patches and makes good guesses. CentOS 6 dont like any fuzz tolerance (fuzz=0) in patches. If it works localy, i will put them in the test repo so ppl that want to test can test. But remember it is dirty until official packages are arround.

Ok next error now:
checking which MPM to use by default... itk
configure: error: MPM itk is not supported on this platform.

So as i dont use ITK, i go disable that patch :)
if no more errors found i shall announce here that i have placed it in the test repo. Otherwise just stick at 2.2.22 :)

#25 Updated by Ángel Guzmán Maeso over 2 years ago

It would break a lot of configs on Kloxo.

For example NameVirtualHost are deprecated.

http://httpd.apache.org/docs/2.4/new_features_2_4.html

#26 Updated by Anonymous over 2 years ago

Good job Danny, can't wait!

#27 Updated by Mustafa Ramadhan over 2 years ago

I am eager when kloxo use httpd 2.4. The reason is this version including mod_proxy_fcgi which better 'communicate' between httpd with php-fpm (like lighttpd and nginx 'communicate' with php-fpm). Use mod_fastcgi is good only for single user (like mod_php where user as 'apache).

For httpd-itk issue, maybe better separate httpd-itk from httpd package (like webtatic.com approach). Look at http://repo.webtatic.com/yum/centos/5/x86_64/ where we can see 2 file (httpd-2.2.21-1.w5.x86_64.rpm and httpd-itk-2.2.21-1.w5.x86_64.rpm).

#28 Updated by Anonymous over 2 years ago

Apache 2.4 is using asynchronicous i/o just like lighttpd 1.5. This should greatly reduce I/O bottleneck.

mod_ruid2 is also not working with this version: http://www.directadmin.com/forum/showthread.php?t=42938&p=217759

#29 Updated by Anonymous over 2 years ago

About mod_ruid2: "John tolk me that this is in test mode. So there are no known problems. I think it is wise to wait for production servers."

#30 Updated by Anonymous over 2 years ago

From this what I'm seeing Apache 2.4.1 is not compiling with PHP 5.2.17 - "unixd_config error". I will use 5.3.10 for benchmarks.

#31 Updated by Anonymous over 2 years ago

It's just a little bit faster on simple script (phpinfo):

Requests per second:    235.23  [#/sec] (mean) Apache 2.2.22 + php 5.2.17
Requests per second:    1522.03 [#/sec] (mean) Apache 2.2.22 + php 5.3.10
Requests per second:    1533.88 [#/sec] (mean) Apache 2.2.22 + php 5.4.0RC8
Requests per second:    1549.60 [#/sec] (mean) Apache 2.4 + php 5.3.10

#33 Updated by Anonymous over 2 years ago

Any progress on this ?

#34 Updated by Anonymous over 2 years ago

mod_ruid2 beta version for apache 2.0, 2.2 and 2.4 is available in svn:
http://mod-ruid.svn.sourceforge.net/viewvc/mod-ruid/mod_ruid2.c?revision=31

#35 Updated by Anonymous over 2 years ago

Angel Guzmán Maeso wrote:

It would break a lot of configs on Kloxo.

For example NameVirtualHost are deprecated.

http://httpd.apache.org/docs/2.4/new_features_2_4.html

I see NameVirtualHost only in init.conf, so it should be easy to change:

NameVirtualHost 176.31.99.11:80
NameVirtualHost 176.31.99.11:443

#36 Updated by Danny Terweij over 2 years ago

Marek Zakrzewski wrote:

Any progress on this ?

I have built 2.4.1 (disabled one error in spec) on C6-x86
It depends on a few other RPM packages to be updated.

Running 2.4.1 at http://109.206.162.26/
Now that i have the build depencies i can try it on C5.
PHP is not installed (that depends a rebuild of PHP and its depencies)

Why everything depends to each other :S

#37 Updated by Anonymous over 2 years ago

Is there anything that needs to be changed inside Kloxo (if I'm already running PHP 5.3.10) ?

#38 Updated by Anonymous over 2 years ago

I'm trying to build against CentOS 5.7 64-bit:

-rw-r--r-- 1 root root  266521 wrz 13 02:55 apr-1.4.5-1.jason.1.x86_64.rpm
-rw-r--r-- 1 root root  184864 wrz 13 02:55 apr-devel-1.4.5-1.jason.1.x86_64.rpm
-rw-r--r-- 1 root root  635000 gru 13 23:18 apr-util-1.4.1.tar.bz2
-rw-r--r-- 1 root root   59121 lut 29 19:27 distcache-devel-1.4.5-14.1.x86_64.rpm
-rw-r--r-- 1 root root   18819 paź  7  2010 lua-devel-5.1.4-4.el5.x86_64.rpm

Still missing apr-util-devel >= 1.4.0

#39 Updated by Danny Terweij over 2 years ago

Marek Zakrzewski wrote:

I'm trying to build against CentOS 5.7 64-bit:

[...]

Still missing apr-util-devel >= 1.4.0

Take a look on the url i wrote above, take the apr-util rebuild it and you have one :)

#40 Updated by Danny Terweij over 2 years ago

Marek Zakrzewski wrote:

Is there anything that needs to be changed inside Kloxo (if I'm already running PHP 5.3.10) ?

that far i am not yet. i guess: yes

#41 Updated by Anonymous over 2 years ago

Danny Terweij wrote:

Marek Zakrzewski wrote:

I'm trying to build against CentOS 5.7 64-bit:

[...]

Still missing apr-util-devel >= 1.4.0

Take a look on the url i wrote above, take the apr-util rebuild it and you have one :)

It's for C6, not for C5.

#42 Updated by Anonymous over 2 years ago

Danny Terweij wrote:

Marek Zakrzewski wrote:

Is there anything that needs to be changed inside Kloxo (if I'm already running PHP 5.3.10) ?

that far i am not yet. i guess: yes

I've compiled normally and it installed in /usr/local/apache2 and all configs are in this directory. Can't wait for your results.

#43 Updated by Anonymous over 2 years ago

If I try to build my own apr-util-devel 1.4 then libuuid-devel is needed ;)

#44 Updated by Anonymous over 2 years ago

I got all needed deps and build my packages for CentOS 5 64-bit:

http://bit.ly/wqQuwN

Now I'm trying to build rpm from src.rpm and it failes here:

checking for chosen layout... RPM
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... Invalid configuration `noarch-redhat-linux-gnu': machine `noarch-redhat' not recognized
configure: error: /bin/sh build/config.sub noarch-redhat-linux-gnu failed

#45 Updated by Anonymous over 2 years ago

Still no progress on this one ?

#46 Updated by Danny Terweij over 2 years ago

  • Affected version set to All

Apache 2.4 is still far away. The mnm API version is higher and that means PHP 5.2 / 5.3 will not work (uses older API).
I can compile 2.4 without problems on C5/C6 but our PHP for C5 is not compatible.
Remember C5 is supported till year 2017. The next apache version will be in the 2.2 series. C6 can be a different story to compile everything with all newest API version numbers.
Expect all C6 Kloxo/HyperVM related packages to be ready this year. Still i have some problems to solve for C6.

#47 Updated by Mustafa Ramadhan over 2 years ago

Is possible apache 2.4.1 rpm placed in download.lxcenter.org/download/test?.

Look like php-fpm with fastcgi for apache 2.2.22 still unresolved (.htaccess issue).

#48 Updated by Anonymous over 2 years ago

Please put in test repo. I'm currently using PHP 5.3.10 so PHP issues is not a problem for me. Will be switching to 5.4.0 soon when IonCube loader will be released.

#49 Updated by Danny Terweij over 2 years ago

Marek, even tho u use PHP 5.3.10 and use Apache 2.2.22 then Apache 2.4 still not working with your PHP 5.3.10.
You have to modify PHP source code and change the mnm api version number, then compile/install/make a rpm the PHP.
Also you need to recompile other PHP packages (xcache etc) and some mod_* apache modules.

Mustafa, Marek, you can find apache 2.4 on thirdparty repo's. remi has 2.4 in testing. Thats where i grabbed it also from.

#50 Updated by Danny Terweij over 2 years ago

Mustafa Ramadhan wrote:

Look like php-fpm with fastcgi for apache 2.2.22 still unresolved (.htaccess issue).

Make a bug report to CentAlt repository guys with your problem... our apache 2.2.22 is from them. Tho i dont have any problems with Kloxo defaults.

#51 Updated by Anonymous over 2 years ago

Danny Terweij wrote:

Mustafa, Marek, you can find apache 2.4 on thirdparty repo's. remi has 2.4 in testing. Thats where i grabbed it also from.

Where ??? I can't find it...

#52 Updated by Danny Terweij over 2 years ago

Marek Zakrzewski wrote:

Where ??? I can't find it...

oh my bad... its atomic:

Here: http://www6.atomicorp.com/channels/source/httpd/

But Marek, understand that even if you have already 5.3.10 of PHP, it DOES NOT WORK with Apache 2.4.
You have to change a version string in a PHP source file that match the API version from Apache 2.4, then compile PHP and your 5.3.10 PHP version works with Apache 2.4. But keep in mind, a downgrade of PHP or upgrade to PHP 5.4 or downgrade Apache, means that you have to be sure that the mnm API version is exact the same else Apache won't serve PHP files.

Also i said, other mod_* packages for Apache need to be recompiles against a new API version.
For example, mod_security or mod_perl will also fail.

The same for other php-* packages, they need to be rebuild against the new PHP-5.3.10-devel or PHP-5.4.0-devel packages with the newer mnm API version.

It is not that easy to upgrade to a new major version, a lot depends on eachother!

#53 Updated by Anonymous over 2 years ago

Thank you. I will test it out on my test machine and will let you now.

#54 Updated by Anonymous over 2 years ago

Not working for me:

+ ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --target=noarch-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-layout=RPM --libdir=/usr/lib64 --sysconfdir=/etc/httpd/conf --includedir=/usr/include/httpd --libexecdir=/usr/lib64/httpd/modules --datadir=/var/www --with-installbuilddir=/usr/lib64/httpd/build --enable-mpms-shared=all --with-apr=/usr --with-apr-util=/usr --enable-suexec --with-suexec --with-suexec-caller=apache --with-suexec-docroot=/var/www --with-suexec-logfile=/var/log/httpd/suexec.log --with-suexec-bin=/usr/sbin/suexec --with-suexec-uidmin=500 --with-suexec-gidmin=100 --enable-pie --with-pcre --enable-mods-shared=all --enable-ssl --with-ssl --enable-socache-dc --enable-bucketeer --enable-case-filter --enable-case-filter-in --disable-imagemap
checking for chosen layout... RPM
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... Invalid configuration `noarch-redhat-linux': machine `noarch-redhat' not recognized
configure: error: /bin/sh build/config.sub noarch-redhat-linux failed
error: Bad exit status from /var/tmp/rpm-tmp.3131 (%build)

RPM build errors:
    InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 5ebd2744
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.3131 (%build)

#55 Updated by Mustafa Ramadhan over 2 years ago

Try:

./configure \
        --with-mpm=prefork \
        --enable-mpms-shared=all \
        --enable-layout=RedHat

And taken source from http://www.upemax.user.icpnet.pl/

#56 Updated by Anonymous over 2 years ago

Got it, but now it's failing on modules:

/etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 148 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_basic.so into server: /etc/httpd/modules/mod_auth_basic.so: undefined symbol: ap_log_rerror
                                                           [FAILED]

#57 Updated by Anonymous over 2 years ago

I have to copy modules to proper directory, but got something else now:

/etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: AH00534: httpd: Configuration error: No MPM loaded.
                                                           [FAILED]

#58 Updated by Mustafa Ramadhan over 2 years ago

Apache 2.4.1 read .conf from /etc/httpd/extra instead /etc/httpd/conf.d. One of .conf inside (not remember) used as mpm setting (mpm as module on apache 2.4.1).

#59 Updated by Anonymous over 2 years ago

I'm almost there:

Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: undefined symbol: unixd_config
                                                           [FAILED]

#60 Updated by Anonymous over 2 years ago

Compliled, but I have to recompile PHP manually too:

apachectl -V
[Thu Mar 29 14:57:09.696945 2012] [so:warn] [pid 32512] AH01574: module php5_module is already loaded, skipping
Server version: Apache/2.4.1 (Unix)
Server built:   Mar 28 2012 22:14:36
Server's Module Magic Number: 20120211:0
Server loaded:  APR 1.4.6, APR-UTIL 1.4.1
Compiled using: APR 1.4.6, APR-UTIL 1.4.1
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/usr" 
 -D SUEXEC_BIN="/usr/bin/suexec" 
 -D DEFAULT_PIDLOG="/var/run/httpd.pid" 
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" 
 -D DEFAULT_ERRORLOG="logs/error_log" 
 -D AP_TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types" 
 -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf" 

#61 Updated by Anonymous over 2 years ago

#62 Updated by Anonymous about 2 years ago

The Apache Software Foundation and the Apache HTTP Server Project are pleased to announce the release of version 2.4.2 of the Apache HTTP Server ("Apache"). This version of Apache is our 2nd GA release of the new generation 2.4.x branch of Apache HTTPD and represents fifteen years of innovation by the project, and is recommended over all previous releases. This version of Apache is principally a security and bug fix release.

#63 Updated by Anonymous almost 2 years ago

Apache httpd 2.4.3 Released

#64 Updated by Anonymous over 1 year ago

Apache httpd 2.2.23 Released

#65 Updated by Danny Terweij over 1 year ago

  • Subject changed from Apache 2.2.22 to Apache 2.2.23
  • Due date set to 12/27/2012
  • Status changed from Closed to In Progress
  • Start date changed from 06/29/2011 to 12/20/2012
  • % Done changed from 100 to 0
  • Resolution deleted (Resolved)

Prepare for Apache 2.2.23

#66 Updated by Anonymous over 1 year ago

Mustafa already uses ready to go rpm in his Kloxo fork.

#67 Updated by Anonymous over 1 year ago

BTW Danny - can you change in /etc/init.d/httpd:

from

  restart)
        stop
        start
        ;;

to

  restart)
       $apachectl $@
        RETVAL=$?
        ;;

This will prevent white page and active connections drop while restarting Kloxo.

#68 Updated by Danny Terweij over 1 year ago

That needs a new kloxo version. The init.d/httpd comes from Kloxo. If i change it in the RPM, then Kloxo rewrites it after a upcp/cleanup. The RPM never replaces the existing files if exists unless there is a need to do (.rpmnew and .rpmsave extentions)

So the best is to change the init file in your kloxo installation dir. If i am right in the 'files' directory.

#69 Updated by Danny Terweij over 1 year ago

  • % Done changed from 0 to 90

Package: httpd 2.2.23-3
Build: 32/64Bit
Source: CentALT
Modified: No
Released: No, in test repository

How to get for testing:
yum update httpd apr apr-util --enablerepo=lxcenter-test

Using on production systems is at your own risc.

Let me know if something is not working well.

NOTE: check your yum line, so it is indeed httpd apr apr-util (apr also new versions, httpd compiled against them).

#70 Updated by Anonymous over 1 year ago

I was scared to use it because of this RUid RGid bug with mod_ruid2, because then my automatic fix script doesn't work and if error eccurs all webserver would be down.

I'm updating to Kloxo-MR on 27th and then I will change it permanently. Graceful restart will add all new domains and changes but will not harm current active connections and downloads so users won't see white pages for a second or two.

#71 Updated by Anonymous over 1 year ago

Some problems with deps:

Resolving Dependencies
--> Running transaction check
--> Processing Dependency: apr = 1.3.12-1.el5_5.1 for package: apr-devel
---> Package apr.x86_64 0:1.4.6-1 set to be updated
--> Processing Dependency: apr-util = 1.3.9-1.el5 for package: apr-util-devel
--> Processing Dependency: apr-util = 1.3.9-1.el5 for package: apr-util-ldap
---> Package apr-util.x86_64 0:1.4.1-1 set to be updated
--> Processing Dependency: httpd = 2.2.22-1 for package: mod_ssl
---> Package httpd.x86_64 0:2.2.23-3 set to be updated
--> Processing Dependency: httpd-tools = 2.2.23-3 for package: httpd
--> Running transaction check
--> Processing Dependency: apr = 1.3.12-1.el5_5.1 for package: apr-devel
--> Processing Dependency: apr-util = 1.3.9-1.el5 for package: apr-util-devel
---> Package apr-util-ldap.x86_64 0:1.4.1-1 set to be updated
---> Package httpd-tools.x86_64 0:2.2.23-3 set to be updated
---> Package mod_ssl.x86_64 1:2.2.23-3 set to be updated
--> Finished Dependency Resolution
apr-devel-1.3.12-1.el5_5.1.x86_64 from installed has depsolving problems
  --> Missing Dependency: apr = 1.3.12-1.el5_5.1 is needed by package apr-devel-1.3.12-1.el5_5.1.x86_64 (installed)
apr-util-devel-1.3.9-1.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: apr-util = 1.3.9-1.el5 is needed by package apr-util-devel-1.3.9-1.el5.x86_64 (installed)
Error: Missing Dependency: apr-util = 1.3.9-1.el5 is needed by package apr-util-devel-1.3.9-1.el5.x86_64 (installed)
Error: Missing Dependency: apr = 1.3.12-1.el5_5.1 is needed by package apr-devel-1.3.12-1.el5_5.1.x86_64 (installed)
 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
The program package-cleanup is found in the yum-utils package.

#72 Updated by Anonymous over 1 year ago

Seems I got some apr from another repo when I was testing httpd 2.4, after removing it's all working fine.

#73 Updated by Danny Terweij over 1 year ago

Okay great.

Up to the next one (not today, maybe tomorrow late. I have some party's in the weekend.)

#74 Updated by Anonymous over 1 year ago

I've started getting such errors in dmesg. I got 32 GB RAM + 2 GB SWAP.

httpd: page allocation failure: order:1, mode:0x20
Pid: 16194, comm: httpd Not tainted 3.0.54-1.el5.elrepo #1
Call Trace:
 <IRQ>  [<ffffffff810e22bb>] ? warn_alloc_failed+0x132/0x153
 [<ffffffff81038e41>] ? __wake_up_common+0x46/0x7a
 [<ffffffff81081683>] ? __raw_spin_unlock_irqrestore+0x33/0x3e
 [<ffffffff813fb796>] ? _raw_spin_unlock_irqrestore+0xe/0x10
 [<ffffffff810e0f7f>] ? get_page_from_freelist+0x19c/0x1ce
 [<ffffffff810e1079>] ? wake_all_kswapd+0x4d/0x66
 [<ffffffff810e2601>] ? __alloc_pages_slowpath+0x325/0x345
 [<ffffffff810e0f7f>] ? get_page_from_freelist+0x19c/0x1ce
 [<ffffffff810e26f1>] ? __alloc_pages_nodemask+0xd0/0x10b
 [<ffffffff8111daed>] ? __alloc_pages+0x10/0x12
 [<ffffffff8111db12>] ? alloc_pages_exact_node+0x23/0x28
 [<ffffffff8111db50>] ? kmem_getpages+0x39/0xdc
 [<ffffffff8111dd84>] ? fallback_alloc+0x144/0x1d2
 [<ffffffff8111df35>] ? ____cache_alloc_node+0x123/0x136
 [<ffffffff8111f261>] ? kmem_cache_alloc+0x7f/0xd3
 [<ffffffff8134102e>] ? sk_prot_alloc+0x3b/0xe2
 [<ffffffff81341e26>] ? sk_clone+0x24/0x238
 [<ffffffff81389771>] ? inet_csk_clone+0x16/0x9c
 [<ffffffff8139f6b3>] ? tcp_create_openreq_child+0x2a/0x3a5
 [<ffffffff8139e661>] ? tcp_v4_syn_recv_sock+0x41/0x1c8
 [<ffffffff8139fcbf>] ? tcp_check_req+0x210/0x2a3
 [<ffffffff81389631>] ? inet_csk_search_req+0x3c/0x9e
 [<ffffffff8139d32e>] ? tcp_v4_hnd_req+0x61/0xe2
 [<ffffffff8139d4bc>] ? tcp_v4_do_rcv+0x90/0x124
 [<ffffffff8139e494>] ? tcp_v4_rcv+0x1f6/0x382
 [<ffffffff8137f0ae>] ? ip_local_deliver_finish+0xdb/0x152
 [<ffffffff8137efd3>] ? ip_local_deliver+0x5d/0x5d
 [<ffffffff8137e87b>] ? NF_HOOK_THRESH+0x2f/0x36
 [<ffffffff813775b2>] ? rcu_read_unlock+0xe/0x10
 [<ffffffff8137e89f>] ? NF_HOOK+0x1d/0x1f
 [<ffffffff8137eda0>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8137efca>] ? ip_local_deliver+0x54/0x5d
 [<ffffffff8137e7ea>] ? dst_input+0x1c/0x20
 [<ffffffff8137eda0>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8137ef5e>] ? ip_rcv_finish+0x1be/0x1d6
 [<ffffffff8137eda0>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8137e87b>] ? NF_HOOK_THRESH+0x2f/0x36
 [<ffffffff8137e89f>] ? NF_HOOK+0x1d/0x1f
 [<ffffffff8137ed72>] ? ip_rcv+0x1ae/0x1dc
 [<ffffffff8134d894>] ? __netif_receive_skb+0x2a9/0x2e3
 [<ffffffff81352f9f>] ? process_backlog+0x62/0x130
 [<ffffffff81352d7f>] ? net_rx_action+0x91/0x144
 [<ffffffff810546f1>] ? __do_softirq+0xa7/0x145
 [<ffffffff8140269c>] ? call_softirq+0x1c/0x30
 <EOI>  [<ffffffff8100424c>] ? do_softirq+0x46/0x86
 [<ffffffff810545fe>] ? _local_bh_enable_ip+0x7f/0xa7
 [<ffffffff81054634>] ? local_bh_enable_ip+0xe/0x10
 [<ffffffff810813f3>] ? __raw_spin_unlock_bh+0x24/0x26
 [<ffffffff813fb6f6>] ? _raw_spin_unlock_bh+0xe/0x10
 [<ffffffff81340087>] ? spin_unlock_bh+0xe/0x10
 [<ffffffff813403f4>] ? release_sock+0x5b/0x60
 [<ffffffff813ad145>] ? inet_stream_connect+0x14b/0x193
 [<ffffffff8133dca4>] ? sys_connect+0x96/0xd6
 [<ffffffff8113f494>] ? spin_unlock+0xe/0x10
 [<ffffffff8113fbf7>] ? setfl+0x110/0x127
 [<ffffffff8114005f>] ? do_fcntl+0x15e/0x207
 [<ffffffff81140183>] ? sys_fcntl+0x7b/0x8b
 [<ffffffff81401482>] ? system_call_fastpath+0x16/0x1b

#75 Updated by Danny Terweij over 1 year ago

Nothing to do with our packages. You use something from a thirdparty repository called ELREPO. Such errors can arrise when using MIXED Repositories (More thirdparty repositories enabled).
I rebuild/build all packages against the base and lxcenter repositories and sometimes against packages from EPEL.

#76 Updated by Anonymous over 1 year ago

I use kernel from them because default CentOS kernel doesn't work well with ext4 filesystem (kernel panics).

#77 Updated by Danny Terweij over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Resolution set to Resolved

Released.

#78 Updated by Danny Terweij 10 months ago

  • Project changed from Kloxo to RPM and Thirdparty software
  • Category deleted (Packages - RPM)
  • Target version deleted (Packages CentOS 5)

#79 Updated by Danny Terweij 10 months ago

  • Category set to CentOS 5
  • Target version set to Kloxo

#80 Updated by Danny Terweij 7 months ago

  • Subject changed from Apache 2.2.23 to Apache 2.2.26
  • Due date changed from 12/27/2012 to 12/31/2013
  • Status changed from Closed to In Progress
  • Start date changed from 12/20/2012 to 12/18/2013
  • % Done changed from 100 to 30
  • Estimated time set to 24.00
  • Resolution deleted (Resolved)

Prepare update from 2.2.23 to 2.2.26 .

#81 Updated by Danny Terweij 7 months ago

  • % Done changed from 30 to 90

Package: httpd 2.2.26
Build: 32/64Bit
Source: CentALT
Modified: No
Released: No, in test repository

How to get for testing:
yum update httpd --enablerepo=lxcenter-test

Using on production systems is at your own risc.

Let me know if something is not working well.

#82 Updated by Danny Terweij 7 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Resolution set to Resolved

Released.

Also available in: Atom PDF