Bug #43890 HP/UX agent fails: (critical) Conversion from char set 'roman8' to 'UTF-8'...
Submitted: 26 Mar 2009 16:32 Modified: 11 Mar 2011 14:25
Reporter: Carsten Segieth Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S1 (Critical)
Version:2.1.0.1019 OS:HP/UX (11.23 IA64)
Assigned to: Jan Kneschke CPU Architecture:Any

[26 Mar 2009 16:32] Carsten Segieth
Description:
The agent fails to start on one HP UX 11.23 box (but works fine on an other!):

$ locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
$ bin/mysql-monitor-agent --defaults-file=$PWD/etc/no_ssl_quan.ini --log-level=debug
2009-03-26 17:00:05: (critical) Conversion from character set 'roman8' to 'UTF-8' is not supported
2009-03-26 17:00:05: (message) Initiating shutdown.
2009-03-26 17:00:05: (critical) shutting down normally

Changing the locale settings to 'univ.utf8' or 'de_DE.utf8' or other settings does not help.

How to repeat:
- install agent
- edit .ini file as this failed during setup with the same error
- start agent with commands shown above
[26 Mar 2009 16:45] Carsten Segieth
output of 'locale' is identical on 'rx2620a' and 'hpita2'.
[25 Jun 2009 14:48] Heidi Bergh-Hoff
The Roman8 mapping to ISO/IEC 10646-1:2000 is here:
http://www.kostis.net/charsets/hproman8.htm
[25 Jun 2009 15:02] Jan Kneschke
We have to check if the charset.alias file from glib is included in the install and if yes, have to set CHARSETALIASDIR= in the wrapper script to point to it.
[31 Jul 2009 15:52] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
Can't reproduce this on hpita2 nor rx2620a.
[25 Jan 2010 15:47] Enterprise Tools JIRA Robot
Carsten Segieth writes: 
reopened for update installer 2.1.1.1138:

When trying to update 2.1.0.1093 (GA) with 2.1.1.1138 the installer itself works fine, but later, when the agent is started it fails and does not write anything to the log file:

bin/mysql-monitor-agent --defaults-file /home/qauser/merlin/agent/2.1.0.1093/hpux11.23-ia64-64bit/rx2620a/etc/no_ssl_quan.ini &
2010-01-25 12:32:01: (critical) Conversion from character set 'roman8' to 'UTF-8' is not supported
2010-01-25 12:32:01: (message) Initiating shutdown, requested from chassis.c:1133
2010-01-25 12:32:01: (critical) shutting down normally

Tested twice on 'rx2620a' (where it fails), on hpita2 the same update installer (and installed agent) works fine.
[25 May 2010 15:10] Carsten Segieth
(still/again) seen with 2.1.2.1166 un rx2620a, with the same line :1133 as noted in my last comment.
[7 Jul 2010 8:23] Enterprise Tools JIRA Robot
Jan Kneschke writes: 
Looking deeper into the issue revealed that this is just a warning and may not be related to the actual "agent doesn't start".

The 2.2 agent prints:

    2010-07-07 09:35:03: (message) Initiating shutdown, requested from mysql-monitor-agent-cli.c:284

which relates to chassis_frontend_init_base_options() which does NOT log the error from g_option_context_parse().

A first patch to the chassis and the frontends moves the error-logging from chassis_frontend_* into the frontends itself. ... and should reveal the problem the g_option_* code has in this case.