Subscribe

Problem with MySQL plugin deployment for SnapCenter

Hi,

I want to backup MySQL database with SnapCenter 2.0. I know it's not supported by NetApp Support but only NetApp Community.

Then, I downloaded the plugin "MySQL v1.0" from the NetApp Community and want to deploy the plugin to my MySQL Server.

 

The deployment failed with the following error :

"Java (JRE) 1.7 or higher needs to be installed on the host "b2wdbtest02". Check the Installer log "\\xxxxxxxxxxxxx\C$\Windows\SnapCenter plugin\Install_7989\SnapCenter_Windows_Host_Plug-in_Install_7989.log" for more information"

 

In detail on the log file :

"6-12-2017[02:52:44]: Engine: property 'IS_JAVA_FOUND' value now 'False'
6-12-2017[02:52:44]: (CLR Action): SWInstallerHelper GetJavaVersion: Begin Getting Java Version.
6-12-2017[02:52:44]: (CLR Action): SWInstallerHelper GetJavaVersion: FeatureInstall : SCC
6-12-2017[02:52:44]: (CLR Action): SWInstallerHelper GetJavaVersion: After OpenSubKey
6-12-2017[02:52:44]: Engine: property 'JavaVersion' value now '1.7'
6-12-2017[02:52:44]: (CLR Action): SWInstallerHelper GetJavaVersion: ERROR: Exception in GetJavaVersion: Input string was not in a correct format.
6-12-2017[02:52:44]: (CLR Action): SWInstallerHelper GetJavaVersion: Error: Java(JRE) 1.7 or higher needs to be installed on this machine.
6-12-2017[02:52:44]: Engine: property 'IS_JAVA_FOUND' value now 'False'
6-12-2017[02:52:44]: Action 'CA_GetJavaVersion' returned status 0x00000000"

 

Java JRE 1.7 is installed ont he computer.

 

I saw on registry :

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\Current Version > REG_SZ  >  1.7

 

Could you please help me. I found any solution or post about this issue.

Thanks in advance for your feedback.

Re: Problem with MySQL plugin deployment for SnapCenter

In general with Java I have seen that the Java installer defaults to a 32-bit version of Java, but SnapCenter needs a 64-bit version of Java.

 

Open a command prompt and type: java -version

If the output does not mention it is a 64-bit version, then it is a 32-bit version.

 

You should install a 64-bit version of Java.

It has been requested to add a test to this to SnapCenter and provide a clear error message in the future.

 

Hope this helps,

John

Re: Problem with MySQL plugin deployment for SnapCenter

Hi,

 

Thanks for your feedback. I cheched the Java version :

 

C:\Users\xxxxxxxx>java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

 

It seems to be already in 64bits.

I really don't understand what is wrong.

Re: Problem with MySQL plugin deployment for SnapCenter

Hi,

 

Can you add java to the PATH variable and also update JAVA_HOME in the windows host environment variables.

 

 

Thanks,

Amar

Re: Problem with MySQL plugin deployment for SnapCenter

Hi,

 

I added  :

- PATH C:\Progra~1\Java\jre7\bin

 

I created :

- JAVA_HOME "C:\Progra~1\Java\jre7"

- JAVA_JRE "C:\Progra~1\Java\jre7"

 

I have the same error. (

Re: Problem with MySQL plugin deployment for SnapCenter

The registry entry we are looking for is: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8

 

Screen Shot 2017-06-16 at 2.43.04 PM.png

 

 

 

Please share your OS version.

 

 

 

Nishant

Re: Problem with MySQL plugin deployment for SnapCenter

Hi,

 

The server I want to deploy the MySQL plugin is "Windows Server 2012 R2 x64".

The requested Java version is 1.7 or later ("SWInstallerHelper GetJavaVersion: Error: Java(JRE) 1.7 or higher needs to be installed on this machine.")

See below the registry of the destination server :

 

java.png

 

I alson tried with the last version of JRE8.

 

java1.8.png

 

The error is the the same, but with JRE 1.8.

 

6-19-2017[09:08:17]: (CLR Action): Enumerating available runtimes...
6-19-2017[09:08:17]: (CLR Action): Highest available runtime: v4.0.30319 <<<<<<<<<<<< I don't know what it is ????
6-19-2017[09:08:17]: (CLR Action): Trying to use highest runtime...
6-19-2017[09:08:17]: (CLR Action): Using highest version runtime...
6-19-2017[09:08:17]: Engine: property 'IS_JAVA_FOUND' value now 'False'
6-19-2017[09:08:17]: (CLR Action): SWInstallerHelper GetJavaVersion: Begin Getting Java Version.
6-19-2017[09:08:17]: (CLR Action): SWInstallerHelper GetJavaVersion: FeatureInstall : SCC
6-19-2017[09:08:17]: (CLR Action): SWInstallerHelper GetJavaVersion: After OpenSubKey
6-19-2017[09:08:17]: Engine: property 'JavaVersion' value now '1.8'
6-19-2017[09:08:17]: (CLR Action): SWInstallerHelper GetJavaVersion: ERROR: Exception in GetJavaVersion: Input string was not in a correct format.
6-19-2017[09:08:17]: (CLR Action): SWInstallerHelper GetJavaVersion: Error: Java(JRE) 1.7 or higher needs to be installed on this machine.
6-19-2017[09:08:17]: Engine: property 'IS_JAVA_FOUND' value now 'False'

 

Thanks in advance for your feedback.

Re: Problem with MySQL plugin deployment for SnapCenter

We debugged and looks like the issue is an error happening while parsing the java version("1.8").

 

One possible reason for that can be that decimal separator on your machine can be other then a dot (.), so can you verify the decimal seprator in your system and let us know what it is. Here are the steps to find it out. 

- Open "start menu" and start typing regional.

- Select Change date, time or number formats.

- Go to additional settings.

- Under the numbers tab.

- The decimal separator value.

 

If in case the decimal separator is not dot (.), can you change it to dot(.) and try out the installation again.

 

 

Screen Shot 2017-06-20 at 5.49.43 PM.png

Re: Problem with MySQL plugin deployment for SnapCenter

Hi,

 

I checked the parameters, indeed "," was defined. I changed to "."

Nothing changed, I have the same error.

 

I also tried with English language instead of French, same issue.

 

 

Re: Problem with MySQL plugin deployment for SnapCenter

Can we have a webex call?

 

Let me know the suitable time for you.

 

Also, give me your email id and I will send the webex link.