![[email protected] 无法加载,但 [email protected] 无法加载 - Linux 启动时两者都需要吗?](https://linux22.com/image/219124/%5Bemail%20protected%5D%20%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%EF%BC%8C%E4%BD%86%20%5Bemail%20protected%5D%20%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%20-%20Linux%20%E5%90%AF%E5%8A%A8%E6%97%B6%E4%B8%A4%E8%80%85%E9%83%BD%E9%9C%80%E8%A6%81%E5%90%97%EF%BC%9F.png)
答案1
通过运行systemctl status postgresql*
我发现 lc 变量的值设置错误。我将它们更改为 en_US.UTF-8
lc_monetary = 'ar.UTF-8' # locale for monetary formatting
lc_numeric = 'ar.UTF-8' # locale for number formatting
lc_time = 'ar.UTF-8' # locale for time formatting
在文件中 /etc/postgresql/13/main/postgresql.conf
然后我systemctl restart postgresql*
跑
systemctl restart postgresql*