1

Topic: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.4
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- 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.


====

Hello,

I've just tried a couple of times to install iRedMail 1.6.4 onto a fresh AWS EC2 instance running Ubuntu 22.04 and have found, on both occasions, that the installer is failing at the line "Creating config file /etc/dovecot/conf.d/auth-system.conf.ext with new version".

On the first attempt I received this error - "select() returned error: inappropriate ioctl for device". On the second attempt the system seemed to hang without issuing an error message.

Has anyone else experienced this?

Best,

Matthew

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

Did you install via sudo, or as root user?
you should install as root

Amazon AWS blocks port 25 so you will be unable to send mails

and you don't get a dedicated, static IP as far as i know, so you can't set a PTR (not sure about that)

3

Re: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

matty.forbes wrote:

On the first attempt I received this error - "select() returned error: inappropriate ioctl for device". On the second attempt the system seemed to hang without issuing an error message.

This doesn't look like an iRedMail installer issue.

4

Re: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

Thanks for your quick replies.

Did you install via sudo, or as root user?
you should install as root

Yes, I installed as root.

Amazon AWS blocks port 25 so you will be unable to send mails

I was hoping to use Amazon SES as a mail relay, and that this wouldn't therefore be an issue.

and you don't get a dedicated, static IP as far as i know, so you can't set a PTR (not sure about that)

I have an elastic IP assigned to the EC2 instance which seems to work fine.

This doesn't look like an iRedMail installer issue.

Understood. Can I ask if there's a minimum disk space requirement for installing iRedMail? The instances I was using had 16GB storage assigned to them. (This was for a quick trial - I'd scale up before going into production.) Perhaps that could be causing the issue?

Best,

Matthew

5

Re: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

matty.forbes wrote:

Can I ask if there's a minimum disk space requirement for installing iRedMail? The instances I was using had 16GB storage assigned to them. (This was for a quick trial - I'd scale up before going into production.) Perhaps that could be causing the issue?

No minimum disk space requirement. All it requires is enough disk space to install required packages like Postfix, Dovecot, Nginx, etc, i guess they won't use up to 500MB in total, the rest is for mailbox storage.

6

Re: 1.6.4 Installer Failing on Ubuntu 22.04 EC2 Instance

ZhangHuangbin wrote:
matty.forbes wrote:

Can I ask if there's a minimum disk space requirement for installing iRedMail? The instances I was using had 16GB storage assigned to them. (This was for a quick trial - I'd scale up before going into production.) Perhaps that could be causing the issue?

No minimum disk space requirement. All it requires is enough disk space to install required packages like Postfix, Dovecot, Nginx, etc, i guess they won't use up to 500MB in total, the rest is for mailbox storage.

OK, thanks. I think my problem was down to insufficient RAM in the end (the t2.micro instance I was installing on has only 1GB). I've configured a 1GB swapfile on the machine and the installer has now completed successfully.

Thanks for your help!

Matthew