[Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 4 14:56:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224079

Palle Girgensohn <girgen at FreeBSD.org> changed:

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

--- Comment #1 from Palle Girgensohn <girgen at 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 

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

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


More information about the freebsd-java mailing list