Solved

while run ./runInstaller i unable to connect X11

Posted on 2008-10-21
4
698 Views
Last Modified: 2013-12-27
Hi experts.
Good morning!
MY OS sunsolaris sparc
My Database oracle8i

Question:
I m try to Install oracle8i database on sunsolaris sparc mechine, i have completed pre-installation process, But when trying to run ./runInstaller the following error i getting. Pls help me .

The error:
$ Initializing Java Virtual Machine from /tmp/OraInstall/jre/bin/jre. Please wait...
java.lang.InternalError: Can't connect to X11 window server using ''who -m | cut -f2 -d'('| cut -f1 -d')'':0.0' as the value of the DISPLAY variable.
        at sun.awt.motif.MToolkit.<init>(Compiled Code)
        at java.awt.Toolkit.getDefaultToolkit(Compiled Code)
        at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.getImage(Compiled Code
)
        at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.<init>(Compiled Code)
        at oracle.sysman.oii.oiic.OiicInstaller.main(Compiled Code)

thanks
siva
0
Comment
Question by:sivakumar_experts
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 200 total points
ID: 22773684
If you are at the console, you can manually set the DISPLAY variable:
DISPLAY=`hostname`:0.0
export  DISPLAY
then run the script.
IF you are remote login, you need to make sure your local machine has X server install and it is running on the background.
and set:
DISPLAY="Local-IP":0.0
export DISPLAY
You can also for setup X forwarding for ssh to do the job.
0
 

Author Comment

by:sivakumar_experts
ID: 22773816
hi yuzh sir :

YAP i got it ... sir i need permanent solution for this.

Thanks lots

siva.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 22774342
What type of  "permanent solution " do you need?
How often do you need to run the installer.
You can also write a script to set the DISPLAY and run the installer.
eg:
#!/bin/ksh
export DISPLAY=`who am i | awk '{print $6}' | tr -d "()"`:0.0
/path-to/ runInstaller
exit
# End of script
0
 

Author Closing Comment

by:sivakumar_experts
ID: 31508619
sir thanks lots.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
llcommand 6 91
how to check for shares on HP-UX 1 59
How to check the PVU´s on AIX TSM servers? 3 94
aix unix tar error 3 66
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question