Setting up elastics watch on Linux on system z error

Hi Team,

I have done my setup of using Logstash, elasticsearch and kibana for my systems performance data on rhel using latest 6.x version. It all works fine.
Now I need to move this setup on Linux(rhel) on system z (mainframe)
I started first with elasticsearch for which I downloaded the tar files and unzipped it. When executing elasticsearch command from bin folder, I get error as below -

Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: java.security.spec.InvalidKeySpecException: Could not generate secret key
Likely root cause: java.lang.RuntimeException: Error deriving PBKDF2 keys
at com.ibm.crypto.provider.PBKDF2KeyImpl.a(Unknown Source)
at com.ibm.crypto.provider.PBKDF2KeyImpl.(Unknown Source)
at com.ibm.crypto.provider.bn.engineGenerateSecret(Unknown Source)
at javax.crypto.SecretKeyFactory.generateSecret(Unknown Source)
at org.elasticsearch.common.settings.KeyStoreWrapper.createCipher(KeyStoreWrapper.java:289)
at org.elasticsearch.common.settings.KeyStoreWrapper.encrypt(KeyStoreWrapper.java:361)
at org.elasticsearch.common.settings.KeyStoreWrapper.save(KeyStoreWrapper.java:473)
at org.elasticsearch.bootstrap.Bootstrap.loadSecureSettings(Bootstrap.java:234)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)
Refer to the log for complete error details.

What am i missing here ?

I think that your OS or your JVM is not supported.

See https://www.elastic.co/support/matrix

I was using https://github.com/linux-on-ibm-z/docs/wiki/Building-Elasticsearch as reference and seems its supported.

You are trying to run on the IBM JDK which is not supported by Elasticsearch.

IBM jdk
as i know this know is not support.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.