I was installing Oracle 11g Release 2 Enterprise edition in Ubuntu 10.04 ( running on VMWARE ). Need help regarding that.
Problem #1:
I was following
Both are recommending to install
But I'm getting a 404 to when applying wget
Problem 2:
I skipped this part to see the end and finally I'm stuck on running below commands
$ cd database
$ ./runInstaller
Its throwing error like
/opt/database/runInstaller: 153: /opt/database/install/.oui: Permission denied
Thnx Sathya
Finally I could get rid of Initial Problem. It was silly permission problem. But now stuck in another. When im running
./runInstaller
first it is showing following 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)
As my ubuntu is running on VMWARE, may be its not getting the display properties properly. Also as a clarification I m doing
DISPLAY=oracle:0.0 ; export DISPLAY
here oracle is the output of
whoami
Any suggestion?
Finally I got it fixed.
using
xhost +
Now I can see that this was recommended in different forums. However, lets include the steps here also :)
DISPLAY=:0.0
export DISPLAY
xhost +
su - oracle
DISPLAY=:0.0
export DISPLAY
/user/openwin/bin/xclock
- Launched xclock this way to ensure it was working, and it wasCollected from https://forums.oracle.com/forums/thread.jspa?threadID=569326
FYI for others looking at this and still stuck - I still had the issue:
Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.FailedCould not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed
Even after getting xclock to load (on RHEL) for the oracle user. In the end, my issue was '/usr/bin/xdpyinfo' wasn't installed, I was missing xorg-x11-utils.
http://www.redhat.com/archives/fedora-list/2007-August/msg02702.html
If you are running database server in command-line mode(runlevel 3),and your client is windows, you should run an X server on your client machine like Xming server
also if you use Putty to connect to the server,X11 forwarding should be enabled without any location address changing. No DISPLAY environment needed. Putty automatically forwards all x commands from the server to your client machine running Xming server. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With