如果使用 Nginx 服务,它会安装 php-fpm 和 uwsgi 程序/服务。但你的 log 显示没有 uwsgi,这个就不正常了。看一下 iRedMail-0.9.5-1/runtime/install.log (及 pkg.install.log),里头是否有相关的内容。
张工:我查看了一下相关内容:
iRedMail-0.9.5-1/runtime/install.log
< SKIP > Function: check_new_iredmail.
+ < DEBUG > Creating necessary directories ...
< SKIP > Function: create_repo_rhel.
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: http://106.187.51.47/yum/misc/roundcube … ete.tar.gz
[ INFO ] + 2 of 3: http://106.187.51.47/yum/misc/iRedAPD-1.9.1.tar.bz2
[ INFO ] + 3 of 3: http://106.187.51.47/yum/misc/iRedAdmin-0.6.1.tar.bz2
[ INFO ] Validate packages ...
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] [NOT FOUND]
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://106.187.51.47/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Skip configuration file: /root/iRedMail-0.9.5-1/config.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Skip configuration file: /root/iRedMail-0.9.5-1/config.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://173.254.22.21/forum/
[ INFO ] Checking configuration file: /root/iRedMail-0.9.5-1/config ...
[ INFO ] Use config file: /root/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
+ < DEBUG > Service control: enable rsyslog.
+ < DEBUG > Service control: enable postfix.
+ < DEBUG > Service control: enable mysqld.
+ < DEBUG > Service control: enable nginx.
+ < DEBUG > Service control: enable php-fpm.
+ < DEBUG > Service control: enable uwsgi.
error reading information on service uwsgi: No such file or directory
+ < DEBUG > Service control: enable dovecot.
+ < DEBUG > Service control: enable clamd.
error reading information on service clamd: No such file or directory
+ < DEBUG > Service control: enable amavisd.
error reading information on service amavisd: No such file or directory
+ < DEBUG > Service control: enable sogod.
+ < DEBUG > Service control: enable memcached.
+ < DEBUG > Service control: enable fail2ban.
+ < DEBUG > Service control: enable crond.
+ < DEBUG > Service control: disable exim.
error reading information on service exim: No such file or directory
+ < DEBUG > Service control: disable saslauthd.
+ < DEBUG > Service control: disable spamassassin.
+ < DEBUG > Service control: disable shorewall.
+ < DEBUG > Service control: disable gamin.
error reading information on service gamin: No such file or directory
+ < DEBUG > Service control: disable gamin-python.
error reading information on service gamin-python: No such file or directory
[ INFO ] Create self-signed SSL certification files (2048 bits).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system account: vmail, iredadmin, iredapd.
+ < DEBUG > Create HOME folder for vmail user.
+ < DEBUG > Create system account: vmail:vmail (2000:2000).
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
rm: cannot remove `/var/vmail/.': Is a directory
rm: cannot remove `/var/vmail/..': Is a directory
+ < DEBUG > Create directory to store user sieve rule files: /var/vmail/sieve.
+ < DEBUG > Create system account: iredadmin:iredadmin (2001:2001)
+ < DEBUG > Create system account: iredapd:iredapd (2002:2002).
[ INFO ] Configure Nginx web server and uWSGI.
+ < DEBUG > Setting logrotate for uwsgi log file: /var/log/uwsgi/uwsgi.log.
安装时显示: + < DEBUG > Service control: enable uwsgi.
error reading information on service uwsgi: No such file or directory
/var/log/uwsgi文件夹里面没有:uwsgi.log
pkg.install.log
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml uwsgi uwsgi-plugin-python fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
Loaded plugins: aliases, auto-update-debuginfo, changelog, fastestmirror,
: filter-data, fs-snapshot, kabi, keys, list-data, local, merge-
: conf, ovl, post-transaction-actions, presto, priorities,
: protectbase, ps, refresh-packagekit, remove-with-leaves, rpm-
: warm-cache, security, show-leaves, tmprepo, tsflags, upgrade-
: helper, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.btte.net
* updates: mirrors.163.com
Skipping filters plugin, no data
0 packages excluded due to repository protections
Package 2:postfix-2.6.6-6.el6_7.1.i686 already installed and latest version
No package uwsgi available.
No package uwsgi-plugin-python available.
因该是安装时没有安装,正常安装我前面试过了,如何解决?