Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2019 09:27:25 -0500
From:      Andy Firman <firmdog@gmail.com>
To:        Valeri Galtsev <galtsev@kicp.uchicago.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: apache24 won't start now after php upgrade --> Undefined symbol "apr_atomic_add64"
Message-ID:  <CAHcg-UFdj6kD3woRFVMnsAzoRSyqaaK%2Bohc4ZQpiTO2MJQpT7w@mail.gmail.com>
In-Reply-To: <718D87D5-597A-43F8-99D3-7C58E8928F21@kicp.uchicago.edu>
References:  <CAHcg-UEbjBpTfKsm2JP%2BUWfjEqmg56D6ejfT7PcSFsO8Rh_tZA@mail.gmail.com> <718D87D5-597A-43F8-99D3-7C58E8928F21@kicp.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Wow, you are awesome! Had no clue about apr.

Thanks so much for the quick response!

Quick summary of my recovery:

pkg delete shows:

Installed packages to be REMOVED:
apr-1.6.5.1.6.1_1
apache24-2.4.41
mod_php72-7.2.24

Then pkg install shows:

New packages to be INSTALLED:
apache24: 2.4.41
mod_php72: 7.2.24
perl5.28: 5.28.2
apr: 1.7.0.1.6.1


YES, SUCCESS!

# apachectl start
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.

On Sat, Nov 9, 2019 at 9:15 AM Valeri Galtsev <galtsev@kicp.uchicago.edu>
wrote:

>
>
> > On Nov 9, 2019, at 7:42 AM, Andy Firman <firmdog@gmail.com> wrote:
> >
> > My daily security email said that php72-7.2.22 is vulnerable.
> >
> > So I did a pkg upgrade (see further below) and now apache will not start,
> > even after pkg delete and install of apache24. What on earth happened and
> > how do I fix this?
> >
> > # apachectl start
> > Performing sanity check on apache24 configuration:
> > ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_atomic_add64"
> > Starting apache24.
> > ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_atomic_add64"
> > /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24
> >
> >
>
> Try to remove and install again apr package.
>
> >
> >
> > [root@freebsd ~]# pkg upgrade php72
> > Updating FreeBSD repository catalogue...
> > FreeBSD repository is up to date.
> > All repositories are up to date.
> > The following 3 package(s) will be affected (of 0 checked):
> > Installed packages to be UPGRADED:
> >
> > php72: 7.2.22 -> 7.2.24
> > pcre: 8.43_1 -> 8.43_2
> > libargon2: 20171227_1 -> 20190702
> >
> > Number of packages to be upgraded: 3
> > 5 MiB to be downloaded.
> > Proceed with this action? [y/N]: y
> > [1/3] Fetching php72-7.2.24.txz: 100%    3 MiB   3.6MB/s    00:01
> > [2/3] Fetching pcre-8.43_2.txz: 100%    1 MiB   1.3MB/s    00:01
> > [3/3] Fetching libargon2-20190702.txz: 100%   65 KiB  66.1kB/s    00:01
> > Checking integrity... done (0 conflicting)
> > [1/3] Upgrading pcre from 8.43_1 to 8.43_2...
> > [1/3] Extracting pcre-8.43_2: 100%
> > [2/3] Upgrading libargon2 from 20171227_1 to 20190702...
> > [2/3] Extracting libargon2-20190702: 100%
> > [3/3] Upgrading php72 from 7.2.22 to 7.2.24...
> > [3/3] Extracting php72-7.2.24: 100%
> > [root@freebsd ~]#
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcg-UFdj6kD3woRFVMnsAzoRSyqaaK%2Bohc4ZQpiTO2MJQpT7w>