我使用统一安装程序安装了Plone。
我尝试使用以下方法启动plone:
plone@localhost [zeocluster]# ./bin/plonectl start
zeoserver: .
daemon process started, pid=6738
client1: .
daemon process started, pid=6743
client2: .
daemon process started, pid=6756
当我检查状态时,我收到以下信息:
plone@localhost [zeocluster]# ./bin/plonectl start
zeoserver: .
daemon process started, pid=6738
client1: .
daemon process started, pid=6743
client2: .
daemon process started, pid=6756
当我尝试在fg中运行client1时,得到以下响应。
plone@localhost [zeocluster]# ./bin/client1 fg
2015-07-14 03:57:35 INFO ZServer HTTP server started at Tue Jul 14 03:57:35 2015
Hostname: 0.0.0.0
Port: 8080
2015-07-14 03:57:35 INFO Zope Set effective user to "plone_daemon"
2015-07-14 03:57:35 ERROR Application Could not import Products.ATContentTypes
.......
......
File "/usr/local/Plone/Python-2.7/lib/python2.7/locale.py", line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
即使我试图找到本地使用:
plone@localhost [bin]# printenv LANG
en_US.UTF-8
我的buildout.cfg也有以下值:
environment-vars =
LC_ALL en_US.UTF-8
LANG en_US.UTF-8
有人可以帮助我解决问题。