Showing posts with label x11. Show all posts
Showing posts with label x11. Show all posts

Thursday, April 30, 2015

X connection to localhost:10.0 broken - for Oracle silent command line installs!?

As my ora12asm project on github ( https://github.com/dgapitts/ora12asm ), I am working on a vagrant build out of small oracle 12c environment running with ASM (please see XXX for further details).

Anyway I recent switched laptops and started hitting 'X connection to localhost:10.0 broken'

[oragrid@ora12asm grid]$ ./runInstaller -silent -ignorePrereq -waitForCompletion -responseFile /vagrant/oragrid_asm.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 20194 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 1023 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-03_07-52-14AM. Please wait ...X connection to localhost:10.0 broken (explicit kill or server shutdown).

This was a bit of surprise as this is a fully scripted command-line install with response file!?

However the solution was simple:

[oragrid@ora12asm grid]$ export DISPLAY=localhost:0.0


Monday, March 23, 2015

HammerDB setup issues - libXss.so.1 and x11 fonts

A couple of problems (missing x11 libraries and fonts) when installing HammerDB to test my Oracle 12c Centos 6 / RHEL 6 server i.e. not really setup with GUI access in mind.

I setup x11 forwarding and tested in via xclock first.


My first hammerdb error was


[oracle@ora12c66 hammerora-2.6]$ ./hammerora.tcl
wish8.5: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory


I got passed this error by installing


sudo yum install libXScrnSaver


The next problem was


[oracle@ora12c66 hammerora-2.6]$ ./hammerora.tcl
Error in startup script: failed to allocate font due to internal system font engine problem
   (default value for "-font" in widget ".title")
   invoked from within
"label .title -text " Hammerora v2.6 by smshaw@users.sourceforge.net "  -font $mid  -bg $gbg  -fg red3  -padx 0"
   (in namespace eval "::LoadingProgressMeter" script line 481)
   invoked from within
"namespace eval LoadingProgressMeter {
   set max 14


   wm title            . "Loading Hammerora"
   wm protocol         . WM_DELETE_WINDOW {#Do no..."
   (file "./hammerora.tcl" line 53)

I got passed this by installing:


sudo yum install xorg-x11-fonts*

and voila … I am into the HammerDB GUI :)