Date: Fri, 5 Jul 2002 11:44:58 +0200 (MEST) From: Pascal Giannakakis <CapM@gmx.net> To: freebsd-questions@freebsd.org Subject: Oracle 8 again: some comments to the install-process Message-ID: <12612.1025862298@www40.gmx.net>
index | next in thread | raw e-mail
Hello Sergey, hello list!
I installed Oracle as described in the link from Sergey (thanks! btw: i had
to create
some missing files, see below), but i can run the graphical clients
(dbastudio and
sqlplus) only from the oracle-account. However, X must be started by oracle,
too. If
i login as oracle in the CLI and startx, i can run the apps, but if i login
with
another account, startx, and then su and start the oracle-clients, i get an
error-message, that the JRE can't grab the screen:
--------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
java.lang.reflect.InvocationTargetExceptionjava.lang.NullPointerException
Cannot launch application oracle.sysman.vth.VthDbmgrApp
--------
And if i try to srart dbastudio from root oder my other account:
--------
arch: not found
dirname: illegal option -- p
usage: dirname path
jre was not found in /../bin//green_threads/jre
--------
The solution to this problem is a small shellscript:
--------
#!/compat/linux/bin/bash
/usr/local/oracle/bin/oemapp dbastudio
--------
I hope this information is valuable for someone, i took me for ever to
figure this
silly problem out. The shellscript can be run by any user and doesn't have
to be
sticky.
Now for the missing files: oracle tries to chmod some files in the
native_threads
directory of the JRE during setup, which don't exist due to the
green-threads option.
I couldn't finish the setup until i created some empty files that oracle
complained
about.
In closing i would like to mention that the oracle install procedure sux big
A! =|
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12612.1025862298>
