From nobody Wed Aug 18 13:02:27 2021 X-Original-To: elastic@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EF237176CC66 for ; Wed, 18 Aug 2021 13:02:31 +0000 (UTC) (envelope-from fh@netzkommune.de) Received: from smtp2.nkhosting.net (smtp2.nkhosting.net [84.200.40.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqSjg5c2Pz4TMg; Wed, 18 Aug 2021 13:02:31 +0000 (UTC) (envelope-from fh@netzkommune.de) Received: from smtpclient.apple (dynamic-046-114-140-178.46.114.pool.telefonica.de [46.114.140.178]) by smtp2.nkhosting.net (Postfix) with ESMTPSA id 4E11A1CD78; Wed, 18 Aug 2021 15:02:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netzkommune.de; s=smtp2-dkim; t=1629291748; bh=xxuEoDFWtJJZhnBhYIWepKnr9pUIarnN8WileJBfI6w=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=KYAxe5TZoEGV6G2vA2GdNfdYLQvI/emFtTJWUXU0tQC5nnIciU4wB828sik41Lwen dKmlQVKB0qFykX1DRcyKW8ggSueZlz/1hbBBiRg8hVFIS1ahSTT0hxugBUh7dT1eGC 03y+1DVHuHhPB7pl0U9SCllVpZ2Q8k6afOGXOXIE= From: Filias Heidt Message-Id: <5B094109-8D0E-4039-9E9B-C17A72C8231F@netzkommune.de> Content-Type: multipart/signed; boundary="Apple-Mail=_DA111FF2-594C-4039-B7E2-3F1788626E2B"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Support of ElasticSearch-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-elastic List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-elastic@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: ES 7.14.0 not compatible with Prometheus Exporter due to Java Version Date: Wed, 18 Aug 2021 15:02:27 +0200 In-Reply-To: <63737714-B94E-4317-8073-64EA34D69280@FreeBSD.org> Cc: "elastic@freebsd.org" To: Juraj Lutter References: <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de> <63737714-B94E-4317-8073-64EA34D69280@FreeBSD.org> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4GqSjg5c2Pz4TMg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail=_DA111FF2-594C-4039-B7E2-3F1788626E2B Content-Type: multipart/alternative; boundary="Apple-Mail=_3CAEF640-9A0D-4E1A-95F6-D95D0C8A02F1" --Apple-Mail=_3CAEF640-9A0D-4E1A-95F6-D95D0C8A02F1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 18. Aug 2021, at 12:06, Juraj Lutter wrote: >=20 > You can instruct elasticsearch to use Java 11 at run time (using = elasticsearch_java_home rc.conf variable). Setting elasticsearch_java_home=3D"/usr/local/openjdk16/=E2=80=9C = worked! But it seems only for IPv4 - setting network.host to an = IPv6-only Hostname or an IPv6-Address, I get exceptions indicating that = IPv6 is not supported? Hostname: org.elasticsearch.transport.BindTransportException: Failed to resolve = host [[myhostname]] at = org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:373)= ~[elasticsearch-7.14.0.jar:7.14.0] org.elasticsearch.bootstrap.StartupException: = BindTransportException[Failed to resolve host [myhostname]]; nested: = UnknownHostException[myhostname: hostname nor servname provided, or not = known]; IPv6-Address: org.elasticsearch.transport.BindTransportException: Failed to bind to = [v6IP]:[9300-9400] [=E2=80=A6] = [2021-08-18T14:41:01,792][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandl= er] [hostname] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: = BindTransportException[Failed to bind to [v6ip]:[9300-9400]]; nested: = UnsupportedAddressTypeException; Is there a switch I=E2=80=99m missing to enable IPv6-Support? Thanks again! Cheers, Filias --Apple-Mail=_3CAEF640-9A0D-4E1A-95F6-D95D0C8A02F1-- --Apple-Mail=_DA111FF2-594C-4039-B7E2-3F1788626E2B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE/jRNCIq+YuHus/i5a8JanqBvwtEFAmEdBOMACgkQa8JanqBv wtGY/Qf/epo8LjW3iXmLWI+SLCgqBq9WVbty2HW6xmJBdfJIRfMO/K0xbRP0FKlO fN10ZzqsQtABoRBcAmfULtMYK5bxJEB/N9NQLjvDybIhKUrUpMag/OTJToNl+wgg XZU6pxdcFYZJOSJPwrFzL2azHs0zGxn5MlyikdOVC7B/utKaTPxkr60hx1HadSAx kgU/jSh8cTZ5iumYh3uS1e9MubOWjxRf5+ZAZ07ANprYTnC0HcJ8NQY+ErvalVTN fK7kUcZ5ZWjlQwn8vISA6DAA+33JxHeQw6v6rJWeSYlxQ8oSd2XMmeJAGHiwMOTp +Rav+aYyLJ8fVvTqK/w+q2d2ro26fQ== =i6d9 -----END PGP SIGNATURE----- --Apple-Mail=_DA111FF2-594C-4039-B7E2-3F1788626E2B--