can't find anything like that:(
No Idea.
@camarar - i did find and deleted all and was hoping this solution must work but endup getting the same error.
I know that you installed a new version but I suggest you download logstash zip edition from elastic again and descompact in a new folder like C:\NEW_ELK\
Then try start logstash again.
@camarar - Ok will try that option as well i am gonna install complete ELK in different directory and see if it works .
anyway you have been very supportive, Thanks a ton !! will post the result soon.
@camarar
I have tried everything new but same error.
Did you try download the version that I sent before in a link ?
If yes, Did you install (descompact) in a different folder, ex: C:\NEW_ELK\logstash-6.2.2?
Then did you try start again?
@camarar
yes i did all the step you have mentioned above.
Could you post some informations?
- What version of Logstash?
- What is your $JAVA_HOME?
- What is your Java version?
logstash version : 6.2.2
JAVA_HOME : C:\Program Files\Java\jdk1.8.0_162
java version : "1.8.0_162"
@Shiv_Gupta and @darsan55,
I searched something about this problem. Could you try one anything more?
It is necessary downloading a new jar version of jruby in this link
After, replace the jar file "\logstash-6.2.2\logstash-core\lib\jars\jruby-complete-9.1.13.0.jar" by this file that you downloaded.
Current version: jruby-complete-9.1.13.0.jar
New version: jruby-complete-9.1.16.0.jar
Then, try start logstash again and tell us what's happen.
Its very late to ask.. but did we tried installing a new java and pointing logstash to it?
Just now i have tried but got same error.
Anyway thanks a lot for being very supportive.
Are you trying on personal laptop?
If yes, we can try a screen share. I am always interested in head banging issues.
Remove line 1 which is echo off
Add these echo points in your logstash.bat at line 50, just before starting logstash
echo %JAVA%
echo %CLASSPATH%
echo %JAVA_OPTS%
echo %LS_JAVA_OPTS%
And paste the contents of
\Java\jdk1.8.***\jre\lib\ext
folder.
I am not clear where to add this "\Java\jdk1.8.***\jre\lib\ext" folder content because all these are jars, i m not sure where to add can you suggest me something.?
I will be happy if you can solve it while sharing the screen.
I mean just put a screenshot of that folder contents
If you add these
echo %JAVA%
echo %CLASSPATH%
echo %JAVA_OPTS%
echo %LS_JAVA_OPTS%
It will print environment info. So that I can compare my details with yours!
Please add these values to logstash.bat. It will ouput at the very initial steps of logstash startup