Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2021 15:02:27 +0200
From:      Filias Heidt <fh@netzkommune.de>
To:        Juraj Lutter <otis@FreeBSD.org>
Cc:        "elastic@freebsd.org" <elastic@FreeBSD.org>
Subject:   Re: ES 7.14.0 not compatible with Prometheus Exporter due to Java Version
Message-ID:  <5B094109-8D0E-4039-9E9B-C17A72C8231F@netzkommune.de>
In-Reply-To: <63737714-B94E-4317-8073-64EA34D69280@FreeBSD.org>
References:  <04EA2729-F165-4A95-9D90-9A0E22BE8782@netzkommune.de> <63737714-B94E-4317-8073-64EA34D69280@FreeBSD.org>

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

--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 <otis@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B094109-8D0E-4039-9E9B-C17A72C8231F>