Failure Due to Inconsistent Codes for Installing GaussDB During Manager Installation

When GaussDB is installed for the Manager, an error occurs prompting that the codes are inconsistent.The code set specified to the database is in UTF-8 format.
1.Use PuTTY to log in to the active management node as user root.
2.View the /var/log/Bigdata/omm/oms/install_oms.log file and check whether the log contains an error message indicating that the codes are inconsistent (gs_initdb:encoding mismatch):vi /var/log/Bigdata/omm/oms/install_oms.log
3.Run the locale command to view the LC_CTYPE parameter.
4.If a RadHat 6.X Linux OS is used, run the vi /etc/sysconfig/i18n command and set LANG to en_US.UTF-8 and SYSFONT to latarcyrheb-sun16. Save the configuration and exit.If a RadHat 7.X Linux OS is used, run the vi /etc/locale.conf command and set LANG to en_US.UTF-8 and SYSFONT to latarcyrheb-sun16. Save the configuration and exit.If a SuSE Linux OS is used, run the vi /etc/sysconfig/language command and set RC_LANG to en_US.UTF-8 . Save the configuration and exit.

Scroll to top