主题: iRedMail在redhat7.4上安装,报错
[ INFO ] Validate downloaded source tarballs ...
[ INFO ] Checking configuration file: /app/iRedMail-0.9.9/config ...
[ INFO ] NOT FOUND. Launching installation wizard.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): rsyslog firewalld postfix mariadb mariadb-server perl-DBD-MySQL php-common php-fpm php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx dovecot dovecot-pigeonhole dovecot-mysql amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax lz4 clamav clamav-update clamav-server clamav-server-systemd mlmmj uwsgi-logger-syslog 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 python-pycurl python-requests py-bcrypt uwsgi uwsgi-plugin-python2 fail2ban curl libmnl libuuid lm_sensors nc PyYAML zlib iproute unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch lz4
+ < DEBUG > Service control: enable rsyslog.
+ < DEBUG > Service control: enable firewalld.
+ < DEBUG > Service control: enable postfix.
+ < DEBUG > Service control: enable mariadb.
+ < DEBUG > Service control: enable nginx.
+ < DEBUG > Service control: enable php-fpm.
+ < DEBUG > Service control: enable dovecot.
+ < DEBUG > Service control: enable clamd@amavisd.
+ < DEBUG > Service control: enable amavisd.
Created symlink from /etc/systemd/system/multi-user.target.wants/amavisd.service to /usr/lib/systemd/system/amavisd.service.
+ < 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.
Failed to execute operation: No such file or directory
+ < DEBUG > Service control: disable saslauthd.
+ < DEBUG > Service control: disable clamd.
Failed to execute operation: No such file or directory
"install.log" 225L, 14609C 1,1 Top
+ < DEBUG > Config plugin: enigma.
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
+ < DEBUG > Initialize SOGo database.
+ < DEBUG > Service control: restart sogod.
+ < DEBUG > Install netdata with package: netdata-v1.13.0.gz.run.
ln: failed to create symbolic link '/etc/netdata/netdata': File exists
ln: failed to create symbolic link '/var/log/netdata/netdata': File exists
+ < DEBUG > Service control: enable netdata.
+ < DEBUG > Generate netdata config file: /app/iRedMail-0.9.9/samples/netdata/netdata.conf -> /opt/netdata/etc/netdata/netdata.conf.
+ < DEBUG > Generate htpasswd file: /etc/nginx/netdata.users.
+ < DEBUG > Generate /opt/netdata/etc/netdata/python.d/phpfpm.conf.
+ < DEBUG > Create MySQL user netdata with minimal privilege: USAGE.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
+ < DEBUG > Generate /opt/netdata/etc/netdata/python.d/mysql.conf.
+ < DEBUG > Add sysctl parameters for better netdata performance.
+ < DEBUG > Increase open files limit.
mkdir: cannot create directory '/etc/systemd/system/netdata.service.d': File exists
+ < DEBUG > Mail sensitive administration info to postmaster@mailtest.com.
+ < DEBUG > Set file permission to 0600: /var/spool/cron/root.
+ < DEBUG > Set file permission to 0600: /var/spool/cron/amavis.
+ < DEBUG > Set file permission to 0600: /var/spool/cron/sogo.
[ INFO ] Disable SELinux in /etc/selinux/config.
setenforce: SELinux is disabled
[ INFO ] Copy firewall sample rules: /etc/firewalld/zones/iredmail.xml.
+ < DEBUG > Service control: enable firewalld.
[ INFO ] Copy MySQL sample file: /etc/my.cnf.
[ INFO ] Enable SSL support for MySQL server.
[ INFO ] Updating ClamAV database (freshclam), please wait ...
+ < DEBUG > Send info of chosed packages to iRedMail team to help improve iRedMail:
+ < DEBUG >
+ < DEBUG > MARIADB=YES
+ < DEBUG > WEB_SERVER=NGINX
+ < DEBUG > ROUNDCUBE=YES
+ < DEBUG > SOGO=YES
+ < DEBUG > NETDATA=YES
+ < DEBUG > FAIL2BAN=YES
+ < DEBUG > IREDADMIN=YES
+ < DEBUG >