Topic: error "can't make sub-window" during installation
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2 PGSQL edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Followed install steps: create fresh ubuntu 18.04 server, set hostname, run installer, make selections during prompts. Looks like many install steps work ok and then in the "start iredmail configurations" stageI saw a lot of errors in console. Here is the complete output from that stage:
```
********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Generate self-signed SSL cert (2048 bits, expire in 10 years).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system accounts.
/home/xalqor/iRedMail-1.2/functions/system_accounts.sh: line 12: [: too many arguments
/home/xalqor/iRedMail-1.2/functions/system_accounts.sh: line 18: [: too many arguments
/home/xalqor/iRedMail-1.2/functions/system_accounts.sh: line 19: [: too many arguments
/home/xalqor/iRedMail-1.2/functions/system_accounts.sh: line 56: [: too many arguments
[ INFO ] Configure Nginx web server.
[ INFO ] Configure PHP.
[ INFO ] Configure PostgreSQL database server.
[ INFO ] Setup daily cron job to backup PostgreSQL databases with
can't make sub-window at (12,48), size (1,70)./backup/backup_pgsql.sh
/home/xalqor/iRedMail-1.2/functions/postgresql.sh: line 206: [: too many arguments
cp: target '(1,70)./backup/backup_pgsql.sh' is not a directory
chown: cannot access '(1,70)./backup/backup_pgsql.sh': No such file or directory
chmod: cannot access '(1,70)./backup/backup_pgsql.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: (12,48), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_pgsql.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: (12,48), is not a regular file.
Can't do inplace edit: size is not a regular file.
Can't open (1,70)./backup/backup_pgsql.sh: No such file or directory.
[ INFO ] Configure Postfix (MTA).
postconf: fatal: /etc/postfix/main.cf, line 224: missing '=' after attribute name: "can't make sub-window at (12,48), size (1,70)."
postconf: fatal: /etc/postfix/main.cf, line 224: missing '=' after attribute name: "can't make sub-window at (12,48), size (1,70)."
postconf: fatal: /etc/postfix/main.cf, line 224: missing '=' after attribute name: "can't make sub-window at (12,48), size (1,70)."
postmap: fatal: /etc/postfix/main.cf, line 224: missing '=' after attribute name: "can't make sub-window at (12,48), size (1,70)."
chown: cannot access 'postscreen_cache.db': No such file or directory
chmod: cannot access 'postscreen_cache.db': No such file or directory
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
cp: target '(1,70)./sieve/dovecot.sieve' is not a directory
chown: cannot access "can't": No such file or directory
chown: cannot access 'make': No such file or directory
chown: cannot access 'sub-window': No such file or directory
chown: cannot access 'at': No such file or directory
chown: cannot access '(12,48),': No such file or directory
chown: cannot access 'size': No such file or directory
chown: cannot access '(1,70)./sieve/dovecot.sieve': 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 '(12,48),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./sieve/dovecot.sieve': No such file or directory
[ INFO ] Configure mlmmj (mailing list manager).
chown: invalid user: 'mlmmj:mlmmj'
chown: invalid user: 'mlmmj:mlmmj'
chown: invalid user: 'mlmmj:mlmmj'
chown: invalid user: 'mlmmj:mlmmj'
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure iRedAdmin (official web-based admin panel).
[ INFO ] Configure Roundcube webmail.
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
cp: target '(1,70)./backup/backup_sogo.sh' is not a 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 '(12,48),': No such file or directory
chmod: cannot access 'size': No such file or directory
chmod: cannot access '(1,70)./backup/backup_sogo.sh': No such file or directory
Can't open can't: No such file or directory.
Can't open make: No such file or directory.
Can't open sub-window: No such file or directory.
Can't open at: No such file or directory.
Can't open (12,48),: No such file or directory.
Can't open size: No such file or directory.
Can't open (1,70)./backup/backup_sogo.sh: No such file or directory.
[ INFO ] Configure Fail2ban (authentication failure monitor).
[ INFO ] Configure netdata (system and application monitor).
*************************************************************************
* iRedMail-1.2 installation and configuration complete.
*************************************************************************
/home/xalqor/iRedMail-1.2/functions/cleanup.sh: line 296: ${FILE_IREDMAIL_INSTALLATION_DETAILS}: ambiguous redirect
/home/xalqor/iRedMail-1.2/functions/cleanup.sh: line 305: ${FILE_IREDMAIL_LINKS}: ambiguous redirect
/home/xalqor/iRedMail-1.2/functions/cleanup.sh: line 314: ${FILE_IREDMAIL_MUA_SETTINGS}: ambiguous redirect
chown: cannot access "can't": No such file or directory
chmod: cannot access "can't": No such file or directory
chown: cannot access 'make': No such file or directory
chmod: cannot access 'make': No such file or directory
chown: cannot access 'sub-window': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chown: cannot access 'at': No such file or directory
chmod: cannot access 'at': No such file or directory
chown: cannot access '(12,48),': No such file or directory
chmod: cannot access '(12,48),': No such file or directory
chown: cannot access 'size': No such file or directory
chmod: cannot access 'size': No such file or directory
chown: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/details.eml': No such file or directory
chmod: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/details.eml': No such file or directory
chown: cannot access "can't": No such file or directory
chmod: cannot access "can't": No such file or directory
chown: cannot access 'make': No such file or directory
chmod: cannot access 'make': No such file or directory
chown: cannot access 'sub-window': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chown: cannot access 'at': No such file or directory
chmod: cannot access 'at': No such file or directory
chown: cannot access '(12,48),': No such file or directory
chmod: cannot access '(12,48),': No such file or directory
chown: cannot access 'size': No such file or directory
chmod: cannot access 'size': No such file or directory
chown: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/links.eml': No such file or directory
chmod: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/links.eml': No such file or directory
chown: cannot access "can't": No such file or directory
chmod: cannot access "can't": No such file or directory
chown: cannot access 'make': No such file or directory
chmod: cannot access 'make': No such file or directory
chown: cannot access 'sub-window': No such file or directory
chmod: cannot access 'sub-window': No such file or directory
chown: cannot access 'at': No such file or directory
chmod: cannot access 'at': No such file or directory
chown: cannot access '(12,48),': No such file or directory
chmod: cannot access '(12,48),': No such file or directory
chown: cannot access 'size': No such file or directory
chmod: cannot access 'size': No such file or directory
chown: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/mua.eml': No such file or directory
chmod: cannot access '(1,70)./vmail1/example.com/p/o/s/postmaster//Maildir/new/mua.eml': No such file or directory
< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/default/iptables, with SSHD ports: 22. [Y|n]Y
[ INFO ] Copy firewall sample rules.
< Question > Restart firewall now (with ssh ports: 22)? [y|N]Y
[ INFO ] Restarting firewall ...
[ INFO ] Updating ClamAV database (freshclam), please wait ...
ERROR: /var/log/clamav/freshclam.log is locked by another process
********************************************************************
* URLs of installed web applications:
*
* - Roundcube webmail: https://mailserver.example.com/mail/
* - SOGo groupware: https://mailserver.example.com/SOGo/
* - netdata (monitor): https://mailserver.example.com/netdata/
*
* - Web admin panel (iRedAdmin): https://mailserver.example.com/iredadmin/
*
* You can login to above links with below credential:
*
* - Username: postmaster@example.com
* - Password: changeit
*
*
********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
* - /home/xalqor/iRedMail-1.2/iRedMail.tips
*
* And it's sent to your mail account postmaster@example.com.
*
********************* WARNING **************************************
*
* Please reboot your system to enable all mail services.
*
********************************************************************
root@mailserver:/home/xalqor/iRedMail-1.2#
```
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.