8 Replies Latest reply: Sep 20, 2013 7:46 AM by user13174954 RSS

    unable to connect console of a virtual machine on oracle vm manager

    user13174954

      Hi,

       

      I have installed Oracle VM manager 3.2. Also installed VNC viewer on client system.

      Getting error while trying to connect VM console. Please refer the attached screenshot and error details.

       

      Error details

       

      Problem signature:

        Problem Event Name: BEX

        Application Name: javaws.exe

        Application Version: 10.7.2.11

        Application Timestamp: 5049bd05

        Fault Module Name: javaws.exe

        Fault Module Version: 10.7.2.11

        Fault Module Timestamp: 5049bd05

        Exception Offset: 00011d9c

        Exception Code: c0000417

        Exception Data: 00000000

        OS Version: 6.1.7601.2.1.0.16.7

        Locale ID: 1033

        Additional Information 1: 79a7

        Additional Information 2: 79a788ef5b208f5db755fb6fe2ead642

        Additional Information 3: 6ba7

        Additional Information 4: 6ba7cf2c928ae3198a287be9ff3f435e

       

       

      Read our privacy statement online:

        http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

       

       

      If the online privacy statement is not available, please read our privacy statement offline:

        C:\Windows\system32\en-US\erofflps.txt

        • 1. Re: unable to connect console of a virtual machine on oracle vm manager
          WadhahDaouehi

          Hi,

          You have two possibility to connect to Virtual Machines, from Oracle VM Manager:

          • JAVA-jdk 1.6 or later (javaws), see this URL.
          • VNC-viewer.

           

          And in your case. you want to use VNC Viewer but why you have a problem a Application Name:  javaws.exe

          Application Name: javaws.exe

           

          I hope this can help you

          Best Regards

          • 2. Re: unable to connect console of a virtual machine on oracle vm manager
            user13174954

            Thanks for the update.

            I have installed correct version of java and now getting different error related to vnc.

             

            I am not getting any option to attach the error screenshot.

             

            Error : "Session is invalid or timed out"

             

            Regards,

            Sanjay

            • 3. Re: unable to connect console of a virtual machine on oracle vm manager
              WadhahDaouehi

              Hi,

              Firstly, Verify that you have VNC server and VNC Viewer on your Oracle VM Managet host, if not install them.

               

              yum install tigervnc
              yum install tigervnc-server
              

               

              Secondly, verify that you have a VNC Viewer in the machine that you use it to access to Oracle VM MAnager.

               

              yum install tigervnc
              

               

               

              I hope this can help you

              Best Regards

              • 4. Re: unable to connect console of a virtual machine on oracle vm manager
                user13174954

                Hi,

                 

                I have installed tigervnc and tigervnc-server on Oracle VM Manager host. Also installed tigervnc on client.

                 

                Now getting following error :

                "unable to resolve host by name:name or service not known"

                • 5. Re: unable to connect console of a virtual machine on oracle vm manager
                  WadhahDaouehi

                  Hi,

                   

                  Your FireWall is up and is preventing the access to the VNC server (Oracle VM Manager)

                   

                  • Type the following command:

                   

                  # netstat -tulp | grep vnc
                  

                   

                  • Update /etc/sysconfig/iptables

                   

                       Edit /etc/sysconfig/iptables file: (Change the Port with which you found)

                   

                  # vi /etc/sysconfig/iptables
                  
                  -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport PORT -j ACCEPT
                  

                   

                  • Save and close the file. Restart iptables:

                   

                  # service iptables restart
                  

                   

                  I hope this can help you

                  Best Regards

                  • 6. Re: unable to connect console of a virtual machine on oracle vm manager
                    user13174954

                    Hi,

                     

                    Please find the following output.

                     

                    [root@ovm-m ~]# iptables -L

                    Chain INPUT (policy ACCEPT)

                    target     prot opt source               destination

                     

                     

                    Chain FORWARD (policy ACCEPT)

                    target     prot opt source               destination

                     

                     

                    Chain OUTPUT (policy ACCEPT)

                    target     prot opt source               destination

                     

                    [root@ovm-m ~]# netstat -tulp | grep vnc

                    getnameinfo failed

                    getnameinfo failed

                    tcp        0      0 *:5901                      *:*                         LISTEN      12757/Xvnc

                    tcp        0      0 *:6001                      *:*                         LISTEN      12757/Xvnc

                    tcp        0      0 *:6001                      *:*                         LISTEN      12757/Xvnc

                    • 7. Re: unable to connect console of a virtual machine on oracle vm manager
                      WadhahDaouehi

                      Hi,

                      If you want to configure the vnc port with iptables:

                       

                      [root@ovm-m ~]# netstat -tulp | grep vnc

                      getnameinfo failed

                      getnameinfo failed

                      tcp        0      0 *:5901                      *:*                         LISTEN      12757/Xvnc

                      tcp        0      0 *:6001                      *:*                         LISTEN      12757/Xvnc

                      tcp        0      0 *:6001                      *:*                         LISTEN      12757/Xvnc

                       

                      • Update /etc/sysconfig/iptables

                           Edit /etc/sysconfig/iptables file: (verify if you use the chane name INRPUT or RH-Firewall-INPUT)

                       

                      # vi /etc/sysconfig/iptables 

                      -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT 

                      -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 6001 -j ACCEPT 

                       

                      • Save and close the file. Restart iptables:

                       

                      # service iptables restart 

                       

                       

                      I hope this can help you

                      Best Regards