Page 2 of 2 FirstFirst 12
Results 21 to 34 of 34

Thread: HTTPd fails from 2.4.39 to 2.4.41 update

  1. #21
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    116
    We run CloudLinux and OpenVZ boxes, so it might be more than just CloudLinux.

  2. #22
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,989
    If you're on non-CL, are you running CentOS <7.4? APR might be selecting getrandom syscall even when it shouldn't:
    RHEL 7.4 introduces the getrandom() system call, which combines the best of the existing interfaces
    Another guess - OpenVZ kernel has this issue, as CL relies on them too as far as I remember

    Anyone with this issue on native CentOS kernel or Debian/FreeBSD? I guess none, but I'd like to be sure.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #23
    Join Date
    Aug 2019
    Posts
    5
    Quote Originally Posted by smtalk View Post
    If you're on non-CL, are you running CentOS <7.4? APR might be selecting getrandom syscall even when it shouldn't:


    Another guess - OpenVZ kernel has this issue, as CL relies on them too as far as I remember

    Anyone with this issue on native CentOS kernel or Debian/FreeBSD? I guess none, but I'd like to be sure.
    I'm on 7.6, and OpenVZ6, see below:
    Code:
    [root@cluster custombuild]# cat /etc/redhat-release 
    CentOS Linux release 7.6.1810 (Core) 
    [root@cluster custombuild]# uname -a
    Linux cluster.ikwright.com 2.6.32-042stab139.1 #1 SMP Tue Jun 18 12:51:14 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux
    No reported issues on our OpenVZ7 instances, yet.

  4. #24
    Join Date
    May 2008
    Posts
    876
    There are no issues on FreeBSD 11.2

  5. #25
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    116
    Quote Originally Posted by smtalk View Post
    Quick fix for now:
    Code:
    ln -sf /usr/lib/apache/libapr-1.so.0.6.5 /usr/lib/apache/libapr-1.so.0
    Continuing to investigate.
    [root@s01 custombuild]# ln -sf /usr/lib/apache/libapr-1.so.0.6.5 /usr/lib/apache/libapr-1.so.0
    [root@s01 custombuild]# httpd -v
    httpd: symbol lookup error: httpd: undefined symbol: apr_atomic_read64

    Any idea?

  6. #26
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,989
    Please try https://forum.directadmin.com/showth...118#post300118. This should work for sure.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  7. #27
    Join Date
    Jun 2019
    Posts
    4
    We're seeing this too. 6 machines so far this morning. Let me know if you need more cases to check against.

  8. #28
    Join Date
    Aug 2019
    Posts
    2
    Hello,

    We do have a couple hundreds of server with OVZ6+CentOS+DA. The issue is happening with the most recent servers with auto update enabled.

    At some of them, the following worked (I believe that it just works if you do the following before: cd /usr/local/directadmin/custombuild ; ./build update ; ./build apache ; ./build php n ; ./build rewrite_confs):
    ln -sf /usr/lib/apache/libapr-1.so.0.6.5 /usr/lib/apache/libapr-1.so.0 ; service httpd restart

    At the ones that the ln has not fixed, we are receiving:
    # httpd -V
    httpd: symbol lookup error: httpd: undefined symbol: apr_atomic_read64

    I am trying to build apache to confirm

  9. #29
    Join Date
    Aug 2019
    Posts
    2
    Quote Originally Posted by smtalk View Post
    Please try https://forum.directadmin.com/showth...118#post300118. This should work for sure.
    This fix has worked so far.

  10. #30
    Join Date
    May 2008
    Posts
    876
    Quote Originally Posted by smtalk View Post
    Quick fix for now:
    Code:
    rm -f /usr/lib/apache/libapr-1.so.0.7.0 /usr/lib/apache/libapr-1.so.0
    cd /usr/local/directadmin/custombuild
    perl -pi -e 's|apr:1.7.0:757239852b082b844e268a86f2806fd2|apr:1.6.5:|g' versions.txt
    ./build apache
    Continuing to investigate.
    Offtopic: Is there any reason why on FreeBSD in versions.txt I read "apr:1.6.5" but with httpd -V I get:

    Server loaded: APR 1.7.0, APR-UTIL 1.6.1
    Compiled using: APR 1.7.0, APR-UTIL 1.6.1
    It looks like Custombuild is building against APR 1.7.0 regardless of what is written in versions.txt. And I am unsure why 1.6.5 is listed in versions.txt but not the latest version.

    Is that a temporarily fix (downgrading APR) for people with issues which is skipped for FreeBSD through the build script?
    Last edited by wattie; 08-15-2019 at 08:17 AM.

  11. #31
    Join Date
    Jul 2010
    Posts
    79
    I'm on Centos 7.6.1810 64-bit and had the same error. The quick fix suggested by smtalk worked for me.

    Please keep me posted if anything else should be fixed when this problem is solved.

  12. #32
    Join Date
    Feb 2005
    Posts
    259
    Same issue here. Openvz node and the vps runs on CentOS Linux release 7.6.1810 (Core).

    This has worked: https://forum.directadmin.com/showth...118#post300118

    Please fix this issue to prevent it from happening on other servers updating in the next couple of days.

  13. #33
    Join Date
    Jun 2019
    Posts
    56
    no issues

    KVM - Cloud Linux 7 3.10 kernel (not hybrid 4 which is beta) converted from 7.6.1810 Centos iso

    Code:
    httpd -V
    Server version: Apache/2.4.41 (Unix)
    Server built:   Aug 15 2019 09:19:40
    Server's Module Magic Number: 20120211:88
    Server loaded:  APR 1.7.0, APR-UTIL 1.6.1
    Compiled using: APR 1.7.0, APR-UTIL 1.6.1
    LXC Centos 7 - 5.0 kernel (Proxmox 6) from Proxmox template, updated with yum prior to DirectAdmin install and then yum cron
    Code:
    httpd -V
    Server version: Apache/2.4.41 (Unix)
    Server built:   Aug 15 2019 08:50:37
    Server's Module Magic Number: 20120211:88
    Server loaded:  APR 1.7.0, APR-UTIL 1.6.1
    Compiled using: APR 1.7.0, APR-UTIL 1.6.1
    Both have epel-repo enabled
    Trying my best

  14. #34
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,738
    I use Debians and OpenVZ with Debian CTs.......
    Server loaded: APR 1.7.0, APR-UTIL 1.6.1
    Compiled using: APR 1.7.0, APR-UTIL 1.6.1
    All fine.... (hopefully)

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •