cancel
Showing results for 
Search instead for 
Did you mean: 

PPCLE exception workaround while registering PEM agent

 Example of the issue that may arise during the registeration of PEM Agent on IBM Power:

 

[root@power4-qmg3 bin]./pemworker --register-agent --pem-user postgres --pem-port 5432 --pem-server 172.19.11.230 --display-name ppcle
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)

 

 
Solution for this is mentioned below:
 

[root@power4-qmg3 bin]LC_ALL="en_US.UTF-8" ./pemworker --register-agent --pem-user enterprisedb --pem-port 5444 --pem-server 172.19.11.230 --display-name ppcle
Postgres Enterprise Manager Agent registered successfully!

[root@power4-qmg3 bin]# systemctl restart pemagent

 
The pem worker command should add LC_ALL="en_US.UTF-8" to resolve this kind of issue.
Version history
Revision #:
1 of 1
Last update:
a week ago
Updated by:
 
Labels (2)
Contributors