I stuck in the 4th step , I couldn’t find the “oracle start” file or “reoracle stat” file nither
Well, you might have a better chance of obtaining help if you can explain the above a little further. What output do you get when you type the ‘rcoracle start’ command? Did you execute this as root or as regular user?
i know this may sound stupid to you, but are you installing into
openSUSE 11.2 (which goes unsupported in May 2011) or is it SUSE
Enterprise Linux 11 SP2 which is has extended support available
until…hmmmm 7 years from release…
since I’m new to linux generally , I thought that " oracle start or " rcoracle start " are files in the etc/init.d directory , ok now I got that it’s a terminal command , and it worked and the kernel parameters were updated , now when I’m trying to run oracle universal installer I got this exception
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-11
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-03-14_06-37-56PM. Please wait …oracle@linux-w0n7:/home/habash1986/Download/database> No protocol specified
Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘: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)
>
> how can I handle this exception please ?
>
>
The error indicates that the graphical installer cannot access the screen.
Do you run this as root/ as user?
Do you run this in a desktop session or from a virtual console?
habash1986 wrote:
> how can I handle this exception please ?
i don’t know anything about oracle (except they won the America’s Cup
Race recently) but i do know a little about english…and, i read in
your previous note
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-11
Passed
which means to me that oracle is born brain dead because you tell us
in your subject line that you are not running any of those listed…
I’m using openSUSE OS on my laptop directly , without virtual box
for the installer , I logged on as habash1986 ( my user )then through Terminal I switched to oracle user and I ran the oracle universal command and I got the exception …
> habash1986 wrote:
>> how can I handle this exception please ?
>
> i don’t know anything about oracle (except they won the America’s Cup
> Race recently) but i do know a little about english…and, i read in
> your previous note
>
>
> Checking installer requirements...
>
> Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
> UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-11
> Passed
>
>
> which means to me that oracle is born brain dead because you tell us
> in your subject line that you are not running any of those listed…
>
> so?
>
/etc/SuSE-release contains openSUSE 11.2 (x86_64) VERSION = 11.2
and an appropriate entry has to be added to
the file database/install/oraparam.ini to [Certified Versions] line.
>
> martin_helm;2136996 Wrote:
>> habash1986 wrote:
>>
>> >
>> > how can I handle this exception please ?
>> >
>> >
>> The error indicates that the graphical installer cannot access the
>> screen.
>> Do you run this as root/ as user?
>>
>> Do you run this in a desktop session or from a virtual console?
>
> I’m using openSUSE OS on my laptop directly , without virtual box
>
> for the installer , I logged on as habash1986 ( my user )then through
> Terminal I switched to oracle user and I ran the oracle universal
> command and I got the exception …
>
>
when you switch a user (I guess you did it with “su oracle”) this user will
not necessarily have access to open a gui on your screen (which is still
attached to the original user).
> but, he is running SLED 11, i think and . . .
>
The original post indicates opensuse 11.2 but anyway if he uses sles this
problem should not exis (sles is certified by oracle - but I am unsure if
sless 11 is certified for oracle 10 because the sles 11 is newer than oracle
10 I guess, did not check it now)
Whatever, it works with sles and opensuse if done in the right way (some
tweaking is needed to tell the oracle installer that the underlying
operating system is certified -> this is really braindead)
so what do you suggest to do ?
BTW I have already tweaked a file in order to make the oracle universal installer works under openSUSE 11.2 , and this step is mentioned in the steps is the first post
>
> martin_helm;2137028 Wrote:
>> habash1986 wrote:
>>
>> >
>> > martin_helm;2136996 Wrote:
>> >> habash1986 wrote:
>> >>
>> >> >
>> >> > how can I handle this exception please ?
>> >> >
>> >> >
>> >> The error indicates that the graphical installer cannot access the
>> >> screen.
>> >> Do you run this as root/ as user?
>> >>
>> >> Do you run this in a desktop session or from a virtual console?
>> >
>> > I’m using openSUSE OS on my laptop directly , without virtual box
>> >
>> > for the installer , I logged on as habash1986 ( my user )then
>> through
>> > Terminal I switched to oracle user and I ran the oracle universal
>> > command and I got the exception …
>> >
>> >
>> when you switch a user (I guess you did it with “su oracle”) this user
>> will
>> not necessarily have access to open a gui on your screen (which is
>> still
>> attached to the original user).
>
>
> so what do you suggest to do ?
> BTW I have already tweaked a file in order to make the oracle universal
> installer works under openSUSE 11.2 , and this step is mentioned in the
> steps is the first post
>
>
try kdesu -u oracle /full/path/to/the/installer
Anyway, this the workflow I always use to install 10g:
Install openSUSE with the c/C++ development pattern. Then install the orarun package from novell (http://ftp.novell.com/partners/oracl…-11/orarun.rpm).
This will create a system user oracle. Enable this user in yast by setting its profile to /bin/bash/ and change his password.
Then modify /etc/profile.d/oracle.sh to your liking (ORACLE_HOME etc).
Run rcoracle start to set kernel parameters.
Log in as user oracle and run runInstaller.
Create a database with dbca and a listener with netca.
After you created a database, change /etc/sysconfig/oracle to start the database and listener on startup.
In /etc/oratab set the database to start on boot.
Create a symlink for /etc/oratab in /var/opt/oracle
( ln -s /etc/oratab/ /var/opt/oracle/oratab)