0

I want to install oracle weblogic server. I already downloaded it and it's fmw_12.1.3.0.0_wls.jar. In order to install it I'm instructed to run java -jar fmw_12.1.3.0.0_wls.jar. But when I run it I get

(...)X-Server access is denied on host
[Fatal Error] DISPLAY variable set incorrectly: :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.

Logs are located here: /tmp/OraInstall2019-03-16_10-36-23PM.

The log's content that's given in the last line of the output /tmp/OraInstall2019-03-16_10-36-23PM is:

" ============================================================================                                     
" Netrw Directory Listing                                        (netrw v149)
"   /tmp/OraInstall2019-03-16_10-36-23PM
"   Sorted by      name
"   Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
"   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:exec
" ============================================================================
../
./
oracle_common/
oui/
install6237509111574988253.sh*
install2019-03-16_10-36-23PM.log
launcher2019-03-16_10-36-23PM.log
.swp

My system is: CentOS Linux release 7.6.1810 (Core) My java is: Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

I'm trying to perform this installation locally. I'm confused because every solution I came across assumed that I was logging via ssh or vnc server while I'm definitely not. What I tried:

  1. set $JAVA_HOME to point to my jdk directory.
  2. unset $ORACLE_HOME that was created for the database I have installed.
  3. trying to set DISPLAY values to some other number than 0 (I know its stupid but whatever).
  4. reinstall java

I'm thinking if it might be the problem related with graphic drivers. Might it be that the defaults that were installed with X11 are somehow wrong?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.