You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by saddaypally <sh...@live.com> on 2019/05/20 14:16:23 UTC
Artemis Active MQ Installation issue
Hi, I installed Artemis Active MQ 2.8 and saw the following exception in the
logs when I tried starting the service. I've amended the configuration files
under <install Dir>/bin/clustered/etc to ensure the instance is reachable
from the AWS EC2 Instance that this is installed on, But this exception that
I see in the logs is puzzling to me. Can anyone shed some lights on this
please. Appreciate all the help.
This is strack trace of the exception I see
2019-05-20 10:46:27,327 ERROR [org.apache.activemq.artemis.core.server]
AMQ224000: Failure in initialisation:
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Cannot
assign requested address
at io.netty.channel.unix.Errors.newIOException(Errors.java:122)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at io.netty.channel.unix.Socket.bind(Socket.java:287)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.epoll.AbstractEpollChannel.doBind(AbstractEpollChannel.java:686)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:70)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:563)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1332)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:488)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:473)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:984)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:259)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:333)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
[netty-all-4.1.34.Final.jar:4.1.34.Final]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.8.0.jar:2.8.0]
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
Re: Artemis Active MQ Installation issue
Posted by Justin Bertram <jb...@apache.org>.
A few points:
1) You've sent this email to the "dev" list which is meant for developers
working directly on an ActiveMQ code-base. You should use the "user" list
[1] for questions like this (since you are a user of ActiveMQ, not a
developer of it).
2) You said that you "amended the configuration files," but you provided
no details about what those amendments were. Can you shed some light on
this?
3) A quick search [2] for your issue reveals a handful of other users
who've experienced the same thing with possible solutions.
Justin
[1] https://activemq.apache.org/contact/#mailing
[2] http://lmgtfy.com/?q=%22Cannot+assign+requested+address%22+netty+aws
On Tue, May 21, 2019 at 6:29 PM saddaypally <sh...@live.com>
wrote:
> This is a new EC2 instance and I don't see any other service is using this
> port.
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
>
Re: Artemis Active MQ Installation issue
Posted by saddaypally <sh...@live.com>.
This is a new EC2 instance and I don't see any other service is using this
port.
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
Re: Artemis Active MQ Installation issue
Posted by Arthur Naseef <ar...@amlinv.com>.
The error, "bind failed" is often caused by something else listening on the
same port.
Double-check that the port is free. Also double-check the IP address being
bound is valid (0.0.0.0, 127.0.0.1, or a valid IP address on the host).
Art
On Mon, May 20, 2019 at 9:43 AM saddaypally <sh...@live.com>
wrote:
> Hi, I installed Artemis Active MQ 2.8 and saw the following exception in
> the
> logs when I tried starting the service. I've amended the configuration
> files
> under <install Dir>/bin/clustered/etc to ensure the instance is reachable
> from the AWS EC2 Instance that this is installed on, But this exception
> that
> I see in the logs is puzzling to me. Can anyone shed some lights on this
> please. Appreciate all the help.
>
> This is strack trace of the exception I see
>
> 2019-05-20 10:46:27,327 ERROR [org.apache.activemq.artemis.core.server]
> AMQ224000: Failure in initialisation:
> io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Cannot
> assign requested address
>
> at io.netty.channel.unix.Errors.newIOException(Errors.java:122)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at io.netty.channel.unix.Socket.bind(Socket.java:287)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.epoll.AbstractEpollChannel.doBind(AbstractEpollChannel.java:686)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:70)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:563)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1332)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:488)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:473)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:984)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:259)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
> io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
> io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:333)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
> [netty-all-4.1.34.Final.jar:4.1.34.Final]
>
> at
>
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
> [artemis-commons-2.8.0.jar:2.8.0]
>
>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
>