From owner-freebsd-questions Fri Jul 5 2:45: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CE5B37B400 for ; Fri, 5 Jul 2002 02:45:01 -0700 (PDT) Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 0723243E31 for ; Fri, 5 Jul 2002 02:45:00 -0700 (PDT) (envelope-from CapM@gmx.net) Received: (qmail 13249 invoked by uid 0); 5 Jul 2002 09:44:58 -0000 Date: Fri, 5 Jul 2002 11:44:58 +0200 (MEST) From: Pascal Giannakakis To: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Oracle 8 again: some comments to the install-process X-Priority: 3 (Normal) X-Authenticated-Sender: #0000945514@gmx.net X-Authenticated-IP: [195.82.64.130] Message-ID: <12612.1025862298@www40.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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