From owner-freebsd-ports-bugs@freebsd.org Mon Dec 4 12:53:58 2017 Return-Path: <owner-freebsd-ports-bugs@freebsd.org> Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA889DFBFC6 for <freebsd-ports-bugs@mailman.ysv.freebsd.org>; Mon, 4 Dec 2017 12:53:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C090267783 for <freebsd-ports-bugs@FreeBSD.org>; Mon, 4 Dec 2017 12:53:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB4CrwDx062251 for <freebsd-ports-bugs@FreeBSD.org>; Mon, 4 Dec 2017 12:53:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Mon, 04 Dec 2017 12:53:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bra@fsn.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: <bug-224079-13@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 04 Dec 2017 12:53:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 Bug ID: 224079 Summary: java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: bra@fsn.hu Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org When I start Elasticsearch (5.6.4, with the default configuration) with OpenJDK8 8.152.16, it dies with: [2017-12-04T13:49:57,971][INFO ][o.e.n.Node ] initialized [2017-12-04T13:49:57,972][INFO ][o.e.n.Node ] [amnEplp] start= ing ... [2017-12-04T13:49:58,317][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandle= r] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed= to bind to [9300-9400]]; nested: BindException[Can't assign requested address]; at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareComma= nd.java:70) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.4.jar:5.6.4] Caused by: org.elasticsearch.transport.BindTransportException: Failed to bi= nd to [9300-9400] at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:783) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:748) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.= java:174) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLifecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:= 219) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLifecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.node.Node.start(Node.java:694) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:278) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4] ... 6 more Caused by: java.net.BindException: Can't assign requested address at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:433) ~[?:?] at sun.nio.ch.Net.bind(Net.java:425) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?] at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketCh= annel.java:128) ~[?:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:5= 54) ~[?:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipe= line.java:1258) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHa= ndlerContext.java:501) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerC= ontext.java:486) ~[?:?] at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:98= 0) ~[?:?] at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[?:?] at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[?:= ?] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExe= cutor.java:163) ~[?:?] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThread= EventExecutor.java:403) ~[?:?] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) ~[?= :?] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventE= xecutor.java:858) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152] [2017-12-04T13:49:59,027][INFO ][o.e.n.Node ] [amnEplp] stopp= ing ... Taking a look at it with ktrace shows that this is where it stops: 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 Elasticsearch works fine with the previous OpenJDK version: 8.144.1 --=20 You are receiving this mail because: You are the assignee for the bug.=