From owner-freebsd-questions@freebsd.org Sat Nov 9 14:27:07 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D31A01AB2FA for ; Sat, 9 Nov 2019 14:27:07 +0000 (UTC) (envelope-from firmdog@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479KGL6k6Cz3K5Z for ; Sat, 9 Nov 2019 14:27:06 +0000 (UTC) (envelope-from firmdog@gmail.com) Received: by mail-ed1-x52a.google.com with SMTP id l25so8361975edt.6 for ; Sat, 09 Nov 2019 06:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gAX1uEMDJHc0HJYPdWP5r2UOLIMIVd7XfVhNYgdaKFk=; b=RiewdGhEAtUotb2gQg0ZzE9joKFL8JvOQNTtttMF+OuIrSyndwTD3+Pz0fUISitQX0 mGcTO/ZoliZm+8pFztjxAIoB736EoEvO0pRzNsOgxLUt44dm6R0E0JkwPalUMbn2vv4G 8fnD3UpG0sdXHYOcPwfMFDwr77IIaACyvTk0ITD/scazNwHPuvYj30LO6iL49kH3PDNL olxqOrtZbzkhW77VjFvsSEmdjKCmWWfnY3F/8j/E83fwQOXIfSy7jxJgTm7wo2zRxZGY 0quGxemdQsVl9BTmpW2J8IITP8OHylBkQeUFNKDh2FIa8SvQB9GuKHDG8X+fZlsH1gRi 7x7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gAX1uEMDJHc0HJYPdWP5r2UOLIMIVd7XfVhNYgdaKFk=; b=mowWuvGpS5ZV5SO1YcBBCCdVXrvLIyzu5Ny1w6KBJRBbNw8BQJpzhiXQteNMPPEcWk izHYvQjPhwbC3wEjpcyjGHGJINZn82CJeEhzo2as7VVjb6xKugKwdGyDWZaFvL7FlkNf Oy9cj7qSffRlCEesdFX39P9jbLn8waYzuev9Q8+0rSJe5wlQMQOWjrU3YFMX6y3peHz2 f5fKxhk38yJ3XaElNBR9OnT+y8WcLrbLgm6oBtBI1z9qZ8E0iaGcOwQRf0fjcknENdXD mLmhqNuPL/MmTwNFqpUHCEsOZHqX6x1/RAHZ1tlN8RIg9HHO5Yfqr5LwNneelpV8Pm41 07Lw== X-Gm-Message-State: APjAAAWzdUlQuCca7EnUX/3M1mbO3Gz6DIb5UxnoetVwbuQCdQIIcDQD ueZIPd8w544WSn19mu87PThmHM/bZU6YUO9UihY= X-Google-Smtp-Source: APXvYqxgcy0p12939qSmQgSUv6oOiA/fuyIohl4bV5ml+Gf0o3dHRmiJQ5IKRMR7zx37M/rBy/H7fEzyivAFIxOBz54= X-Received: by 2002:a17:906:5a83:: with SMTP id l3mr14259550ejq.194.1573309625094; Sat, 09 Nov 2019 06:27:05 -0800 (PST) MIME-Version: 1.0 References: <718D87D5-597A-43F8-99D3-7C58E8928F21@kicp.uchicago.edu> In-Reply-To: <718D87D5-597A-43F8-99D3-7C58E8928F21@kicp.uchicago.edu> From: Andy Firman Date: Sat, 9 Nov 2019 09:27:25 -0500 Message-ID: Subject: Re: apache24 won't start now after php upgrade --> Undefined symbol "apr_atomic_add64" To: Valeri Galtsev Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 479KGL6k6Cz3K5Z X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=RiewdGhE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of firmdog@gmail.com designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=firmdog@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[a.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-9.54), ipnet: 2a00:1450::/32(-2.75), asn: 15169(-2.00), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2019 14:27:07 -0000 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 wrote: > > > > On Nov 9, 2019, at 7:42 AM, Andy Firman 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 > ++++++++++++++++++++++++++++++++++++++++ > >