2016-12-03 37 views
0

我是Alfresco的新手,我试图按照安装指南在我的debian服务器(通过ssh访问)中安装露天游戏。但是,安装停止,并显示我此错误:由于编码不匹配,无法进行户外安装

Error: There has been an error. 
initdb.bin: encoding mismatch 
The encoding you selected (UTF8) and the encoding that the selected 
locale uses (LATIN1) do not match. This would lead to misbehavior in 
various character string processing functions. Rerun initdb.bin and either 
do not specify an encoding explicitly, or choose a matching combination. 

我试图更新服务器的语言环境,但仍存在问题。我该如何解决?

+0

当您运行postgresql initdb时,您设置了哪些语言环境?你现在设置了哪些区域? – Gagravarr

+0

我没有运行任何postgresql initdb。我所做的就是运行安装程序,它并没有告诉我任何有关postgresql除端口以外的问题。我是否必须在安装Alfresco之前安装postgresql?在我的debian服务器上设置的语言环境是en_US。 – ejandra

+0

您正在运行哪个版本的安装程序? –

回答

1

我已经成功地通过执行以下步骤安装它:

  1. 注释掉Send_ENV在/ etc/SSH/ssh_config中的变量在本地机器和Accept_ENV在/ etc/SSH/sshd_config中的变量在服务器。
  2. 编辑/etc/locale.gen以取消注释en_US.UTF-8。
  3. Ran locale-gen
  4. 编辑/etc/locale.conf并添加了LANG = en_US.UTF-8。
  5. 成功安装露天。
相关问题