Bug #46235 Installation of agent fails on Solaris 9
Submitted: 16 Jul 2009 16:36 Modified: 21 Aug 2009 9:24
Reporter: Leandro Morgado Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.0.5.7153 OS:Solaris ((Solaris 9 SPARC 64bit))
Assigned to: Andy Bang CPU Architecture:Any

[16 Jul 2009 16:36] Leandro Morgado
Description:
Agent fails to install on Solaris 9 SPARC 64 bit:

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running post-install step. Installation may not complete
correctly
Error running /dir/app/enterprise/agent/bin/mysql-monitor-agent
--defaults-file=/dir/app/enterprise/agent/etc/mysql-monitor-agent.ini
--plugins=agent --agent-generate-uuid=true : 2009-07-14 11:21:59: (critical)
Conversion from character set '646' to 'UTF-8' is not supported
2009-07-14 11:21:59: (message) Initiating shutdown.
2009-07-14 11:21:59: (critical) shutting down normally
Press [Enter] to continue : 

hostname[108]% pkginfo -x SUNWuiu8
SUNWuiu8 Iconv modules for UTF-8 Locale
(sparc) 1.5,REV=2002.02.02.16.55

How to repeat:
Try the installation. I've heard similar reports about this on Solaris 10, due to an old version of Iconv.

Suggested fix:
Implement a package verifier on the installer. If a required package is not installed on the server or is a lower version than necessary, fail to start the install process and give an error message similar to:

"This SUNWuiu8 REV=200X.foobar or higher needs to installed in order to proceed"
[17 Jul 2009 23:55] Andy Bang
Probably related to http://bugs.mysql.com/bug.php?id=41445.
[22 Jul 2009 9:41] MC Brown
For Solaris 9 SPARC you want to check for this patch: 

113896 (113896-07 is the oldest)

This patch has also been obsoleted by later patches which may have been installed instead, so probably you should also look for: 

113061-01 
114274-02

This contains the fixes that address the issue. 

For x86, the base patch is 113897, with the patches that may supercede this one as 113062 and 114275.
[23 Jul 2009 10:01] BitRock Merlin
The installer could also check the Solaris revision but it currently checks the SUNWuiu8 version package that is installed on the system. We think that we should check the SUNWuiu8 revision during the installation so the installer can thrown an specific error to the user can update the SUNWuiu8 package to a fixed version. We have tested on our machines and it is working correctly using the following version:

$ pkginfo -x SUNWuiu8
SUNWuiu8  Iconv modules for UTF-8 Locale
         (sparc) 1.5,REV=2004.11.24.10.12

However, regarding this case, it does not work properly using the following version.

$ pkginfo -x SUNWuiu8
SUNWuiu8 Iconv modules for UTF-8 Locale
         (sparc) 1.5,REV=2002.02.02.16.55

Could you specify the SUNWuiu8 revision which include the fix?
[27 Jul 2009 11:37] BitRock Merlin
Patch sent to Keith.
[30 Jul 2009 15:47] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.1.0.1082.
[21 Aug 2009 9:24] MC Brown
A note has been added to the 2.1 changelog: 

Installation of MySQL Enterprise Monitor Agent on Solaris 8 or Solaris 9 using the SPARC platform could fail if the latest patches of the SUNW UTF-8 and iconv libraries were not available. This prevented the installer from operating correctly, although the agent would work correctly. The installer for the agent has now been updated to avoid this issue