installaing weblogic 12c

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

installaing weblogic 12c

satish
Dear Erman,

We are tyring to install weblogic 12c but ended up with below error.we also tried exporting display but didnt work

{web@erpdevelopmentdb ~]$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-16_04-59-27PM/launcher2018-05-16_04-59-27PM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.  Actual unknown.   Failed <<<<
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 2705 MB    Passed

Some system prerequisite checks failed.
You must fulfill these requirements before continuing.

Continue? (yes [y] / no [n]) [n]
y
You have confirmed that the product can be installed on this platform.
Continuing with the installation.

>>> Ignoring failure(s) of required prerequisite checks and continuing.
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-16_04-59-27PM
Log: /tmp/OraInstall2018-05-16_04-59-27PM/install2018-05-16_04-59-27PM.log
X-Server access is denied on host
[Fatal Error] DISPLAY variable set incorrectly: erpdevelopmentdb:0.0
[Resolution] Verify that your DISPLAY environment variable is set correctly,
and that there is an X11 server on the system. If you are
running the Oracle Installer as a different user or on a different host,
you may need to use the xhost command to ensure that host/user
has permission to write to your display.


could you please help here

xhost command retruns unknown command

Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
Set your DISPLAY env variable accordingly.
give X permission to the OS user that you are using for the installation ( do this with root user and xhost + command)
Then you are good to go.. Retry.
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

Satish
Thanks for the update erman. erpdevelopmentdb is my server name and I have set display erpdevelopmentdb:0.0

How to give X permission
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
connect with root.
set the same display env variable
then execute "xhost +" command
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
Thanks for the update erman,we tried it

[root@erpdevelopmentdb ~]# export DISPLAY=erpdevelopmentdb:0.0
[root@erpdevelopmentdb ~]# xhost +
xhost:  unable to open display "erpdevelopmentdb:0.0"
[root@erpdevelopmentdb ~]#
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
This is the error after setting the display as root and xhost + command

[obiee@erpdevelopmentdb ~]$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-16_06-04-36PM/launcher2018-05-16_06-04-36PM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.  DISPLAY environment variable not set.    Failed <<<<
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 21372 MB    Passed

Some system prerequisite checks failed.
You must fulfill these requirements before continuing.

Continue? (yes [y] / no [n]) [n]
y
You have confirmed that the product can be installed on this platform.
Continuing with the installation.

>>> Ignoring failure(s) of required prerequisite checks and continuing.
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-16_06-04-36PM
DISPLAY is not set.  Please set the DISPLAY environment variable 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
Log: /tmp/OraInstall2018-05-16_06-04-36PM/install2018-05-16_06-04-36PM.log

No X11 DISPLAY variable was set.
Set this variable to a valid value, for example:

set DISPLAY=localhost:0.0

The log(s) can be found here: /tmp/OraInstall2018-05-16_06-04-36PM.
[obiee@erpdevelopmentdb ~]$
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
your DISPLAY env variable is still not set Satish...

Please set it properly for your OS user and terminal, use xhost + to give X permission to your OS user and retry.

This is a very clear and basic issue, bytheway.
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
I am sorry erman.pasted earlier logs before setting the display

We have exported the display as you sugsted and below is the error

[obiee@erpdevelopmentdb ~]$ export DISPLAY=erpdevelopmentdb:0.0
[obiee@erpdevelopmentdb ~]$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-17_11-01-25AM/launcher2018-05-17_11-01-25AM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.  Actual unknown.   Failed <<<<
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 12038 MB    Passed

Some system prerequisite checks failed.
You must fulfill these requirements before continuing.

Continue? (yes [y] / no [n]) [n]
y
You have confirmed that the product can be installed on this platform.
Continuing with the installation.

>>> Ignoring failure(s) of required prerequisite checks and continuing.
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-17_11-01-25AM
Log: /tmp/OraInstall2018-05-17_11-01-25AM/install2018-05-17_11-01-25AM.log
X-Server access is denied on host
[Fatal Error] DISPLAY variable set incorrectly: erpdevelopmentdb:0.0
[Resolution] Verify that your DISPLAY environment variable is set correctly,
and that there is an X11 server on the system. If you are
running the Oracle Installer as a different user or on a different host,
you may need to use the xhost command to ensure that host/user
has permission to write to your display.


The log(s) can be found here: /tmp/OraInstall2018-05-17_11-01-25AM.

Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
Instead of setting DISPLAY to erpdevelopmentdb:0.0,we have set it to export DISPLAY=:0

As root:

[root@erpdevelopmentdb ~]# export DISPLAY=:0
[root@erpdevelopmentdb ~]# xhost +
access control disabled, clients can connect from any host

[root@erpdevelopmentdb ~]# su - obiee
Last login: Thu May 17 11:00:26 IST 2018 on pts/0

 [obiee@erpdevelopmentdb ~]$ export DISPLAY=:0
[obiee@erpdevelopmentdb ~]$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-17_11-05-43AM/launcher2018-05-17_11-05-43AM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 8901 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-17_11-05-43AM
Log: /tmp/OraInstall2018-05-17_11-05-43AM/install2018-05-17_11-05-43AM.log


and the error was fixed.what would be the difference between setting DISPLAY to erpdevelopmentdb:0.0 and setting DISPLAY to :0

Thanks for the support
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
Dear Erman,

Installation was unable to move further,not sure if it was hanged,however i was running this in VNC

[root@erpdevelopmentdb ~]# export DISPLAY=:0
[root@erpdevelopmentdb ~]# xhost +
access control disabled, clients can connect from any host
[root@erpdevelopmentdb ~]# su - obiee
Last login: Thu May 17 11:00:26 IST 2018 on pts/0
[obiee@erpdevelopmentdb ~]$ . bienv.sh
[obiee@erpdevelopmentdb ~]$ export DISPLAY=:0
[obiee@erpdevelopmentdb ~]$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-17_11-05-43AM/launcher2018-05-17_11-05-43AM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 8901 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-17_11-05-43AM
Log: /tmp/OraInstall2018-05-17_11-05-43AM/install2018-05-17_11-05-43AM.log.

Attached the logfile for review.could you please review and let us know if we are missing some thing

Again,thanks for all the support
install.zip

Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
There is no errors in the log file that you send me.

As for your DISPLAY related question;

DISPLAY=hostname:displaynumber.screennumber

The hostname specifies the name of the machine to which the display is physically connected. If the hostname is not given, the most efficient way of communicating to a server on the same machine will be used.

The problem you encounter when you set your DISPLAY to hostname:0.0 , is related with your X server configuration.

Unless you have reconfigured your X startup, your X server won't be listening for network connections.
If need TCP, then modify the file /etc/X11/gdm/gdm.conf , set DisallowTCP=false and restart your X server.

So when you add hostname to your DISPLAY env variable (ex: hostname:0.0), it means your clients will connect to your X using TCP..

On the other hand; when you omit "hostname", means that the client should connect using UNIX domain sockets (IPC). -- which is allowed by defaut.

Well.. Setting DISPLAY to :0.0 (without hostname) is okay.. You are already in the same machine where your X runs..You go with that...
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
Thanks erman for letting us understand the things in a clear way.It was unable to launch the GUI screens and the log says "host: erpdevelopmentdb.ttd.com] [nwaddr: 172.16.112.75] [tid: 1] [userId: obiee] [ecid: 0000MDgqcBFBt1GqywaeMG1QzIM1000001,0] Waiting for presentation module to launch." for almost 30min
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
This is "not an error" Satish. It is just waiting there. Waiting presentation module to launch
Probably, the error is in somewhere else.. (probably, in some other log file)
probably, the thing that launches presentation module got errors, or it just hangs..

What error you encounter in your installation screen?
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

satish
Dear Erman,

Thanks for the update.

Screen does nt appear.Below is the snippet

[obiee@erpdevelopmentdb ~]$ export DISPLAY=:0.0
[obiee@erpdevelopmentdb ~]$ java -jar fmw_12.2.1.2.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2018-05-17_12-39-25PM/launcher2018-05-17_12-39-25PM.log.
Extracting the installer . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2196.669 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 131071 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 19799 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-05-17_12-39-25PM
Log: /tmp/OraInstall2018-05-17_12-39-25PM/install2018-05-17_12-39-25PM.log


no further actions
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
1)Which document are you following for the installation?

2)Did you set your DISPLAY correctly? I mean -> if you set your DISPLAY to wrong X interface, then you might not see the installation screen. That is, those screens will be opened in a different X windows then yours.. (probably, your issue is this one) .. As your DISPLAY is wrong, the installation screens are opening in a different X(VNC ) interface than yours.. So you cannot see them.. Check your DISPLAY accordingly.
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

Satish
Thanks for the update erman. We have killed all the vnc sessions and started a fresh vnc,then ran the same installation command and we are able to see the gui screens
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

ErmanArslansOracleBlog
Administrator
Good! So it was related with X / DISPLAY Setting as you see.. The installation screens were directed to wrong screens.
So when you killed all the vnc sessions and opened a new one, probably, your DISPLAY setting and vnc port became aligned ,and the problem dissapeared.
Reply | Threaded
Open this post in threaded view
|

Re: installaing weblogic 12c

Satish
Thanks for all the support erman.