主题: vps + lighttpd 1.4.20,安装iRedMail受阻

我用的是vps+lxadmin面板管理,已经装好lighttpd 1.4.20+mysql

1.按照教程,先同步系统时钟,执行完ntpdate 0.centos.pool.ntp.org,提示Can't adjust the time of day: Operation not permitted。

2.由于远程操作vps,根据我的理解放弃了yum那些步骤

3.照着http://code.google.com/p/iredmail/wiki/Installation#Exist_MySQL这里的操作,将conf/mysql的MYSQL_FRESH_INSTALLATION改成了NO,conf/httpd_php没有动

4.执行安装脚本,生成的config见下,输出结果是这样的

config:
export VMAIL_USER_HOME_DIR='/home/vmail'
export SIEVE_DIR='/home/vmail/sieve'
export BACKEND='MySQL'
export MYSQL_ROOT_PASSWD='XXXXXXXXXX'
export MYSQL_ADMIN_USER='vmailadmin'
export MYSQL_ADMIN_PW='XXXXXXXXXX'
export FIRST_DOMAIN='autocarspare.com'
export DOMAIN_ADMIN_NAME='postmaster'
export DOMAIN_ADMIN_PASSWD='XXXXXXXXXX'
export FIRST_USER='www'
export FIRST_USER_PASSWD='XXXXXXXXXX'
export ENABLE_SPF='YES'
export ENABLE_DKIM='YES'
export USE_MANAGESIEVE='YES'
export USE_PYSIEVED='YES'
export USE_POP3='YES'
export USE_POP3S='YES'
export USE_IMAP='YES'
export USE_IMAPS='YES'
export ENABLE_DOVECOT="YES"
export DOVECOT_PROTOCOLS=' pop3 pop3s imap imaps'
export ENABLE_DOVECOT_SSL="YES"
export USE_RCM='YES'
export DEFAULT_LANG='en_US'
export USE_PHPMYADMIN='YES'
export USE_POSTFIXADMIN='YES'
export USE_AWSTATS='YES'
export SITE_ADMIN_NAME='postmaster@autocarspare.com'
export MAIL_ALIAS_ROOT='XXXXXXXXXX@XXXXXXXXXX.com'

回复: vps + lighttpd 1.4.20,安装iRedMail受阻

输出结果
[42m< INFO >[0m Checking necessary package: dialog.i386...
[42m< INFO >[0m Check configuration file: /root/iRedMail-0.4.0/config...    Found.
[45m< Question >[0m Use it for mail server setting? [y|N][42m< INFO >[0m Use configuration file: /root/iRedMail-0.4.0/config for mail server setting.
[42m< INFO >[0m Installing package(s): httpd.i386 mod_ssl.i386 php.i386 php-imap.i386 php-gd.i386 php-mbstring.i386 libmcrypt.i386 php-mcrypt.i386 php-pear.noarch php-xml.i386 php-pecl-fileinfo.i386 php-eaccelerator.i386 php-mysql.i386 php-ldap.i386 postfix.i386 awstats.noarch mod_auth_mysql.i386 policyd.i386 cyrus-sasl.i386 cyrus-sasl-lib.i386 cyrus-sasl-plain.i386 cyrus-sasl-md5.i386 dovecot.i386 dovecot-sieve.i386 amavisd-new.i386 clamd.i386 clamav.i386 clamav-db.i386 perl-Mail-SPF.noarch perl-Mail-SPF-Query.noarch pysieved.noarch bzip2.i386 acl.i386 mailx.i386 patch.i386 crontabs.noarch dos2unix.i386
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* iRedMail:
* lxlabsupdate: download.lxlabs.com
* lxlabslxupdate: download.lxlabs.com
* base: centos-distro.cavecreek.net
* updates: mirror.stanford.edu
* addons: centos.cogentcloud.com
* extras: mirror.hmc.edu
Setting up Install Process
Parsing package install arguments
Package mod_ssl - 1:2.2.3-11.el5_2.centos.4.i386 is already installed.
Package php - 5.2.6-5.i386 is already installed.
Package php-imap - 5.2.6-5.i386 is already installed.
Package php-gd - 5.2.6-5.i386 is already installed.
Package libmcrypt - 2.5.8-4.el5.centos.i386 is already installed.
Package php-xml - 5.2.6-5.i386 is already installed.
Package php-mysql - 5.2.6-5.i386 is already installed.
Package cyrus-sasl - 2.1.22-4.i386 is already installed.
Package cyrus-sasl-lib - 2.1.22-4.i386 is already installed.
Package cyrus-sasl-plain - 2.1.22-4.i386 is already installed.
Package bzip2 - 1.0.3-3.i386 is already installed.
Package mailx - 8.1.1-44.2.2.i386 is already installed.
Package crontabs - 1.10-8.noarch is already installed.
Package dos2unix - 3.1-27.1.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package mod_auth_mysql.i386 1:3.0.0-3.1 set to be updated
---> Package acl.i386 0:2.2.39-3.el5 set to be updated
---> Package postfix.i386 4:2.5.6-4.ired set to be updated
---> Package bzip2.i386 0:1.0.3-4.el5_2 set to be updated
---> Package perl-Mail-SPF.noarch 0:2.006-1.el5.rf set to be updated
--> Processing Dependency: perl(Error) for package: perl-Mail-SPF
--> Processing Dependency: perl(version) for package: perl-Mail-SPF
--> Processing Dependency: perl(NetAddr::IP) for package: perl-Mail-SPF
---> Package httpd.i386 0:2.2.3-11.el5_2.centos.4 set to be updated
---> Package php-pear.noarch 1:1.4.9-4.el5.1 set to be updated
---> Package policyd.i386 0:1.82-4.rhms set to be updated
---> Package php-ldap.i386 0:5.2.6-5 set to be updated
---> Package php-mcrypt.i386 0:5.2.6-5 set to be updated
---> Package pysieved.noarch 0:1.0-1.ired set to be updated
---> Package dovecot-sieve.i386 0:1.1.6-9.el5 set to be updated
---> Package awstats.noarch 0:6.9-1.el5.rf set to be updated
---> Package cyrus-sasl-md5.i386 0:2.1.22-4 set to be updated
---> Package perl-Mail-SPF-Query.noarch 0:1.999.1-2.el5.rf set to be updated
--> Processing Dependency: perl(Net::CIDR::Lite) for package: perl-Mail-SPF-Query
--> Processing Dependency: perl(Sys::Hostname::Long) for package: perl-Mail-SPF-Query
---> Package clamd.i386 0:0.94.2-1.el5.rf set to be updated
---> Package amavisd-new.i386 0:2.6.2-2.ired set to be updated
--> Processing Dependency: unrar >= 2.71 for package: amavisd-new
--> Processing Dependency: perl(Mail::SpamAssassin) for package: amavisd-new
--> Processing Dependency: perl(Convert::UUlib) for package: amavisd-new
--> Processing Dependency: perl(Net::Server) >= 0.93 for package: amavisd-new
--> Processing Dependency: perl-MailTools for package: amavisd-new
--> Processing Dependency: perl(Convert::TNEF) for package: amavisd-new
--> Processing Dependency: zoo >= 2.10 for package: amavisd-new
--> Processing Dependency: arc >= 5.21e for package: amavisd-new
--> Processing Dependency: perl(Net::Server) >= 0.87 for package: amavisd-new
--> Processing Dependency: cabextract for package: amavisd-new
--> Processing Dependency: perl(MIME::Tools) >= 5.420 for package: amavisd-new
--> Processing Dependency: perl(MIME::Parser) for package: amavisd-new
--> Processing Dependency: perl(IO::Stringy) for package: amavisd-new
--> Processing Dependency: perl(Archive::Zip) >= 1.14 for package: amavisd-new
--> Processing Dependency: lzop for package: amavisd-new
--> Processing Dependency: perl(Mail::DKIM) >= 0.31 for package: amavisd-new
--> Processing Dependency: unarj for package: amavisd-new
--> Processing Dependency: perl(Unix::Syslog) for package: amavisd-new
--> Processing Dependency: perl(BerkeleyDB) for package: amavisd-new
--> Processing Dependency: perl(MIME::Words) for package: amavisd-new
--> Processing Dependency: nomarch >= 1.2 for package: amavisd-new
--> Processing Dependency: lha for package: amavisd-new
--> Processing Dependency: freeze for package: amavisd-new
--> Processing Dependency: ripole for package: amavisd-new
--> Processing Dependency: perl(MIME::Entity) for package: amavisd-new
---> Package clamav.i386 0:0.94.2-1.el5.rf set to be updated
---> Package patch.i386 0:2.5.4-29.2.2 set to be updated
---> Package dovecot.i386 1:1.1.11-0_90.el5 set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
---> Package php-mbstring.i386 0:5.2.6-5 set to be updated
---> Package php-pecl-fileinfo.i386 0:1.0.4-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.94.2-1.el5.rf set to be updated
--> Running transaction check
---> Package perl-Convert-TNEF.noarch 0:0.17-3.2.el5.rf set to be updated
---> Package perl-Mail-DKIM.noarch 0:0.32-1.el5.rf set to be updated
--> Processing Dependency: perl(Crypt::OpenSSL::RSA) for package: perl-Mail-DKIM
--> Processing Dependency: perl(Digest::SHA) for package: perl-Mail-DKIM
---> Package spamassassin.i386 0:3.2.4-1.el5 set to be updated
---> Package perl-Error.noarch 0:0.17015-1.el5.rf set to be updated
---> Package ripole.i386 0:0.2.0-1.2.el5.rf set to be updated
---> Package perl-Convert-UUlib.i386 1:1.11-1.ired set to be updated
---> Package perl-MIME-tools.noarch 0:5.420-3.el5 set to be updated
--> Processing Dependency: perl(Convert::BinHex) for package: perl-MIME-tools
---> Package lha.i386 0:1.14i-19.2.2.el5.rf set to be updated
---> Package perl-Net-Server.noarch 0:0.97-1.el5.rf set to be updated
---> Package unrar.i386 0:3.8.2-1.el5.rf set to be updated
---> Package perl-Archive-Zip.noarch 0:1.26-1.el5.rf set to be updated
---> Package arc.i386 0:5.21o-1.el5.rf set to be updated
---> Package freeze.i386 0:2.5.0-1.2.el5.rf set to be updated
---> Package cabextract.i386 0:1.2-1.el5.rf set to be updated
---> Package perl-version.i386 0:0.74-1.el5.rf set to be updated
---> Package nomarch.i386 0:1.4-2.el5 set to be updated
---> Package perl-BerkeleyDB.i386 0:0.36-1.el5.rf set to be updated
---> Package perl-MailTools.noarch 0:2.04-1.el5.rf set to be updated
--> Processing Dependency: perl(Date::Format) for package: perl-MailTools
--> Processing Dependency: perl(Date::Parse) for package: perl-MailTools
---> Package perl-IO-stringy.noarch 0:2.110-1.2.el5.rf set to be updated
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-1.2.el5.rf set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
---> Package zoo.i386 0:2.10-2.2.el5.rf set to be updated
---> Package perl-Net-CIDR-Lite.noarch 0:0.20-1.2.el5.rf set to be updated
---> Package arj.i386 0:3.10.22-1.el5.centos set to be updated
---> Package lzop.i386 0:1.01-2.el5.rf set to be updated
--> Processing Dependency: liblzo.so.1 for package: lzop
---> Package perl-NetAddr-IP.i386 0:4.007-1.el5.rf set to be updated
---> Package perl-Unix-Syslog.i386 0:1.0-1.el5.rf set to be updated
--> Running transaction check
---> Package lzo.i386 0:1.08-5.el5.rf set to be updated
---> Package perl-Digest-SHA.i386 0:5.47-1.el5.rf set to be updated
---> Package perl-Convert-BinHex.noarch 0:1.119-2.2.el5.rf set to be updated
---> Package perl-TimeDate.noarch 1:1.16-5.el5 set to be updated
---> Package perl-Crypt-OpenSSL-RSA.i386 0:0.25-1.el5.rf set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
--> Processing Conflict: vpopmail conflicts postfix
--> Finished Dependency Resolution
Installation failed, please check the terminal output.

Error: vpopmail conflicts with postfix
Error: Missing Dependency: php = 5.1.6 is needed by package php-eaccelerator
Installation failed, please check the terminal output.

到这里停下一籽,不知道该怎么进行下去了,望高人指点

[ 本帖最后由 aulian 于 2009-3-12 12:58 编辑 ]

回复: vps + lighttpd 1.4.20,安装iRedMail受阻

yum 仓库是必须的,用于安装一些依赖包。

Error: vpopmail conflicts with postfix
Error: Missing Dependency: php = 5.1.6 is needed by package php-eaccelerator


1:vpopmail 和 postfix 包有冲突。

vpopmail 应该是提供 POP3/IMAP 服务的软件吧?iRedMail 里使用的是 Dovecot。所以如果你的系统不需要这个包,可以将 vpopmail 删除后重新尝试一下。

2:iRedMail 里带了 php-eaccelerator 这个包,但是它依赖 php-5.1.6,而你的系统的 PHP 版本似乎不一样。你可以尝试在 functions/packages.sh 里将 php-eaccelerator 这个包去掉,然后重试。

回复: vps + lighttpd 1.4.20,安装iRedMail受阻

感谢两位管理员的智慧,之前的vps因为上面有网站正在运行中,安装受阻后便没有再试,怕影响业务,这次新订购了一款vps,只为试用iRedMail,付款后这两天一直在等着开通,这次没问题了,安装过程顺利。

另,eddiechen:我装的的确是centos5.0,304M那个模板,你咋知道的呢,难道所有提供vps的都爱用这套?你知道我用的哪家vps?

回复: vps + lighttpd 1.4.20,安装iRedMail受阻

Eddiechen 之前跟我说过似乎大部分 VPS 提供商使用的 OS 模板都一样 :lol