Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4143

January 5th, 2017 14:00

ScaleIO: Can't log into Installation Manager from remote server web browser


Resolved: Installed JRE 1.8 (version 8).  JRE 1.9 (version 9ea does not work).


Configuration

ScaleIO 2.0.0.2

Ubuntu 14.04 (4.4.0-53-generic)

FireFox 50.1.0

Oracle Java version 9-ea (amd64)

Completed only install of IM/Gateway to server.  Attempting to "Log in to the IM server (https:// )" to finish the install to MDM/SDS/SDC nodes.

I enter IM server IP address in Chrome (Version 55.0.2883.87) on remote admin server but get "This site can't be reached.  Refused to connect".  The remote admin server can ping IM/Gateway server and has 1920x1080 resolution.

ssh to IM server:

$ sudo service scaleio-gateway status

[sudo] password for administrator:

scaleio-gateway start/running, process 11193


$ sudo cat /var/log/upstart/scaleio-gateway.log

.......................

scaleio-ams: The service has not been started after 10 seconds.

scaleio-ams: Launching su - root -c /opt/emc/scaleio/gateway/bin/startup.sh.

stdin: is not a tty

...................

Note: Above message repeated and added every 10 seconds.


I also tried logging into IM from FireFox on the IM server using the IP of the server (https://localhost/) but with the same result - Unable to connect.


Here's recorder Java and IM/Gateway Install.

Java install procedure:

$ sudo add-apt-repository -y ppa:webupd8team/java

$ sudo apt-get update

$ sudo apt-get install oracle-java9-installer

$ sudo apt-get install oracle-java9-set-default

$ sudo java -version

  java version "9-ea"

  Java(TM) SE Runtime Environment (build 9-ea+140)

  Java HotSpot(TM) 64-Bit Server VM (build 9-ea+140, mixed mode)

IM/Gateway install prcedure:

$ sudo GATEWAY_ADMIN_PASSWORD= dpkg -i emc-scaleio-gateway_2.0-7120.0_amd64.deb

  (Reading database ... 185884 files and directories currently installed.)

  Preparing to unpack emc-scaleio-gateway_2.0-7120.0_amd64.deb ...

  validating java version

  /usr/bin/java

  found the Java executable in PATH

  applying pattern "java version"

  version java version "9-ea"

  /var/lib/dpkg/tmp.ci/preinst: line 321: [[: java version "9-ea": syntax error: invalid arithmetic operator (error token is ""9-ea"")

  java platform that was found : Java HotSpot(TM) 64-Bit Server VM (build 9-ea+140, mixed mode)

  Running pre installation verifications

  /usr/bin/keytool

  found the keytool executable in PATH

  /var/lib/dpkg/tmp.ci/preinst: line 113: rpm: command not found

  found suffice RAM memory : 65939612

  Unpacking emc-scaleio-gateway (2.0-7120.0) ...

  Setting up emc-scaleio-gateway (2.0-7120.0) ...

  Running post install operations (simulated rpm,install)

  /usr/bin/java

  /usr/bin/keytool

  Certificate stored in file

  Installing the web server service/process to run as root(default).

  To run as a different user, define the variable GATEWAY_RUN_USER.

  updating ldap properties in lockbox if necessary

  Checking if needs to update LDAP properties in lockbox

  Can't find a LockBox to update

  2

  Creating service file /etc/init/scaleio-gateway.conf

  Creating service file /opt/emc/scaleio/gateway/bin/scaleio-gateway-wd.bash

  gateway user  : root

  Creating service file /etc/init.d/scaleio-gateway

  4

  Adding system startup for /etc/init.d/scaleio-gateway ...

    /etc/rc0.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc1.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc6.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc2.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc3.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc4.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

    /etc/rc5.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

  Cannot query status of the EMC ScaleIO Gateway.

Is there a specific port that needs to be specified with the IP address? Ports 80 and 443.


Any idea why I can't connect to IM via remote server web browser.   Something I need to check?


Thanks,

CCMC


January 12th, 2017 10:00

You can install JRE 1.8 x64 and try to connect to IM/Gateway and if you still see the same issue, please provide the above logs again. Please also provide the gatewayUser.properties file from /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/

Since you are uninstalling 9-ea and installing 1.8, you may need to best reinstall IM/GW.

January 7th, 2017 06:00

Following ports are used for IM as per the deployment guide:-

—ScaleIO Gateway (includes REST Gateway, Installation Manager, and SNMP trap sender): 80 and 443

Also did you install all the pre-requisite packages on the IM/Gatewat Server including Java 1.8 or higher, 64-bit?

January 7th, 2017 11:00

In the above i noticed:-

/var/lib/dpkg/tmp.ci/preinst: line 321: [[: java version "9-ea": syntax error: invalid arithmetic operator (error token is ""9-ea"")

  java platform that was found : Java HotSpot(TM) 64-Bit Server VM (build 9-ea+140, mixed mode)

can you install Java   1.8 and higher (not in 9 series) and check?

January 7th, 2017 15:00

We may need to check the logs. Can you please zip the logs from /opt/emc/scaleio/gateway/logs and upload.

10 Posts

January 11th, 2017 08:00

Sanjeev,

Did you receive the attached the zipped scaleio log files?

Thanks,

Craig

On Sat, Jan 7, 2017 at 5:42 PM, Craig McCombs

January 11th, 2017 10:00

No i do not see the zipped scaleIO log file.

Regards

Sanjeev

10 Posts

January 11th, 2017 11:00

Sanjeev,

I also updated to site with tag ScaleIO and file name

and provide you access to file.

Craig

On Wed, Jan 11, 2017 at 12:49 PM, SanjeevMalhotra <

January 11th, 2017 16:00

Hello Craig i am unable to see any logs.

You may upload the log files to the following FTP link:-

https://ftp.emc.com/action/login?domain=ftp.emc.com&username=q0RPt0zJt&password=BAB7h87hgh

10 Posts

January 11th, 2017 16:00

Uploaded

On Wed, Jan 11, 2017 at 6:02 PM, SanjeevMalhotra <

January 12th, 2017 09:00

In the Catlina logs i noted the following errors:-

Jan 07, 2017 1:09:13 PM org.apache.coyote.AbstractProtocol init

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-nio-443"]

java.io.IOException: Invalid keystore format

  at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:650)

  at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)

...........

Jan 07, 2017 1:09:13 PM org.apache.catalina.core.StandardService initInternal

SEVERE: Failed to initialize connector [Connector[org.apache.coyote.http11.Http11NioProtocol-443]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11NioProtocol-443]]

  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

..........

Can you please install normal JRE 1.8 x64 instead of  9-ea and check if you still get the same issue?

10 Posts

January 12th, 2017 10:00

Sanjeev,

*First, many thanks for your assistance! *

As you recommended earlier, I've already uninstall Java 9-ea.

$ sudo apt-get purge oracle-java9-installer

$ sudo add-apt-repository --remove ppa:webupd8team/java

Assume above is sufficient uninstall of Java 9-ea?

This is the JRE 8 I plan to install.

Now, can I just install JRE 1.8 x64 without uninstalling ScaleIO IM/Gateway

first?

In other words, does ScaleIO IM/Gateway install need correct JRE in place

to install correctly?

Thanks,

CCMC

On Thu, Jan 12, 2017 at 11:12 AM, SanjeevMalhotra <

10 Posts

January 15th, 2017 11:00

Sanjeev,

Many Thanks, was able to remotely log into ScaleIO.

*Looks like you were correct about the problem being related to Oracle Java

v9-ea.*

Procedure:

o Java removal

§ $ java -version

· java version "1.7.0_121"

· OpenJDK Runtime Environment (IcedTea 2.6.8)

(7u121-2.6.8-1ubuntu0.14.04.1)

· OpenJDK 64-Bit Server VM (build 24.121-b00, mixed mode)

§ $ sudo apt-get remove openjdk-7-jre (note about using autoremove)

§ $ sudo apt-get remove openjdk-7-jdk (not installed)

§ $ sudo apt-get autoremove openjdk-7-jre

§ $ sudo apt-get autoremove openjdk-7-jdk (not installed)

§ $ java –version

· -bash: /usr/bin/java: No such file or directory

o Install JRE 1.8 (version 8)

§ Oracle Java Install (Worked)

· $ sudo apt-get install python-software-properties

· $ sudo add-apt-repository ppa:webupd8team/java

· $ sudo apt-get update

· $ sudo apt-get install oracle-java8-installer

· $ sudo apt install oracle-java8-set-default

· $ java –version

o java version "1.8.0_111"

o Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

o Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

· Rebooted IM/Gateway server after installing JRE 1.8

o o Remote login to ScaleIO IM/Gateway

§ Google Chrome (Version 55.0.2883.87 m) browser

§

Respectfully,

CCMC

On Wed, Jan 11, 2017 at 6:02 PM, SanjeevMalhotra <

No Events found!

Top