Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2017 14:56:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade
Message-ID:  <bug-224079-8522-JWWJTWonoq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224079-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224079-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079

Palle Girgensohn <girgen@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |girgen@FreeBSD.org

--- Comment #1 from Palle Girgensohn <girgen@FreeBSD.org> ---
Hi!

just a couple of things to check. It fails to open a socket. This could be
because it tries IPv6 first. Could you try changing the /etc/hosts entry for
localhost between=20

127.0.0.1 localhost
::1       localhost


and just

127.0.0.1 localhost
# ::1     localhost

and just see if this is the culprit?

this indicates that it is trying IPv6 and fails:

99579 java     CALL  bind(0x79,0x7fffdeeec278,0x1c)
99579 java     STRU  struct sockaddr { AF_INET6, [::1%2]:9300 }
99579 java     RET   bind -1 errno 49 Can't assign requested address

perhaps running in IPv4 would be OK?




also, make sure, using `sockstat|grep 9300`, that no other process hogs the
socket.

Palle

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224079-8522-JWWJTWonoq>