Also forgot to add, this is running on ES 1.4.1

On Thursday, December 11, 2014 1:16:38 PM UTC-6, Joey Nooner wrote:
>
> 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/27e72152-f081-420e-84e2-ddb36ddabe15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to