Bug#766977: elasticsearch not starting

Hilko Bengen bengen at debian.org
Wed Nov 5 23:50:50 UTC 2014


* Jamie Norrish:

>> > It doesn't appear that /etc/init.d/elasticsearch works, however.
>> What init system do you have? SysV? systemd?
> systemd. Sorry for not specifying that before.

I ended up with systemd at some point, too. And I still have no idea how
to debug daemon startup problems. :-(

>> # invoke-rc.d elasticsearch status
> ● elasticsearch.service - LSB: Starts elasticsearch
>    Loaded: loaded (/etc/init.d/elasticsearch)
>    Active: active (exited) since Thu 2014-11-06 07:44:19 NZDT; 4h 15min
> ago
>   Process: 8487 ExecStop=/etc/init.d/elasticsearch stop (code=exited,
> status=0/SUCCESS)
>   Process: 8521 ExecStart=/etc/init.d/elasticsearch start (code=exited,
> status=0/SUCCESS)

Here it looks like this:

,----
| ● elasticsearch.service - LSB: Starts elasticsearch
|    Loaded: loaded (/etc/init.d/elasticsearch)
|    Active: active (running) since Tue 2014-11-04 16:54:11 CET; 1 day 7h ago
|    CGroup: /system.slice/elasticsearch.service
|            └─31692 /usr/lib/jvm/java-7-openjdk-amd64//bin/java -Xms256m -Xmx1...
| 
| Nov 04 16:54:11 ataraxia elasticsearch[31671]: Starting Elasticsearch Server:.
| Nov 04 16:54:11 ataraxia systemd[1]: Started LSB: Starts elasticsearch.
`----

Cheers,
-Hilko



More information about the pkg-java-maintainers mailing list