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

next in thread | previous in thread | raw e-mail | index | archive | help


> On Nov 9, 2019, at 7:42 AM, Andy Firman <firmdog@gmail.com> wrote:
>=20
> My daily security email said that php72-7.2.22 is vulnerable.
>=20
> 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?
>=20
> # 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
>=20
>=20

Try to remove and install again apr package.

>=20
>=20
> [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:
>=20
> php72: 7.2.22 -> 7.2.24
> pcre: 8.43_1 -> 8.43_2
> libargon2: 20171227_1 -> 20190702
>=20
> 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?718D87D5-597A-43F8-99D3-7C58E8928F21>