Horde 网络邮件安装 - ‘未找到网络邮件安装’

Horde 网络邮件安装 - ‘未找到网络邮件安装’

我正在尝试在我的 Debian 服务器上安装 Horde Webmail,但遇到了错误。我按照手册进行操作http://www.horde.org/apps/webmail/docs/INSTALL。通过 pear 安装后,我应该运行webmail-install脚本,但却找不到它。

这是我的安装日志

mailserver:/var/www/horde# pear run-scripts horde/horde_role
Including external post-installation script "/usr/share/php/PEAR/Installer/Role/Horde/Role.php" - any errors are in this script
Inclusion succeeded
running post-install script "Horde_Role_postinstall->init()"
init succeeded
Filesystem location for the base Horde application : /var/www/horde/
Configuration successfully saved to PEAR config.
Install scripts complete

mailserver:/var/www/horde# pear install -a -B horde/webmail
Package "pear.horde.org/horde" dependency "pear.horde.org/Horde_Rpc" has no releases
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"
Failed to download pear/Date_Holidays within preferred state "stable", latest release is version 0.21.8, stability "alpha", use "channel://pear.php.net/Date_Holidays-0.21.8" to install
Failed to download pear/Text_CAPTCHA within preferred state "stable", latest release is version 0.4.5, stability "alpha", use "channel://pear.php.net/Text_CAPTCHA-0.4.5" to install
Failed to download pear/Text_LanguageDetect within preferred state "stable", latest release is version 0.3.0, stability "alpha", use "channel://pear.php.net/Text_LanguageDetect-0.3.0" to install
Unknown remote channel: pear.phpunit.de
horde/horde requires package "horde/Horde_Rpc" (version >= 2.0.0, version <= 3.0.0alpha1, excluded versions: 3.0.0alpha1)
horde/webmail requires package "horde/horde" (version >= 5.0.3, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/imp requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/ingo requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/kronolith requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/kronolith can optionally use package "pear/Date_Holidays" (version >= 0.21.0)
horde/mnemo requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/nag requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/turba requires package "horde/horde" (version >= 5.0.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1)
horde/Horde_Core can optionally use package "pear/Text_CAPTCHA"
horde/Horde_Core can optionally use package "pear/Text_LanguageDetect"
horde/Horde_Test requires package "channel://pear.phpunit.de/PHPUnit" (version >= 3.5.0)
downloading content-2.0.1.tgz ...
Starting to download content-2.0.1.tgz (21,221 bytes)
........done: 21,221 bytes
downloading timeobjects-2.0.2.tgz ...
Starting to download timeobjects-2.0.2.tgz (297,260 bytes)
...done: 297,260 bytes
downloading Horde_Core-2.1.7.tgz ...
Starting to download Horde_Core-2.1.7.tgz (1,395,146 bytes)
...done: 1,395,146 bytes
downloading Horde_Form-2.0.3.tgz ...
Starting to download Horde_Form-2.0.3.tgz (191,659 bytes)
...done: 191,659 bytes
downloading Horde_Timezone-1.0.2.tgz ...
Starting to download Horde_Timezone-1.0.2.tgz (20,042 bytes)
...done: 20,042 bytes
install ok: channel://pear.horde.org/Horde_Core-2.1.7
install ok: channel://pear.horde.org/Horde_Timezone-1.0.2
install ok: channel://pear.horde.org/content-2.0.1
install ok: channel://pear.horde.org/timeobjects-2.0.2
install ok: channel://pear.horde.org/Horde_Form-2.0.3

mailserver:/var/www/horde# webmail-install
-bash: webmail-install: command not found

有人知道问题可能出在哪里以及如何解决吗?提前致谢。

答案1

为了运行一个程序,它必须在你的$PATH,或者你必须指定完整路径到程序。
指定脚本的完整路径webmail-install,它就会起作用。

答案2

抱歉给您带来不便,可能是 horde.org 方面出了点问题。它整天都开着,有时关着,有些东西没有正确下载。运行后pear 安装 -a -B horde/webmail百万次,webmail 安装脚本下载成功。

相关内容