我正在尝试在一台干净的 Ubuntu 14.04 服务器上从头安装 Landscape Dedicated Server 供个人使用。添加 ppa-repository 并更新 apt 后,我使用 apt install Landscape-server-quickstart 安装它。一切进展顺利,直到:
* Stopping Landscape standalone appserver 1 [ OK ]
* Stopping Landscape standalone async-frontend 1 [ OK ]
* Stopping Landscape standalone job-handler 1 [ OK ]
* Stopping Landscape standalone message-server 1 [ OK ]
* Stopping Landscape standalone pingserver 1 [ OK ]
* Stopping Landscape standalone api 1 [ OK ]
* Stopping Landscape standalone package-upload 1 [ OK ]
* Stopping Landscape standalone juju-sync 1 [ OK ]
WARNING: this may take some time
Site 000-default disabled.
Tuning postgresql for this machine...
* No PostgreSQL clusters exist; see "man pg_createcluster"
cp: cannot stat '/etc/postgresql/9.3/main/postgresql.conf': No such file or directory
dpkg: error processing package landscape-server-quickstart (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Errors were encountered while processing:
landscape-server-quickstart
E: Sub-process /usr/bin/dpkg returned an error code (1)
我试了好几次,但都没用。有人有解决办法吗?
答案1
QuickStart 大概是针对最新版测试的。请先尝试完全更新您的全新 LTS 安装,这样您就可以从 14.04.0 升级到 14.04.3。
答案2
当我运行个人用途的景观服务器(景观专用服务器)时,我在让 QuickStart 正常工作时遇到了很大困难。
我运气好多了手动安装比快速启动好多了。我认为手动安装可以让一切按应有的方式运行,而快速启动不能保证 100% 正常工作。
各个版本的说明略有不同,因此将关键说明复制到这里是没用的 - 请参考手动安装的链接。