Hi,
I have tested instalation of elastic search on SLES 11SP3 x64 and also on
DEBIAN 7.8 x64.
But have some issues:
*SLES 11SP3*
1. After installation ( from rpm or tgz ) the service/daemon is not created
in correct folder, but in :
/etc/init.d/init.d/
instead of
/etc/init.d/
2. I have copied/moved from the wrong to the correct path, but still
receive the error messages at execution of service with several parameters:
.... start :
Starting elasticsearch: /etc/init.d/elasticsearch: line 89: daemon: command
not found
*daemon --user $ES_USER --pidfile $pidfile $exec -p $pidfile -d
-Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR
-Des.default.path.data=$DATA_DIR -Des.default.path.work=$WORK_DIR
-Des.default.path.conf=$CONF_DIR*
daemon --user elasticsearch --pidfile
/var/run/elasticsearch/elasticsearch.pid
/usr/share/elasticsearch/bin/elasticsearch -p
/var/run/elasticsearch/elasticsearch.pid -d
-Des.default.path.home=/usr/share/elasticsearch
-Des.default.path.logs=/var/log/elasticsearch
-Des.default.path.data=/var/lib/elasticsearch
-Des.default.path.work=/tmp/elasticsearch
-Des.default.path.conf=/etc/elasticsearch
.... status:
/etc/init.d/elasticsearch: line 121: status: command not found
*status -p $pidfile $prog*
status -p /var/run/elasticsearch/elasticsearch.pid elasticsearch
.... restart/force-reload:
Stopping elasticsearch: killproc: Usage:
killproc [-v] [-q] [-L] [-g|-G] [-N] [-p pid_file] [-i ingnore_file] \
[-c root] [-t<sec>] [-SIG] /full/path/to/executable
killproc -l
Starting elasticsearch: /etc/init.d/elasticsearch: line 89: daemon: command
not found
*killproc -p $pidfile -d 20 $prog*
killproc -p /var/run/elasticsearch/elasticsearch.pid -d 20 elasticsearch
It looks like the compilation and service/daemon script is not correctly
configured.
daemon: is not declared in script, command does not exists in OS
status: is not declared in script, command does not exists in OS
what should be the right declaration of daemon and status?
for daemon I suppose that it should be the executable of application (
*/usr/share/elasticsearch/bin/elasticsearch* ) but I am not sure regarding
status
*DEBIAN 7.8*:
Currently I have found no issue. Need to check and walk thrue the scripts
and configurations
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/25a24045-67b3-4e5d-9253-89a0b5f833ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.