Bug #32618 agent and server install x86_64 does not show message for wrong option
Submitted: 22 Nov 2007 11:51 Modified: 29 Feb 2008 16:16
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:1.3.0.8220 OS:Linux (x86_64)
Assigned to: BitRock Merlin CPU Architecture:Any

[22 Nov 2007 11:51] Carsten Segieth
Description:
Calling the x86_64 installers with a wrong option does not show the message "There has been an error ...".
Calling the corresponding x86(32) installer shows the message:

$ 1.3.0.8220/service-manager/mysqlmonitor-1.3.0.8220-linux-x86_64-installer.bin -hugo
$ 1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86_64-glibc2.3-installer.bin -hugo
$ 1.3.0.8220/service-manager/mysqlmonitor-1.3.0.8220-linux-x86-installer.bin -hugo
There has been an error.
Expected option but got "-hugo". Options start with a leading "--" prefix
Use --help to get a list of valid options
$ 1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86-glibc2.3-installer.bin -hugo
There has been an error.
Expected option but got "-hugo". Options start with a leading "--" prefix
Use --help to get a list of valid options
$
$ file 1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86-glibc2.3-installer.bin
1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86-glibc2.3-installer.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically
linked, stripped
$ file 1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86_64-glibc2.3-installer.bin
1.3.0.8044/agents/mysqlserviceagent-1.3.0.8044-linux-x86_64-glibc2.3-installer.bin: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux
2.6.0, dynamically linked (uses shared libs), stripped

Appears both on a "physical" server and a VMware system.

How to repeat:
<INSTALLER> -hugo

Suggested fix:
show message about wrong option also on x86_64 systems
[15 Feb 2008 18:56] BitRock Merlin
Patch sent to Keith.
[26 Feb 2008 20:41] Keith Russell
Patch applied in build revisions => 8933
[29 Feb 2008 12:21] Carsten Segieth
tested OK for both agent and server in 1.3.0.8939
[29 Feb 2008 16:16] Peter Lavin
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.
Added to the changelog for version 1.3.