1

Topic: err_too_many_redirects

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

from NGINX access.log after reboot

157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:47 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:48 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:48 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"
157.131.253.99 - - [06/Sep/2020:07:15:48 -0700] "GET /iredadmin/ HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36"

from NGINX error.log after reboot

2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:443 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to 0.0.0.0:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: bind() to [::]:80 failed (98: Address already in use)
2020/09/06 07:18:16 [emerg] 3514#3514: still could not bind()

----

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

2

Re: err_too_many_redirects

- Linux/BSD distribution name and version:  Ubuntu 20.04.1 LTS

3

Re: err_too_many_redirects

Do you run both Apache and Nginx on this server? If not, try to kill all Nginx processes first, then restart Nginx service.