LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FACING PROBLEM IN ORACLE 10g INSTALLATION ON RHEL5 (https://www.linuxquestions.org/questions/linux-newbie-8/facing-problem-in-oracle-10g-installation-on-rhel5-832352/)

crahuldba@gmail.com 09-15-2010 11:34 AM

FACING PROBLEM IN ORACLE 10g INSTALLATION ON RHEL5
 
Hi everybody
I am installing oracle 10g on rhel5. i have installed all the required package. set the oracle .bash_profile and all other things
after that i fire these command
as root xhost +
as oracle DISPLAY=150.151.1.203:0.0 export DISPLAY
after that ./runInstaller
than i got the following error
[oracle@server2 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-16_12-53-14AM. Please wait ...[oracle@server2 database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '150.151.1.203: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)

please help me
THANKS & REGARDS
RAHUL SHARMA

TB0ne 09-15-2010 11:46 AM

Quote:

Originally Posted by crahuldba@gmail.com (Post 4098407)
Hi everybody
I am installing oracle 10g on rhel5. i have installed all the required package. set the oracle .bash_profile and all other things
after that i fire these command
as root xhost +
as oracle DISPLAY=150.151.1.203:0.0 export DISPLAY
after that ./runInstaller
than i got the following error
[oracle@server2 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-16_12-53-14AM. Please wait ...[oracle@server2 database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '150.151.1.203: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)

Either you don't have X windows running on your workstation, your workstation isn't set to accept incoming X connections, or your address is wrong.

You don't say anything about your workstation setup, what it's running, or if you've tried the install from the console, so it's hard to say. You can install in text-mode, without the GUI, over a regular SSH session too.

And most importantly...you're using Oracle and RedHat Enterprise. Your paying for support from both of them, so the best thing to do would be call either/both of them for support.

divyashree 09-15-2010 12:05 PM

Quote:

Originally Posted by crahuldba@gmail.com (Post 4098407)
Hi everybody
I am installing oracle 10g on rhel5. i have installed all the required package. set the oracle .bash_profile and all other things
after that i fire these command
as root xhost +
as oracle DISPLAY=150.151.1.203:0.0 export DISPLAY
after that ./runInstaller
than i got the following error
[oracle@server2 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-16_12-53-14AM. Please wait ...[oracle@server2 database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '150.151.1.203: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)

please help me
THANKS & REGARDS
RAHUL SHARMA

Hey RAHUL,You can check this link for step by step process

http://thegnulinuxguy.wordpress.com/...-10g-on-rhel5/

TB0ne 09-15-2010 12:34 PM

Quote:

Originally Posted by divyashree (Post 4098451)
Hey RAHUL,You can check this link for step by step process

http://thegnulinuxguy.wordpress.com/...-10g-on-rhel5/

Except that the OP already said they're doing the xhost step, and is getting stopped there. That guide doesn't address that.

Also, there are several errors in that document. Genuine installation guides can be downloaded from Oracle's website, that have the correct information on them.

divyashree 09-15-2010 03:21 PM

Quote:

Originally Posted by TB0ne (Post 4098472)
Except that the OP already said they're doing the xhost step, and is getting stopped there. That guide doesn't address that.

Also, there are several errors in that document. Genuine installation guides can be downloaded from Oracle's website, that have the correct information on them.

No errors ,oracle is running fine on my CentOS 5.

TB0ne 09-15-2010 03:42 PM

Quote:

Originally Posted by divyashree (Post 4098640)
No errors ,oracle is running fine on my CentOS 5.

Sorry, there are several. From your site:
Quote:

As RHEL5 has been released after Oracle 10g was, Oracle 10g does not support RHEL5 ocially
Which is amazing...since Oracle is officially supported under RHEL4, which came out BEFORE RHEL5. It is officially supported under RHEL5, and has been for some time. Look it up on Oracle's website.

Also, some of the system parameters you're putting in are dependent on particular system details, they're not generic. Yes, it may be working for YOU, but that guide is flawed as a general installation guide. As I said, official guides can be found on Oracle's website, and since they WROTE the DB, those are the guides that should be followed.

divyashree 09-16-2010 10:09 AM

Quote:

Originally Posted by TB0ne (Post 4098652)
Sorry, there are several. From your site:

Which is amazing...since Oracle is officially supported under RHEL4, which came out BEFORE RHEL5. It is officially supported under RHEL5, and has been for some time. Look it up on Oracle's website.

Also, some of the system parameters you're putting in are dependent on particular system details, they're not generic. Yes, it may be working for YOU, but that guide is flawed as a general installation guide. As I said, official guides can be found on Oracle's website, and since they WROTE the DB, those are the guides that should be followed.

Actually Oracle Universal Installer doesnot recognize RHEL5 as supported OS and the installer will stop if its RHEL5 . SO we have to change the value in /etc/redhat-release to rhel4 to bypass the system requirement. And the system parameters may be different for different systems.

It's clearly written in Oracle Documentation.

http://download.oracle.com/docs/cd/B...b15659/toc.htm

TB0ne 09-16-2010 10:15 AM

Quote:

Originally Posted by divyashree (Post 4099514)
Actually Oracle Universal Installer doesnot recognize RHEL5 as supported OS and the installer will stop if its RHEL5 . SO we have to change the value in /etc/redhat-release to rhel4 to bypass the system requirement.

It's clearly written in Oracle Documentation.

http://download.oracle.com/docs/cd/B...b15659/toc.htm

Yep, so is this, from the beginning of the document you linked to:
Quote:

Starting with Oracle Database 10g Release 2 (10.2.0.4), the following operating systems are supported in addition to the list documented in Oracle Database Installation Guide for Linux x86:
  • Asianux 3
  • Oracle Enterprise Linux 4/Oracle VM
  • Oracle Enterprise Linux 5/Oracle VM
  • Red Hat Enterprise Linux 4/Oracle VM
  • Red Hat Enterprise Linux 5/Oracle VM

See the part where it says "Red Hat Enterprise Linux 5"???? Right under where it says "the following operating systems are supported"??? RHEL5 IS a supported OS. What you're talking about is a known workaround for the generic installer to work.

The link to your website says that Oracle 10g is not supported under RHEL5. It is, which you proved by the document you linked to. The installer note has been a known issue for some time.

divyashree 09-16-2010 10:18 AM

Quote:

Originally Posted by TB0ne (Post 4099519)
Yep, so is this, from the beginning of the document you linked to:

See the part where it says "Red Hat Enterprise Linux 5"???? Right under where it says "the following operating systems are supported"??? RHEL5 IS a supported OS. What you're talking about is a known workaround for the generic installer to work.

The link to your website says that Oracle 10g is not supported under RHEL5. It is, which you proved by the document you linked to. The installer note has been a known issue for some time.

Thanks for the comment,I'll change on my post.


All times are GMT -5. The time now is 07:04 PM.