Hanging at initialization on Hetzner dedicated server, Ubuntu 12.04


(hazzadous) #1

Trying to run elasticsearch on a Hetzner server running 12.04 and failing.
Using the 0.19.8 tar and running bin/elasticsearch -f outputs the
following and doesn't get any further:

[2012-07-04 16:19:55,080][INFO ][node ] [Man-Killer]
{0.19.8}[4867]: initializing ...
[2012-07-04 16:19:55,084][INFO ][plugins ] [Man-Killer]
loaded [], sites []

Any advice on debugging would be welcome. I've tried both openjdk 6 and 7
as well as Oracles version 7 with the same results. The server
is http://www.hetzner.de/en/hosting/produkte_rootserver/ex10. The last few
lines of output with strace are:

openat(AT_FDCWD, "/home/ubuntu/elasticsearch-0.19.8/lib/sigar/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 16 entries /, 32768) = 720
getdents(3, /
0 entries */, 32768) = 0
close(3) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fa2dd467000
mprotect(0x7fa2dd467000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fa2dd4a6ff0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7fa2dd4a79d0, tls=0x7fa2dd4a7700,
child_tidptr=0x7fa2dd4a79d0) = 4907
futex(0x7fa2dd4a79d0, FUTEX_WAIT, 4907, NULL[2012-07-04 16:23:07,730][INFO
][node ] [Man-Eater] {0.19.8}[4901]: initializing ...
[2012-07-04 16:23:07,734][INFO ][plugins ] [Man-Eater]
loaded [], sites []

Thanks


(David Pilato) #2

Did you adjust NTP settings ?

--

Le 4 juil. 2012 à 16:26, hazzadous hwaye@arachnys.com a écrit :

Trying to run elasticsearch on a Hetzner server running 12.04 and failing. Using the 0.19.8 tar and running bin/elasticsearch -f outputs the following and doesn't get any further:

[2012-07-04 16:19:55,080][INFO ][node ] [Man-Killer] {0.19.8}[4867]: initializing ...
[2012-07-04 16:19:55,084][INFO ][plugins ] [Man-Killer] loaded [], sites []

Any advice on debugging would be welcome. I've tried both openjdk 6 and 7 as well as Oracles version 7 with the same results. The server is http://www.hetzner.de/en/hosting/produkte_rootserver/ex10. The last few lines of output with strace are:

openat(AT_FDCWD, "/home/ubuntu/elasticsearch-0.19.8/lib/sigar/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 16 entries /, 32768) = 720
getdents(3, /
0 entries */, 32768) = 0
close(3) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fa2dd467000
mprotect(0x7fa2dd467000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fa2dd4a6ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fa2dd4a79d0, tls=0x7fa2dd4a7700, child_tidptr=0x7fa2dd4a79d0) = 4907
futex(0x7fa2dd4a79d0, FUTEX_WAIT, 4907, NULL[2012-07-04 16:23:07,730][INFO ][node ] [Man-Eater] {0.19.8}[4901]: initializing ...
[2012-07-04 16:23:07,734][INFO ][plugins ] [Man-Eater] loaded [], sites []

Thanks


(hazzadous) #3

You're a life saver. I never thought that would have been it. Did have a
issues with this on another cluster on EC2 with CPU going crazy but just
didn't make the link...

On Wednesday, July 4, 2012 6:42:04 PM UTC+1, David Pilato wrote:

Did you adjust NTP settings ?

--

Le 4 juil. 2012 à 16:26, hazzadous hwaye@arachnys.com a écrit :

Trying to run elasticsearch on a Hetzner server running 12.04 and
failing. Using the 0.19.8 tar and running bin/elasticsearch -f outputs the
following and doesn't get any further:

[2012-07-04 16:19:55,080][INFO ][node ] [Man-Killer]
{0.19.8}[4867]: initializing ...
[2012-07-04 16:19:55,084][INFO ][plugins ] [Man-Killer]
loaded [], sites []

Any advice on debugging would be welcome. I've tried both openjdk 6 and
7 as well as Oracles version 7 with the same results. The server is
http://www.hetzner.de/en/hosting/produkte_rootserver/ex10. The last few
lines of output with strace are:

openat(AT_FDCWD, "/home/ubuntu/elasticsearch-0.19.8/lib/sigar/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 16 entries /, 32768) = 720
getdents(3, /
0 entries */, 32768) = 0
close(3) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fa2dd467000
mprotect(0x7fa2dd467000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fa2dd4a6ff0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7fa2dd4a79d0, tls=0x7fa2dd4a7700,
child_tidptr=0x7fa2dd4a79d0) = 4907
futex(0x7fa2dd4a79d0, FUTEX_WAIT, 4907, NULL[2012-07-04
16:23:07,730][INFO ][node ] [Man-Eater] {0.19.8}[4901]:
initializing ...
[2012-07-04 16:23:07,734][INFO ][plugins ] [Man-Eater]
loaded [], sites []

Thanks


(system) #4