Forum Stats

  • 3,750,403 Users
  • 2,250,174 Discussions
  • 7,866,966 Comments

Discussions

java.net.ConnectException: Connection refused during OVM Manager 3.4.6.2 Installation

User_0VU9B
User_0VU9B Member Posts: 2 Red Ribbon

Hi,

I am trying to install Oracle V M Manager-3.4.6.2 on Oracle Linux 7.7 and ran the script ./Createoracle.sh and followed by ./runInstaller.sh. I am getting below errors:

Failed to update root user from MySQL Database. and java.net.ConnectException: Connection refused (Connection refused). Followed multiple blogs and community, but hard luck. can I get any suggestions, Thanks?

error message:

Start installing Oracle VM Manager:

  1: Continue

  2: Abort


  Select Number (1-2): 1


Step 1 of 7 : Database Software ...

Installing Database Software...

Retrieving MySQL Database 5.6 ...

Unzipping MySQL RPM File ...

Installing MySQL 5.6 RPM package ...

Configuring MySQL Database 5.6 ...

Installing MySQL backup RPM package ...

Failed to update root user from MySQL Database.

      com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.


      com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:314)

    at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346)

    at Djc.main(Djc.java:60)

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)

    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)

    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)

    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)

    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)

    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)

    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)

    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)

    at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304)

    ... 2 more

Caused by: java.net.ConnectException: Connection refused (Connection refused)

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344)

    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

    at java.net.Socket.connect(Socket.java:596)

    at java.net.Socket.connect(Socket.java:545)

    at java.net.Socket.<init>(Socket.java:442)

    at java.net.Socket.<init>(Socket.java:258)

    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)

    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)

    ... 15 more

--- Nested Exception ---

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)

    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)

    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)

    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)

    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)

    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)

    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)

    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)

    at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304)

    at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346)

    at Djc.main(Djc.java:60)

Caused by: java.net.ConnectException: Connection refused (Connection refused)

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344)

    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

    at java.net.Socket.connect(Socket.java:596)

    at java.net.Socket.connect(Socket.java:545)

    at java.net.Socket.<init>(Socket.java:442)

    at java.net.Socket.<init>(Socket.java:258)

    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)

    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)

    ... 15 more


shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory