chalie001
asked on
error installing oracle software
hi am having this error when installing oracle software
java -jar fmw_12.2.1.4.0_infrastructure.jar
Launcher log file is /var/tmp/OraInstall2021-02-26_11-31-27PM/launcher2021-02-26_11-31-27PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2709 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 2833 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 159688 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
n
You have confirmed that the product cannot be installed on this platform.
Quitting the installation.
The log is located here: /var/tmp/OraInstall2021-02-26_11-31-27PM/launcher2021-02-26_11-31-27PM.log.
username@wlsvmfrm:/u01/install33$ su root
Password:
root@wlsvmfrm:/u01/install33# echo $DISPLAY
localhost:10.0
root@wlsvmfrm:/u01/install33# xhost +
bash: xhost: command not found
root@wlsvmfrm:/u01/install33# xhost+
bash: xhost+: command not found
root@wlsvmfrm:/u01/install33# xhost +
bash: xhost: command not found
root@wlsvmfrm:/u01/install33#
java -jar fmw_12.2.1.4.0_infrastructure.jar
Launcher log file is /var/tmp/OraInstall2021-02-26_11-31-27PM/launcher2021-02-26_11-31-27PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2709 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 2833 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 159688 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
n
You have confirmed that the product cannot be installed on this platform.
Quitting the installation.
The log is located here: /var/tmp/OraInstall2021-02-26_11-31-27PM/launcher2021-02-26_11-31-27PM.log.
username@wlsvmfrm:/u01/install33$ su root
Password:
root@wlsvmfrm:/u01/install33# echo $DISPLAY
localhost:10.0
root@wlsvmfrm:/u01/install33# xhost +
bash: xhost: command not found
root@wlsvmfrm:/u01/install33# xhost+
bash: xhost+: command not found
root@wlsvmfrm:/u01/install33# xhost +
bash: xhost: command not found
root@wlsvmfrm:/u01/install33#
It looks like you have some prerequisites needed before it will install... What does the documentation say?
How are you connecting to wlsvmfrm?
If' you'd ssh'd into it, you'll need XWindows set up to display back to your local machine from the remote..
DISPLAY is set up to localhost so it is trying to launch a window on the remote server not your local machine.
Before you run the installer, just use a simple X app like xeyes from that server. If you see the eyes, the install should work.
From the shell prompt, just type: xeyes
If' you'd ssh'd into it, you'll need XWindows set up to display back to your local machine from the remote..
DISPLAY is set up to localhost so it is trying to launch a window on the remote server not your local machine.
Before you run the installer, just use a simple X app like xeyes from that server. If you see the eyes, the install should work.
From the shell prompt, just type: xeyes
You'll probably need the -X parameter to ssh (forward X to client)
The Failed message for "Checking monitor: must be configured to display at least 256 colors" is not a problem and normal.
As this is the only one failed then you should press "y" on the Continue question.
Normally I also install package "xterm" and first do a: xterm &
and check if the graphical xterm terminal comes up correctly.
As this is the only one failed then you should press "y" on the Continue question.
Normally I also install package "xterm" and first do a: xterm &
and check if the graphical xterm terminal comes up correctly.
>>Normally I also install package "xterm" and first do a: xterm &
xeyes normally comes installed so you don't have to install any other packages.
xeyes normally comes installed so you don't have to install any other packages.
ASKER
How do you install xterm
It depends on which Linux distrubution you are using.
If it's Red Hat or Oracle Linux then via:
If it's Red Hat or Oracle Linux then via:
yum install xterm
But for this the server needs to have a connection to a respository, either via the Internet or a local one.
Simple fix, ssh into machine to do your install.
ASKER
am in solaris
All Solaris systems provide native sshd running, so you'll use an ssh client to connect, then complete your install.
ASKER
i did
sudo pkg install -r openssh
Password:
No updates necessary for this image.
sudo pkg install -r openssh
Password:
No updates necessary for this image.
ASKER
how do i use an ssh client to connect
If you're not already using ssh, why do you need to use it?
ASKER
how do i fix the error
The installer is graphical so you would need X-Windows.
Could you tell how you are currently connecting to the server ?
If this is a terminal then a graphical screen is not possible.
You could also install without a graphical screen by creating an input file.
I can try to sort this out but I would need to know some parameters like the location of oraInventory, Oracle Home, the group name, e.g. oinstall etc.
Could you tell how you are currently connecting to the server ?
If this is a terminal then a graphical screen is not possible.
You could also install without a graphical screen by creating an input file.
I can try to sort this out but I would need to know some parameters like the location of oraInventory, Oracle Home, the group name, e.g. oinstall etc.
Have we established if you even have X installed? Someone mentioned xeyes, which is normally installed with X
What does
give?
What does
which xeyes
give?
ASKER
am using mobi
-bash-4.4$ which eyes
which: no eyes in (/u01/install33/jdk1.8.0_202/bin:/usr/bin:/bin:/usr/sbin:/sbin)
mobixterm
-bash-4.4$ which eyes
which: no eyes in (/u01/install33/jdk1.8.0_202/bin:/usr/bin:/bin:/usr/sbin:/sbin)
mobixterm
xeyes not eyes
You probably mean MobaXterm.
That's working fine with X-sessions as the X-server is integrated in the program.
You can create a new session, SSH, fill in the IP-address or DNS name of the server
In the Advanced SSH settings, X11-Forwarding needs to be enabled and the X-server needs to be started.
That's working fine with X-sessions as the X-server is integrated in the program.
You can create a new session, SSH, fill in the IP-address or DNS name of the server
In the Advanced SSH settings, X11-Forwarding needs to be enabled and the X-server needs to be started.
ASKER
how do i In the Advanced SSH settings, X11-Forwarding needs to be enabled and the X-server needs to be started.
-bash-4.4$ which xeyes
which: no xeyes in (/u01/install33/jdk1.8.0_202/bin:/usr/bin:/bin:/usr/sbin:/sbi n)
-bash-4.4$ which xeyes
which: no xeyes in (/u01/install33/jdk1.8.0_202/bin:/usr/bin:/bin:/usr/sbin:/sbi n)
ASKER
-bash-4.4$ echo $DISPLAY
localhost:10.0
localhost:10.0
I'm not convinced you've got X installed at all. I'm not really familiar with Solaris
ASKER
how do i install it
I suppose having $DISPLAY set might suggest X is installed but i'm not certain about that. As for installing software, you need to check the Solaris docs as i don't know its package manager
You don't need to install the complete X-window system, only certain X libraries.
Did you already install all the prerequisite packages as described here.
https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/sysrs/system-requirements-and-specifications.html#GUID-570BD07A-BC0C-408E-847E-93315A13C649
Could you maybe tell which version of Solaris you are using ?
Did you already install all the prerequisite packages as described here.
https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/sysrs/system-requirements-and-specifications.html#GUID-570BD07A-BC0C-408E-847E-93315A13C649
Could you maybe tell which version of Solaris you are using ?
You asked, "how do i use an ssh client to connect".
Likely best to search for a guide about this... and... most simple way...
Then input your root password.
Using ssh may circumvent the problem.
Note: If you're running a headless server (no graphics card or display) the trying to use FMW (which appears to require either a real or fake display), then you'll have a new set of work required for your installation to succeed.
If FMW requires GUI interaction (likely what the failing test above verifies), then you'll refer to Oracle docs for how to setup FMW on a headless server.
Likely this will require setting up a Virtual Frame Buffer along with X11, then you'll have to export X11 to some physical device to interact with FMW.
Fastest + most correct fix for this problem (if you're installing on a headless server) might be to open a support ticket with Oracle, as they likely have a recipe (set of known steps) to do this type of setup.
Likely best to search for a guide about this... and... most simple way...
ssh root@$host
Then input your root password.
Using ssh may circumvent the problem.
Note: If you're running a headless server (no graphics card or display) the trying to use FMW (which appears to require either a real or fake display), then you'll have a new set of work required for your installation to succeed.
If FMW requires GUI interaction (likely what the failing test above verifies), then you'll refer to Oracle docs for how to setup FMW on a headless server.
Likely this will require setting up a Virtual Frame Buffer along with X11, then you'll have to export X11 to some physical device to interact with FMW.
Fastest + most correct fix for this problem (if you're installing on a headless server) might be to open a support ticket with Oracle, as they likely have a recipe (set of known steps) to do this type of setup.
ASKER
SunOS wlsvmfrm 5.11 11.4.0.15.0 i86pc i386 i86pc
ASKER
how do i install this
consolidation/X/X-incorporation@11.4,5.11-11.4.0.0.1.14.0:2018
consolidation/cde/cde-incorporation@11.4,5.11-11.4.0.0.1.14.0:2018
system/library/c++-runtime@11.4,5.11-11.4.0.0.1.4.0:2018
developer/assembler@11.4,5.11-11.4.0.0.1.4.0:2018
x11/library/libxp@1.0.3,5.11-11.4.0.0.1.14.0:2018
consolidation/X/X-incorporation@11.4,5.11-11.4.0.0.1.14.0:2018
consolidation/cde/cde-incorporation@11.4,5.11-11.4.0.0.1.14.0:2018
system/library/c++-runtime@11.4,5.11-11.4.0.0.1.4.0:2018
developer/assembler@11.4,5.11-11.4.0.0.1.4.0:2018
x11/library/libxp@1.0.3,5.11-11.4.0.0.1.14.0:2018
As root:
Please create a service user to do the installation (as an example):
groupadd -g 901 oinstall
groupadd -g 902 dba
useradd -u 901 -g oinstall -G dba -m oracle
passwd oracle
Create the installation location as root and set the correct ownership/group (as an example):
mkdir -p /u01/app/oracle
chown oracle:oinstall /u01/app/oracle
Login with SSH and user oracle
Check graphical terminal: xterm &
java -jar fmw_12.2.1.4.0_infrastruct ure.jar
Press y on the Continue question
pkg install consolidation/X/X-incorporation
pkg install consolidation/cde/cde-incorporation
pkg install system/library/c++-runtime
pkg install developer/assembler
pkg install x11/library/libxp
xterm can be installed via:pkg install terminal/xterm
Please create a service user to do the installation (as an example):
groupadd -g 901 oinstall
groupadd -g 902 dba
useradd -u 901 -g oinstall -G dba -m oracle
passwd oracle
Create the installation location as root and set the correct ownership/group (as an example):
mkdir -p /u01/app/oracle
chown oracle:oinstall /u01/app/oracle
Login with SSH and user oracle
Check graphical terminal: xterm &
java -jar fmw_12.2.1.4.0_infrastruct
Press y on the Continue question
Continue? (yes [y] / no [n]) [n]
y
You have confirmed that the product can be installed on this platform.
Continuing with the installation.
ASKER
i did
1/1 41/41 0.1/0.1 68.2k/s
PHASE ITEMS
Installing new actions 68/68
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
-bash-4.4$ sudo pkg install terminal/xterm
Packages to install: 4
Services to change: 2
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 4/4 1055/1055 13.1/13.1 499k/s
PHASE ITEMS
Installing new actions 1160/1160
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
-bash-4.4$ ls
fmw_12.2.1.4.0_fr_intelsolaris-2.zip fmw_12214_readme.html
fmw_12.2.1.4.0_fr_intelsolaris.bin jdk-8u202-solaris-x64.tar
fmw_12.2.1.4.0_infrastructure.jar jdk1.8.0_202
fmw_12.2.1.4.0_wls.jar
-bash-4.4$ java -jar fmw_12.2.1.4.0_infrastructure.jar
Launcher log file is /var/tmp/OraInstall2021-02-28_03-53-33PM/launcher2021-02-28_03-53-33PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2710 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 2573 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 150864 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
1/1 41/41 0.1/0.1 68.2k/s
PHASE ITEMS
Installing new actions 68/68
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
-bash-4.4$ sudo pkg install terminal/xterm
Packages to install: 4
Services to change: 2
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 4/4 1055/1055 13.1/13.1 499k/s
PHASE ITEMS
Installing new actions 1160/1160
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
-bash-4.4$ ls
fmw_12.2.1.4.0_fr_intelsolaris-2.zip fmw_12214_readme.html
fmw_12.2.1.4.0_fr_intelsolaris.bin jdk-8u202-solaris-x64.tar
fmw_12.2.1.4.0_infrastructure.jar jdk1.8.0_202
fmw_12.2.1.4.0_wls.jar
-bash-4.4$ java -jar fmw_12.2.1.4.0_infrastructure.jar
Launcher log file is /var/tmp/OraInstall2021-02-28_03-53-33PM/launcher2021-02-28_03-53-33PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2710 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 2573 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 150864 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
ASKER
sudo chown calapp:oinstall /u01/install33
-bash-4.4$ xterm &
[1] 1471
-bash-4.4$ java -jar fmw_12.2.1.4.0_wls.jar
Launcher log file is /var/tmp/OraInstall2021-02-28_04-09-00PM/launcher2021-02-28_04-09-00PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2710 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 1737 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 149323 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
n
You have confirmed that the product cannot be installed on this platform.
Quitting the installation.
The log is located here: /var/tmp/OraInstall2021-02-28_04-09-00PM/launcher2021-02-28_04-09-00PM.log.
-bash-4.4$ xterm &
[1] 1471
-bash-4.4$ java -jar fmw_12.2.1.4.0_wls.jar
Launcher log file is /var/tmp/OraInstall2021-02-28_04-09-00PM/launcher2021-02-28_04-09-00PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2710 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 1737 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed
Checking temp space: must be greater than 300 MB. Actual 149323 MB Passed
Some system prerequisite checks failed.
You must fulfill these requirements before continuing.
Continue? (yes [y] / no [n]) [n]
n
You have confirmed that the product cannot be installed on this platform.
Quitting the installation.
The log is located here: /var/tmp/OraInstall2021-02-28_04-09-00PM/launcher2021-02-28_04-09-00PM.log.
What IS this Oracle software - does it actually require a windowed environment or not?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
As explained earlier, it does not require a GUI but you need to execute the jar file with parameters at least once with a GUI.Sorry, i missed that, but this is the usual workaround on a headless box where graphical java classes can be loaded
java -Djava.awt.headless=true
So that should be tried. e.g.
java -Djava.awt.headless=true -jar fmw_12.2.1.4.0_infrastructure.jar
Try that please chalie001