I keep getting this error when using the init script. The error i receive 
is:

Starting elasticsearch: runuser: unrecognized option '--pidfile'
Try `runuser --help' for more information.
                                                           [FAILED]

The line of code in the init script:
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

I tried removing "--pidfile $pidfile" but no luck. Seems like elasticsearch 
isn't creating the pid file from startup. I made sure the 
/var/run/elasticsearch/ directory exists. Works just fine from startup from 
bin/elasticsearch. I have 3 other nodes running the same init script in the 
same setup that run successfully. Im running on RHEL 6.2. Any help is 
appreciated.

Thanks,
Joey

 

-- 
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/326e9114-38f1-4fa0-a18a-11339a4e7985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to