I have successfully launched an 11g Oracle DB AMI (188.8.131.52 - 32 bit). I also associated a static IP (using Amazon EC2).There are two issues that i see so far that prevents me from working on the machine like a true oracle server.
1) But i cannot get xserver working. I need this for downloading and installing oracle software using OUI.
2) I also want to access internet from my instance by launcing mozilla. Even this one does not work.
*root@domU-12-31-39-07-61-E1:[u02/oradata/TESTDB]*+ *$ cd /usr/bin*
*root@domU-12-31-39-07-61-E1:[usr/bin]*+ *$ ./X*
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-1.2798.fc6 i686 Red Hat, Inc.
Current Operating System: Linux domU-12-31-39-07-61-E1 2.6.18-184.108.40.206.2.el5xen #1 SMP Sun Aug 10 10:47:29 EDT 2008 i686
Build Date: 11 November 2007
Build ID: xorg-x11-server 1.1.1-48.26.el5.0.1
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 3 22:35:47 2009
(EE) Unable to locate/open config file
xf86PciVideoInfo is not set
(==) Using default built-in configuration (45 lines)
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.
Same issue with "startx" command. It shows the X Server Configuration+ in the menu, but no action performed when I click on it. which mozilla*
mozilla not found
The vncserver is configured but not started in the AMI. You will need to do the following:
1) Start the VNC server, as root run # vncserver
-- configure the password,etc
2) setup the AWS Security Group such that VNC port(s) are open to your IP range. Typically, it will be port 5901.
3) on your desktop, use a VNC client to connect to the EC2 server. The server will be the public host name with the VNC port appended, for example: ec2-123-aws.amazon.com:1 (note that the client uses the port value of 1, while the server and AWS security group use 5901 -the client automatically attaches the 590 to the port you supply).
Let me know if you have further questions.
The steps are good. I got the graphical linux environment. But when i try to launch ./runInstaller of Oracle software from xterm, i get "unable to open display".
Do we have to use another x client like EXCEED or X-WIN32 ? I tried setting display to my laptop's ip address. But still same "unable to open display"
How do you resolve this ? What is the right DISPLAY env value you need to set to launch Oracle Universal Installer in an AMI ?
Edited by: Srinivas.R on Dec 4, 2009 6:44 PM
Any comments ?
How do you get the X working ? I got the vncserver part and it works great and able to launch mozilla and connect to the internet from the AMI.
But how do i make sure "xclock" is opening up ? I want to launch Oracle Universal Installer successfully on this AMI.
1) edit /etc/ssh/sshd_config and set PasswordAuthentication to its default value yes
2) /etc/init.d/sshd reload
3) start Putty on your box and set checkbox Enable X11 forwarding in the settings
4) login as oracle and env | grep DISP --> you will see that DISPLAY var is already preset for you by Putty
5) start X-Server on your local box (there are free products on the market nowdays)
6) run xclock &