14 Replies Latest reply on Nov 1, 2010 7:43 PM by Hussein Sawwan-Oracle

    ./runInstaller error

    768953
      HI,


      Am upgrading Oracle Apps 11i Database to Oracle Database 10g Release 2
      Apps-11.5.10.2
      Db-9.2.6
      OS-Red Hat Enterprise Linux AS release 4 (Nahant Update 6)


      while installing 10gR2 Software -am facing error
      Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-01_10-29-44AM. Please wait ...[oracle@rofdbs5 database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable.
      at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
      at java.awt.Window.init(Unknown Source)
      at java.awt.Window.<init>(Unknown Source)
      at java.awt.Frame.<init>(Unknown Source)
      at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
      at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
      at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
      at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
      workaroound :

      as root & oracle user

      export DISPLAY=localhost:0.0
      xhost +
      Thanks
        • 1. Re: ./runInstaller error
          Helios-GunesEROL
          Hi;

          You are making installation on server or use some program(Xwing-Vncserver etc..)

          Regard
          Helios
          • 2. Re: ./runInstaller error
            768953
            HI,

            Installation on sever.

            Am accessing server using putty.

            thanks

            Edited by: user13025265 on Nov 1, 2010 12:50 AM
            • 3. Re: ./runInstaller error
              Helios-GunesEROL
              Hi;
              Installation on sever.
              Am accessing server using putty.
              Its mean you use puty for access your server. I suggest follow those steps:

              1. login as root and run

              service vncserver status << if is stop run it, if its already running use below command
              ps -ef|grep vnc << it will show you which is already using like below

              root 5900 1 0 Oct18 ? 00:00:06 Xvnc :2 -desktop abcmachine.xx.com:2 (root) -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5902 -pn

              Its mean you use 2.0 which you will use for make installation

              as root user use below:

              export DISPLAY=serverIp:2.0
              xhost +

              Download vncviwer and install it on your machine (http://www.realvnc.com/products/download.html), dont forget you will use client not server option

              su - oracle
              export DISPLAY=serverIp:2.0
              xhost +

              run /runInstaller

              open vncviwer and run it

              type to screen serverIP:2.0 than enter pass

              You should see inst. screen

              Regard
              Helios
              • 4. Re: ./runInstaller error
                768953
                HI,



                Thanks for reply..

                while running am getting error ....


                OUI-10094:Problem in saving Inventory.Installation cannot continue /stageAPP/stageora/iAS/inventory/ContentsXML/oraclehomeproperties.xml(permission denied)


                Thanks
                • 5. Re: ./runInstaller error
                  Helios-GunesEROL
                  Hi;
                  OUI-10094:Problem in saving Inventory.Installation cannot continue /stageAPP/stageora/iAS/inventory/ContentsXML/oraclehomeproperties.xml(permission denied)
                  be sure you have w/r permisson to path stageAPP/stageora/iAS/inventory/ContentsXML/oraclehomeproperties.xml(permission denied)


                  Regard
                  Helios
                  • 6. Re: ./runInstaller error
                    768953
                    hi,



                    [applmgr@rofdbs5 ContentsXML]$ pwd

                    /stageAPP/stageora/iAS/inventory/ContentsXML
                    [applmgr@rofdbs5 ContentsXML]$ ls -lsrt

                    total 240
                    4 -rw-r--r-- 1 applmgr apps 2405 Oct 31 22:06 libs.xml
                    236 -rw-r--r-- 1 applmgr apps 234719 Oct 31 22:06 comps.xml

                    [applmgr@rofdbs5 ContentsXML]$

                    Am not able yo find oraclehomeproperties.xml


                    Thanks
                    • 7. Re: ./runInstaller error
                      Helios-GunesEROL
                      Hi,
                      [applmgr@rofdbs5 ContentsXML]$ pwd

                      /stageAPP/stageora/iAS/inventory/ContentsXML
                      [applmgr@rofdbs5 ContentsXML]$ ls -lsrt

                      total 240
                      4 -rw-r--r-- 1 applmgr apps 2405 Oct 31 22:06 libs.xml
                      236 -rw-r--r-- 1 applmgr apps 234719 Oct 31 22:06 comps.xml

                      [applmgr@rofdbs5 ContentsXML]$
                      As you said before us:
                      Am upgrading Oracle Apps 11i Database to Oracle Database 10g Release 2
                      Why you are making upgrade wiht applmgr user? You need oramgr user!

                      Regard
                      Helios
                      • 8. Re: ./runInstaller error
                        Hussein Sawwan-Oracle
                        Hi,

                        Please make sure you are logged in as oracle user and that none of the env files is sourced (set the new ORACLE_HOME manually as per the installation doc).

                        Thanks,
                        Hussein
                        • 9. Re: ./runInstaller error
                          768953
                          HI,

                          No i ran as oracle user.


                          Thanks
                          • 10. Re: ./runInstaller error
                            Hussein Sawwan-Oracle
                            Hi,
                            No i ran as oracle user.
                            Make sure you do not set any env file before running the installer.

                            You may also create the missing file manually and see if you get the same error or not.

                            Thanks,
                            Hussein
                            • 11. Upgradation of DB
                              768953
                              HI,



                              streams_pool_size=50331648
                              large_pool_size = 8388608
                              session_max_open_files=20



                              should i add these entry newly in initSID.ora of 10g


                              Thanks
                              • 12. catupgrd.sql
                                768953
                                HI,

                                Am upgrading 9.2.0.6 to 10.2.4

                                1.Manual ---


                                Run 10g environment file
                                cd $ORACLE_HOME
                                . ./SID_histname.env

                                cd $ORACLE_HOME/bin

                                sqlplus “/as sysdba”

                                startup upgrade

                                Create sysaux tablespace

                                CREATE TABLESPACE sysaux DATAFILE '/d01/oracle/singlenode/visdata/sysaux01.dbf'
                                SIZE 1000M REUSE
                                EXTENT MANAGEMENT LOCAL
                                SEGMENT SPACE MANAGEMENT AUTO
                                ONLINE;

                                cd $ORACLE_HOME/rdbms/admin
                                cat > r.sql
                                SPOOL upgrade.log
                                @catupgrd.sql
                                SPOOL OFF
                                SHUTDOWN IMMEDIATE
                                STARTUP
                                @utlrp.sql


                                approximate how long it will take to complete this .. bcz this is first time am doing upgradtion.


                                Thanks
                                • 13. Re: Upgradation of DB
                                  Hussein Sawwan-Oracle
                                  Hi,
                                  streams_pool_size=50331648
                                  large_pool_size = 8388608
                                  session_max_open_files=20

                                  should i add these entry newly in initSID.ora of 10g
                                  Please set the initialization parameters as per (Database Initialization Parameters for Oracle Applications Release 11i [ID 216205.1]).

                                  Thanks,
                                  Hussein
                                  • 14. Re: catupgrd.sql
                                    Hussein Sawwan-Oracle
                                    Hi,
                                    approximate how long it will take to complete this .. bcz this is first time am doing upgradtion.
                                    Depends on your hardware resources -- Query dba_objects to verify the number of invalid objects.
                                    SQL> select count(*)
                                    from dba_objects 
                                    where status='INVALID';
                                    Thanks,
                                    Hussein