When initialising a new database there are errors thrown during locale checking - the database is initialized correctly so these errors appear to be benign
Error 1
/usr/local/cloudberrydb/bin/gpinitsystem: line 708: [1: command not found
relates to line
if [ `$LOCALE -a |$GREP -ic $(NORMALIZE_CODESET_IN_LOCALE $LOCALE_SETTING)` -eq 0 ] \
&& [`$LOCALE -a |$GREP -ic $LOCALE_SETTING` -eq 0];then
Error 2
/usr/local/cloudberrydb/bin/gpinitsystem: line 721: [1: command not found
relates to line
Cloudberry Database version
1.5.3
What happened
When initialising a new database there are errors thrown during locale checking - the database is initialized correctly so these errors appear to be benign Error 1
/usr/local/cloudberrydb/bin/gpinitsystem: line 708: [1: command not found
relates to lineError 2
/usr/local/cloudberrydb/bin/gpinitsystem: line 721: [1: command not found
relates to lineWhat you think should happen instead
No response
How to reproduce
Comment used was
gpinitsystem -a -p $GPHOME/postgresql.conf -c $GPHOME/gpinitsystem_config -h $GPHOME/hostfile_gpinitsystem -l /gpadminlogs --mirror-mode=spread --su_password=$SUPERUSER_PASSWORD --locale=C.UTF-8
Operating System
Ubuntu 18.04
Anything else
Happens every time
Are you willing to submit PR?
Code of Conduct