主题: 安裝錯誤訊息

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OpenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 7
- 与您的问题相关的日志信息:
====

安裝兩次,出現相同錯誤訊息

*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
*                                                                       *
* Below file contains sensitive infomation (username/password), please  *
* do remember to *MOVE* it to a safe place after installation.          *
*                                                                       *
*   * /root/iRedMail-0.9.5-1/config
*                                                                       *
*************************************************************************
********************** Review your settings *****************************
*************************************************************************
# 出現錯誤訊息
* Storage base directory:
Can't make sub-window at (13,18), size (1,70).
* Mailboxes:
Can't make sub-window at (13,18), size (1,70)./vmail1
* Daily backup of SQL/LDAP databases:
Can't make sub-window at (13,18), size (1,70)./backup
* Store mail accounts in:               OpenLDAP
* Web server:                           Apache
* First mail domain name:
can't make sub-window at (13,18), size (1,70).
* Mail domain admin:                    postmaster@
can't make sub-window at (13,18), size (1,70).
* Additional components:                iRedAdmin Roundcubemail Awstats Fail2ban

< Question > Continue? [y|N]

.. . . . . . 省略  . . . .
packages 安裝
. . . . . . . 省略 . . .. .

  unzoo.x86_64 0:4.4-16.el7
下方又有錯誤訊息:
Complete!

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ 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.
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 12: [: too many arguments
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 13: [: too many arguments
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 14: [: too many arguments
chown: invalid user: 'vmail:vmail'
chown: invalid user: 'vmail:vmail'
[ INFO ] Configure Apache web server.
[ INFO ] Configure PHP.
[ INFO ] Configure LDAP server: OpenLDAP.
[ INFO ] Setup daily cron job to backup LDAP data with
Can't make sub-window at (13,18), size (1,70)./backup/backup_openldap.sh
/root/iRedMail-0.9.5-1/functions/ldap_server.sh: line 138: [: too many arguments
basename: extra operand 'sub-window'
Try 'basename --help' for more information.
cp: target '(1,70)./backup/backup_openldap.sh' is not a directory
chown: cannot access '(1,70)./backup/backup_openldap.sh': No such file or directory
chmod: cannot access '(1,70)./backup/backup_openldap.sh': No such file or directory
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_openldap.sh: No such file or directory.
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_openldap.sh: No such file or directory.
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_openldap.sh: No such file or directory.
[ INFO ] Configure MySQL database server.
[ INFO ] Setup daily cron job to backup SQL databases with
Can't make sub-window at (13,18), size (1,70)./backup/backup_mysql.sh
/root/iRedMail-0.9.5-1/functions/mysql.sh: line 229: [: too many arguments
cp: target '(1,70)./backup/backup_mysql.sh' is not a directory
chown: cannot access '(1,70)./backup/backup_mysql.sh': No such file or directory
chmod: cannot access '(1,70)./backup/backup_mysql.sh': No such file or directory
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_mysql.sh: No such file or directory.
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_mysql.sh: No such file or directory.
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_mysql.sh: No such file or directory.
Can't do inplace edit: Can't is not a regular file.
Can't do inplace edit: make is not a regular file.
Can't do inplace edit: sub-window is not a regular file.
Can't do inplace edit: at is not a regular file.
Can't do inplace edit: (13,18), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_mysql.sh: No such file or directory.
[ INFO ] Configure Postfix (MTA).
postconf: fatal: /etc/postfix/main.cf, line 208-210: missing '=' after attribute name: "Can't make sub-window at (13,18), size (1,70)."
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
cp: target '(1,70)./sieve/dovecot.sieve' is not a directory
chown: invalid user: 'vmail:vmail'
chmod: cannot access '(1,70)./sieve/dovecot.sieve': No such file or directory
chown: invalid user: 'vmail:vmail'
chown: invalid user: 'vmail:vmail'
chown: invalid user: 'vmail:vmail'
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
chown: cannot access '(1,70)..pem': No such file or directory
ERROR 1 (HY000) at line 105 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibfUluRf' (Errcode: 13)
ERROR 1 (HY000) at line 146 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibkWSgg2' (Errcode: 13)
ERROR 1 (HY000) at line 147 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibZ8njVO' (Errcode: 13)
ERROR 1 (HY000) at line 197 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibaChfxC' (Errcode: 13)
ERROR 1 (HY000) at line 198 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibl9uqpq' (Errcode: 13)
ERROR 1 (HY000) at line 199 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ib603gve' (Errcode: 13)
ERROR 1 (HY000) at line 201 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibKrinR2' (Errcode: 13)
ERROR 1 (HY000) at line 202 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/iblKLItR' (Errcode: 13)
ERROR 1 (HY000) at line 203 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ib61PjmG' (Errcode: 13)
ERROR 1 (HY000) at line 204 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibDEeavv' (Errcode: 13)
ERROR 1 (HY000) at line 205 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ib05TLYk' (Errcode: 13)
ERROR 1 (HY000) at line 232 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibjxzhpb' (Errcode: 13)
ERROR 1 (HY000) at line 233 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibMpt471' (Errcode: 13)
ERROR 1 (HY000) at line 248 in file: '/root/iRedMail-0.9.5-1/samples/amavisd/amavisd.mysql': Can't create/write to file '/var/tmp/ibr41aDT' (Errcode: 13)
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure iRedAdmin (official web-based admin panel).
[ INFO ] Configure Fail2ban (authentication failure monitor).
[ INFO ] Configure Roundcube webmail.
[ INFO ] Configure Awstats (logfile analyzer for mail and web server).

*************************************************************************
* iRedMail-0.9.5-1 installation and configuration complete.
*************************************************************************

/root/iRedMail-0.9.5-1/functions/cleanup.sh: line 299: ${FILE_IREDMAIL_INSTALLATION_DETAILS}: ambiguous redirect
/root/iRedMail-0.9.5-1/functions/cleanup.sh: line 306: ${FILE_IREDMAIL_INSTALLATION_DETAILS}: ambiguous redirect
/root/iRedMail-0.9.5-1/functions/cleanup.sh: line 308: ${FILE_IREDMAIL_LINKS}: ambiguous redirect
/root/iRedMail-0.9.5-1/functions/cleanup.sh: line 314: ${FILE_IREDMAIL_LINKS}: ambiguous redirect
chown: invalid user: 'vmail:vmail'
chmod: cannot access 'Can\'t': No such file or directory
chmod: cannot access 'make': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chmod: cannot access 'at': No such file or directory
chmod: cannot access '(13,18),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./vmail1/': No such file or directory
chmod: cannot access 'can\'t': No such file or directory
chmod: cannot access 'make': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chmod: cannot access 'at': No such file or directory
chmod: cannot access '(13,18),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./p/o/s/postmaster-2016.11.08.09.49.00//Maildir/new/details.eml': No such file or directory
chmod: cannot access 'Can\'t': No such file or directory
chmod: cannot access 'make': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chmod: cannot access 'at': No such file or directory
chmod: cannot access '(13,18),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./vmail1/': No such file or directory
chmod: cannot access 'can\'t': No such file or directory
chmod: cannot access 'make': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chmod: cannot access 'at': No such file or directory
chmod: cannot access '(13,18),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./p/o/s/postmaster-2016.11.08.09.49.00//Maildir/new/links.eml': No such file or directory
[ INFO ] Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/firewalld/zones/iredmail.xml, with SSHD port: 9999. [Y|n]y
[ INFO ] Copy firewall sample rules: /etc/firewalld/zones/iredmail.xml.
< Question > Restart firewall now (with SSHD port 9999)? [y|N]y
[ INFO ] Restarting firewall ...
< Question > Would you like to use MySQL configuration file shipped within iRedMail now?
< Question > File: /etc/my.cnf. [Y|n]y
[ INFO ] Copy MySQL sample file: /etc/my.cnf.
[ INFO ] Enable SSL support for MySQL server.
[ INFO ] Updating ClamAV database (freshclam), please wait ...
ERROR: Can't change dir to /var/lib/clamav
********************************************************************
* URLs of installed web applications:
*
* - Roundcube webmail: httpS://mail.l.DOMAIN.com/mail/
*
* - Web admin panel (iRedAdmin): httpS://mail.l.DOMAIN.com/iredadmin/
*
* You can login to above links with below credential:
*
* - Username: postmaster@
can't make sub-window at (13,18), size (1,70).
* - Password:
Can't make sub-window at (13,18), size (1,70).
*
*
********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
*   - /root/iRedMail-0.9.5-1/iRedMail.tips
*
* And it's sent to your mail account postmaster@
can't make sub-window at (13,18), size (1,70)..
*
********************* WARNING **************************************
*
* Please reboot your system to enable all mail services.
*
********************************************************************

回复: 安裝錯誤訊息

rain6966 写道:

Can't make sub-window at (13,18), size (1,70).

这种信息一般是由于在 console 运行的程序对 terminal 的 window size 有一定的要求,但却无法满足要求导致的 complain 或 error。会不会是你用 putty/pietty 等 ssh client 的 window size 太小了?

rain6966 写道:

[ INFO ] Create required system account: vmail, iredadmin, iredapd.
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 12: [: too many arguments
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 13: [: too many arguments
/root/iRedMail-0.9.5-1/functions/system_accounts.sh: line 14: [: too many arguments
chown: invalid user: 'vmail:vmail'
chown: invalid user: 'vmail:vmail'
[ INFO ] Configure Apache web server.
[ INFO ] Configure PHP.
[ INFO ] Configure LDAP server: OpenLDAP.
[ INFO ] Setup daily cron job to backup LDAP data with
Can't make sub-window at (13,18), size (1,70)./backup/backup_openldap.sh
/root/iRedMail-0.9.5-1/functions/ldap_server.sh: line 138: [: too many arguments
basename: extra operand 'sub-window'
Try 'basename --help' for more information.
cp: target '(1,70)./backup/backup_openldap.sh' is not a directory

是用 bash shell 来运行 iRedMail.sh 么?看情况似乎不是啊。

回复: 安裝錯誤訊息

感謝版主回覆 , 此問題現可關閉.

我再重新安裝一次 , 現已ok.

我從認識iRedMail 就一直用putty 來安裝.

我的猜測可能是, 下載packages 時出錯  , 會連結到 .hk 的源出現not found.
這次在Fresh OS 安裝後 ;  馬上執行 yum update 時,有注意到 直向 .tw
再執行後續安裝步驟 , 現一切正常 .

Thanks.