Pretty new to logstash but I fhave finally gotten my config to check out as ok with no issues or errors. Problem now is that logstash will not start. Below you will see that I check the config and then start it but when I look at the status it says it is not running and when I use grep to find the process it is not there. Any and all help is appreciated as to why logstash says it is starting but doesn't.
corp-netlog-live01:/etc/logstash/conf.d # /data/logstash/bin/logstash -f /etc/logstash/conf.d/logstash.conf -t
Configuration OK
corp-netlog-live01:/etc/logstash/conf.d # service logstash start
logstash started.
corp-netlog-live01:/etc/logstash/conf.d # service logstash status
logstash is not running
corp-netlog-live01:/etc/logstash/conf.d # ps -ef | grep logstash
root 110572 109202 0 15:02 pts/5 00:00:00 grep logstash
corp-netlog-live01:/etc/logstash/conf.d # ps -ef | grep -i logstash
root 110576 109202 0 15:05 pts/5 00:00:00 grep -i logstash
sh: line 3: /opt/logstash/bin/logstash: No such file or directory
sh: line 3: exec: /opt/logstash/bin/logstash: cannot execute: No such file or directory
Not sure why it doesn't thing something is not there. I will need to fix that on the logstash script I guess or create it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.