apache24 won't start now after php upgrade --> Undefined symbol "apr_atomic_add64"
Andy Firman
firmdog at gmail.com
Sat Nov 9 14:27:07 UTC 2019
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 at kicp.uchicago.edu>
wrote:
>
>
> > On Nov 9, 2019, at 7:42 AM, Andy Firman <firmdog at 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 at 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 at freebsd ~]#
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++
>
>
More information about the freebsd-questions
mailing list