This is the log:
[18:23:13,577][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Initializing ...
[18:23:13,597][INFO ][plugins ] [Nitro] Loaded
[18:23:15,243][DEBUG][threadpool.cached ] [Nitro] Initializing
cached thread pool with keep_alive[1m], scheduled_size[20]
[18:23:15,390][DEBUG][discovery.zen.ping.multicast] [Nitro] Using
group [224.2.2.4], with port [54328], ttl [3], and address [null]
[18:23:15,396][DEBUG][discovery.zen ] [Nitro] Using
initial_ping_timeout [3s]
[18:23:15,399][DEBUG][discovery.zen.fd ] [Nitro] Master FD
uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[18:23:15,415][DEBUG][discovery.zen.fd ] [Nitro] Nodes FD uses
ping_interval [1s], ping_timeout [30s], ping_retries [3]
[18:23:15,556][DEBUG][monitor.memory.alpha ] [Nitro]
interval[500ms], upper_memory_threshold[0.8],
lower_memory_threshold[0.5],
translog_number_of_operations_threshold[5000]
[18:23:15,893][DEBUG][indices.recovery.throttler] [Nitro]
concurrent_recoveries [1], concurrent_streams [1] interval [100ms]
[18:23:15,895][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Initialized
[18:23:15,895][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Starting ...
[18:23:15,995][DEBUG][netty.channel.socket.nio.NioProviderMetadata]
Using the autodetected NIO constraint level: 0
[18:23:16,185][DEBUG][transport.netty ] [Nitro] Bound to
address [/0:0:0:0:0:0:0:0:9300]
[18:23:16,187][INFO ][transport ] [Nitro]
bound_address[inet[/0:0:0:0:0:0:0:0:9300]], publish_address[inet[Tony/
127.0.1.1:9300]]
[18:23:16,268][ERROR][bootstrap ] [Nitro]
{Elasticsearch/0.7.1}: e[31mStartup Failed ...e[0m
- DiscoveryException[Failed to setup multicast socket]
SocketException[bad argument for IP_MULTICAST_IF: address not bound
to any interface]
[18:23:16,270][DEBUG][bootstrap ] [Nitro] Exception
org.elasticsearch.discovery.DiscoveryException: Failed to setup
multicast socket
at
org.elasticsearch.discovery.zen.ping.multicast.MulticastZenPing.doStart(MulticastZenPing.java:
at
org.elasticsearch.util.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:
80)
at
org.elasticsearch.discovery.zen.ping.ZenPingService.doStart(ZenPingService.java:
93)
at
org.elasticsearch.util.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:
80)
at
org.elasticsearch.discovery.zen.ZenDiscovery.doStart(ZenDiscovery.java:
137)
at
org.elasticsearch.util.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:
80)
at
org.elasticsearch.discovery.DiscoveryService.doStart(DiscoveryService.java:
58)
at
org.elasticsearch.util.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:
80)
at
org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:
173)
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:115)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:168)
Caused by: java.net.SocketException: bad argument for IP_MULTICAST_IF:
address not bound to any interface
at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
at
java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:
299)
at java.net.MulticastSocket.setInterface(MulticastSocket.java:424)
at
org.elasticsearch.discovery.zen.ping.multicast.MulticastZenPing.doStart(MulticastZenPing.java:
143)
... 10 more
[18:23:16,296][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Stopping ...
[18:23:16,319][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Stopped
[18:23:16,319][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Closing ...
[18:23:16,323][DEBUG][threadpool.cached ] [Nitro] Shutting down
cached thread pool
[18:23:16,338][INFO ][node ] [Nitro]
{Elasticsearch/0.7.1}[7138]: Closed
On May 19, 6:08 pm, Shay Banon shay.ba...@elasticsearch.com wrote:
Hi,
First, can you set bootstrap to DEBUG level, and attache the log?
Basically, open the logging.yml file and replace the header with this:
rootLogger: INFO, console, file
logger:
log action execution errors for easier debugging
action : DEBUG
bootstrap: DEBUG
Second, there is a new discovery module called zen, and by default, it
uses multicast discovery. The exception would help me understand where this
is coming from...
Thanks,
shay.banon
On Thu, May 20, 2010 at 1:03 AM, tfreitas tfrei...@gmail.com wrote:
Hi
When I test ES 0.7.1 with zero configuration (elasticsearch.yml
empty)
This error occurs
[17:26:45,627] [ERROR] [bootstrap] [Duquesne, Jacques] ()
Elasticsearch/0.7.1: Startup Failed ...
- DiscoveryException [Failed to setup multicast socket]
SocketException [bad argument for IP_MULTICAST_IF: Not bound to Any
address interface]
I use Ubuntu 9.10
In previous versions always work with zero configuration