Installing Oracle 11g R2 on Ubuntu 10.04

Initial task

I installed Oracle 11g Release 2 Enterprise edition on Ubuntu 10.04 (runs on VMWARE). Need help with this.

Problem number 1:

I followed

Both recommend installing

  • libstdc ++ 5_3.3.6-17ubuntu1_amd64.deb
  • ia32-libs_2.7ubuntu6.1_amd64.deb

But I get 404 when applying wget

Problem 2:

I skipped this part to see the end, and finally I got stuck in running below commands

 $ cd database $ ./runInstaller 

Error throwing it, for example

 /opt/database/runInstaller: 153: /opt/database/install/.oui: Permission denied 



Problem Phase 2

Thnx Satya
Finally, I could get rid of the initial problem. It was a dumb resolution problem. But now stuck in another. When im working

 ./runInstaller 

first it shows the next failure

 Checking Temp space: must be greater than 80 MB. Actual 10055 MB Passed Checking swap space: must be greater than 150 MB. Actual 894 MB Passed Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< 

If I ignore this check and press y to continue, it shows

 Exception in thread "main" java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at java.awt.Toolkit$2.run(Toolkit.java:821) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source) at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source) at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783) at javax.swing.UIManager.setLookAndFeel(UIManager.java:480) at oracle.install.commons.util.Application.startup(Application.java:758) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265) at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114) at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132) 

Since my ubuntu runs on VMWARE, it may not get display properties properly. Just like refinement I do

 DISPLAY=oracle:0.0 ; export DISPLAY 

here oracle is the way out

 whoami 

Any suggestion?

+7
source share
5 answers

Finally, I am corrected.

using

 xhost + 

Now I see that it has been recommended in various forums. However, you can also specify the following steps here :)

  • log into the console as root and open a terminal window in CDE
  • DISPLAY=:0.0
  • export DISPLAY
  • xhost +
  • su - oracle
  • DISPLAY=:0.0
  • export DISPLAY
  • /user/openwin/bin/xclock - Launched xclock so that it worked, and that was
  • Changed to the directory where runInstaller was run.

Collected from https://forums.oracle.com/forums/thread.jspa?threadID=569326

+15
source

FYI for others looking at it and still stuck - I still had a problem:

Failed to automatically check display colors with / usr / bin / xdpyinfo. Check if the DISPLAY variable is set. Failed Failed to automatically check display colors using the / usr / bin / xdpyinfo command. Check if the DISPLAY variable is set. Mistake

Even after getting xclock to load (on RHEL) for the oracle user. In the end, my problem was "/ usr / bin / xdpyinfo" was not installed, I was missing xorg-x11-utils.

http://www.redhat.com/archives/fedora-list/2007-August/msg02702.html

+1
source

If you use the database server in command line mode (runlevel 3), and your client is windows, you must start the X server on your client machine, for example, the Xming server

Also, if you use Putty to connect to the server, you must enable X11 forwarding without changing the location address. No DISPLAY environment required. Putty automatically redirects all x commands from the server to the client machine on which the Xming server is running. Hope this helps.

+1
source

Both recommend installing

This is not required if you are installing a 32-bit version of Oracle or using a 32-bit version of Ubuntu. (and note: you did not indicate which one you are using

I skipped this part to see the end, and finally I got stuck in running below commands

Did you do as indicated, or skipped all the steps? The intermediate steps include creating an oracle user and adding user groups - it looks like you missed them.

0
source

Suppose you use oracle to run the installer, as suggested in the manual, you only need to run two commands (run from an account with sudo access)

 DISPLAY=:4.0; export DISPLAY xhost +SI:local user:oracle 

After that, return to the tab using oracle, and now you can run the installer.

0
source

All Articles