Bug #29256 Agent install for AIX 5.2 asumes an Xwindows environment
Submitted: 21 Jun 2007 0:20 Modified: 26 Jun 2007 21:42
Reporter: Omer Barnir (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:1.1.1.5780 OS:IBM AIX (5.2)
Assigned to: BitRock Merlin CPU Architecture:Any

[21 Jun 2007 0:20] Omer Barnir
Description:
When installing the agent from the command line by typing 
   bash-2.05a$ ./mysqlserviceagent-1.1.1.5780-aix5.2-powerpc-32bit-installer.bin

The following error is returned:
  connect qa-srv-a port 6000: Connection refused
  X connection to localhost:10.0 broken (explicit kill or server shutdown).
  bash-2.05a$

Typing: 

./mysqlserviceagent-1.1.1.5780-aix5.2-powerpc-32bit-installer.bin --help

Returns:

MySQL Network Service Agent 1.1.1.5780
Usage:
 --help                         Display the list of valid options
 --version                      Display product information
 --optionfile <optionfile>      Installation option file
                                Default:
 --mode <mode>                  Installation mode
                                Default: xwindow
                                Allowed: xwindow text unattended

>>> Note the above default is 'xwindows'.

When specifically running the install with --node text the installer proceeds as expected.

How to repeat:
Run the above install command

Suggested fix:
The installer should have a default setting of 'text'
[21 Jun 2007 9:47] BitRock Merlin
I think this error could be related to a wrong environment configuration. What is the content of the DISPLAY enviroment variable? Is it possible to execute other graphical applications (xterm, xcalc...) under the same shell?
[21 Jun 2007 12:52] Omer Barnir
This was observed when ssh'ing from a windows box (using a Putty clinet). so there is no graphical interface.
[26 Jun 2007 21:42] Omer Barnir
The problem was caused by a wrong setting in the environment having the $DISPLAY st to localhost:11.0. When un-setting the environment variable (as exist on other machines) the problem was not observed and the installer ran fine.

Closing the bug.