Need some help from experinced Oracle users. I am trying to install Oracle 12c to Redhat.
Code:
sudo -u oracle
./runInstaller
But installer answered me:
Code:
Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before continuing with the installation, Continue? (y/n) [n]
Well, I pressed "y" - installer answered:
Code:
Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-03-11_11-06-54PM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
Then I checked DISPLAY variable:
Code:
echo $DISPLAY
127.0.0.1:1.0
Should I change this variable?
Someone said I should try the following:
Code:
1) Log as root
2) su - oracle
3) enter 'xhost +'
4) enter 'export DISPLAY=:0.0'
5) ./runInstaller
But when I ran xhost command I got:
Code:
xhost: unable to open display ""
Thanks for support :-)
Moderator's Comments:
Please use CODE tags when displaying code segments and when displaying sample input and sample output.
Last edited by Don Cragun; 10-10-2015 at 12:01 AM..
Reason: Add CODE tags.
The xhost + only works if the display still works i.e. before the su or sudo. And it opens your display for everyone until you do xhost -.
Instead of su|sudo+xhost maybe you can do ssh that normally forwards the display
Code:
ssh oracle@`hostname`
This User Gave Thanks to MadeInGermany For This Post:
The xhost + only works if the display still works i.e. before the su or sudo. And it opens your display for everyone until you do xhost -.
Instead of su|sudo+xhost maybe you can do ssh that normally forwards the display
ssh oracle@localhost works but can create a problem with known_hosts in a shared home directory.
Try the ssh method first, before you try the xhost,sudo method!
This User Gave Thanks to MadeInGermany For This Post:
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Look at the following data file(cou.data) which has four fields separated by tab.
Four fields are country name, land area, population, continent where it belongs.
As for country name or continent name which has two words, two words are separated by space.
(Data are not accurately... (1 Reply)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Hi,
Please clarify what is the difference between "env" and "set" command.
I guess set will display the system variables and user defined variables.
Thanks
Sweta (1 Reply)
I wish to remove a user from the system... but an error occurr...
I try to remove via SMITTY and try to remove via command line with
rmuser -p (name of user)
and does not works.... The system display that the "Name is too long"
There another way to remove a user... or... (1 Reply)