Hey guys ,
I had logstash running fine till 2 days ago but due to disk issue I had to reboot the server after that logstash was not working fine. I add new disk to this machine (its AWS EC2 machine )
I removed logstash and installed new but when I run the below command I keep getting the error
[root@ip-x.x.x.x logstash]# bin/logstash -e 'input { stdin { } } output { stdout {} }'
/usr/share/logstash/bin/logstash.lib.sh: /usr/share/logstash/vendor/jruby/bin/jruby: /usr/bin/env: bad interpreter: No such file or directory
/usr/share/logstash/bin/logstash.lib.sh: line 195: /usr/share/logstash/vendor/jruby/bin/jruby: Success
[root@ip-x.x.x.x logstash]#
If i try starting the service I get the below error
[root@ip-x-x-x- logstash]# initctl start logstash
initctl: Unknown job: logstash
Any suggestion how to fix this will help a lot . Thanks