[rabbitmq-discuss] Getting Data To Persist

Kenneth Loafman kenneth at loafman.com
Thu Jul 8 00:12:21 BST 2010


Hi,

I installed elasticsearch-0.8.0 on 64-bit Ubuntu 9.10 system.  It comes
up, runs fine, creates the indices I want, etc., but has a very serious
problem I can't trace down.  If I do a 'bin/service/elasticsearch
restart' command (change config/restart), the entire database
disappears.  I'm fairly certain this is not the desired action.  Here's
a console log showing what happens:

ken at stealth:/opt/elasticsearch-0.8.0$ ll work/elasticsearch/indices/
total 4
drwxr-xr-x 22 ken ken 4096 2010-07-07 17:48 74f73a5f-50a0-4ad4-a574-6466300b9399

<go off and run ES for a while, then restart>

ken at stealth:/opt/elasticsearch-0.8.0$ bin/service/elasticsearch restart
Stopping ElasticSearch...
Stopped ElasticSearch.
Starting ElasticSearch...Waiting for ElasticSearch......
ElasticSearch started.

ken at stealth:/opt/elasticsearch-0.8.0$ ll work/elasticsearch/indices/74f73a5f-50a0-4ad4-a574-6466300b9399/
ls: cannot access work/elasticsearch/indices/74f73a5f-50a0-4ad4-a574-6466300b9399/: No such file or directory
ken at stealth:/opt/elasticsearch-0.8.0$ ll work/elasticsearch/indices/
total 0

I've read through the docs many times (very terse), changed config,
blown it away and unzipped again, nothing helps.  Perhaps you can tell
me what I can do to correct the problem.  I'm pretty sure it should
persist the data.

...Thanks,
...Ken


More information about the rabbitmq-discuss mailing list