1

Topic: iRedadmin Pro 4.4 502 bad gateway

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have reinstalled the OS 4 times and installed iRedadmin pro 4.4 each time.
iRedadmin works fine but as soon as I install iRedadmin pro, I get 502 bad gateway nginx

I have tried Debian 10.4 and Ubuntu 18.04 and Ubuntu 20

Any suggestions?

I have installed previous version with no issue

2

Re: iRedadmin Pro 4.4 502 bad gateway

Sorry about this trouble. Any related error in /var/log/syslog?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3 (edited by rodney.underwood 2020-08-03 00:05:43)

Re: iRedadmin Pro 4.4 502 bad gateway

Here are the results attached and also a few lines I'm not sure is the issue.

This is a totally different server, same results.

The server I want to use is in-house, this one is hosted.

I wanted to make sure it wasn't just my server.

Aug  2 15:45:28 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:28 mail uwsgi: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:28 mail uwsgi: ...brutally killing workers...
Aug  2 15:45:29 mail uwsgi: worker 1 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 2 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 3 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 4 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 5 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: goodbye to uWSGI.
Aug  2 15:45:29 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:29 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:29 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Reloading.
Aug  2 15:45:30 mail uwsgi[6229]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6229]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6229]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6229)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6237, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6238, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6239, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6240, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6241, cores: 1)
Aug  2 15:45:30 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:30 mail iredadmin: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:30 mail iredadmin: worker 1 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 3 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 4 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 5 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: ...brutally killing workers...
Aug  2 15:45:30 mail iredadmin: worker 2 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: goodbye to uWSGI.
Aug  2 15:45:30 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:30 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail uwsgi[6280]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6280]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6280]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6280)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6282, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6283, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6284, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6285, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6286, cores: 1)
Aug  2 15:46:01 mail CRON[6306]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:46:01 mail CRON[6307]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:46:40 mail iredadmin: -- unavailable modifier requested: 0 --
Aug  2 15:47:01 mail CRON[6328]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:47:01 mail CRON[6329]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:00 mail systemd[1]: Started Session 143 of user root.
Aug  2 15:48:01 mail CRON[6409]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:01 mail CRON[6410]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)

4

Re: iRedadmin Pro 4.4 502 bad gateway

rodney.underwood wrote:

Here are the results attached and also a few lines I'm not sure is the issue.

This is a totally different server, same results.

The server I want to use is in-house, this one is hosted.

I wanted to make sure it wasn't just my server.

Aug  2 15:45:28 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:28 mail uwsgi: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:28 mail uwsgi: ...brutally killing workers...
Aug  2 15:45:29 mail uwsgi: worker 1 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 2 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 3 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 4 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 5 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: goodbye to uWSGI.
Aug  2 15:45:29 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:29 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:29 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Reloading.
Aug  2 15:45:30 mail uwsgi[6229]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6229]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6229]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6229)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6237, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6238, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6239, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6240, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6241, cores: 1)
Aug  2 15:45:30 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:30 mail iredadmin: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:30 mail iredadmin: worker 1 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 3 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 4 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 5 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: ...brutally killing workers...
Aug  2 15:45:30 mail iredadmin: worker 2 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: goodbye to uWSGI.
Aug  2 15:45:30 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:30 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail uwsgi[6280]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6280]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6280]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6280)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6282, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6283, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6284, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6285, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6286, cores: 1)
Aug  2 15:46:01 mail CRON[6306]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:46:01 mail CRON[6307]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:46:40 mail iredadmin: -- unavailable modifier requested: 0 --
Aug  2 15:47:01 mail CRON[6328]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:47:01 mail CRON[6329]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:00 mail systemd[1]: Started Session 143 of user root.
Aug  2 15:48:01 mail CRON[6409]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:01 mail CRON[6410]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)


I've also tried iredadmin 4.2, 4.3 and 4.4 and none work.
I've tried CentOS 7 too.

5

Re: iRedadmin Pro 4.4 502 bad gateway

I hope someone can help, I'm about at my wits end

rodney.underwood wrote:
rodney.underwood wrote:

Here are the results attached and also a few lines I'm not sure is the issue.

This is a totally different server, same results.

The server I want to use is in-house, this one is hosted.

I wanted to make sure it wasn't just my server.

Aug  2 15:45:28 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:28 mail uwsgi: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:28 mail uwsgi: ...brutally killing workers...
Aug  2 15:45:29 mail uwsgi: worker 1 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 2 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 3 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 4 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: worker 5 buried after 1 seconds
Aug  2 15:45:29 mail uwsgi: goodbye to uWSGI.
Aug  2 15:45:29 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:29 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:29 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Reloading.
Aug  2 15:45:30 mail uwsgi[6229]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6229]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6229]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6229)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6237, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6238, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6239, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6240, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6241, cores: 1)
Aug  2 15:45:30 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug  2 15:45:30 mail iredadmin: SIGINT/SIGQUIT received...killing workers...
Aug  2 15:45:30 mail iredadmin: worker 1 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 3 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 4 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: worker 5 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: ...brutally killing workers...
Aug  2 15:45:30 mail iredadmin: worker 2 buried after 0 seconds
Aug  2 15:45:30 mail iredadmin: goodbye to uWSGI.
Aug  2 15:45:30 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug  2 15:45:30 mail systemd[1]: Starting iRedAdmin daemon service...
Aug  2 15:45:30 mail systemd[1]: Started iRedAdmin daemon service.
Aug  2 15:45:30 mail uwsgi[6280]: [uWSGI] getting INI configuration from /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini
Aug  2 15:45:30 mail uwsgi[6280]: open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3691]
Aug  2 15:45:30 mail uwsgi[6280]: !!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object file: No such file or directory !!!
Aug  2 15:45:30 mail iredadmin: *** Starting uWSGI 2.0.15-debian (64bit) on [Sun Aug  2 15:45:30 2020] ***
Aug  2 15:45:30 mail iredadmin: compiled with version: 7.3.0 on 28 September 2018 15:41:15
Aug  2 15:45:30 mail iredadmin: os: Linux-4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
Aug  2 15:45:30 mail iredadmin: nodename: hwsrv-759220.hostwindsdns.com
Aug  2 15:45:30 mail iredadmin: machine: x86_64
Aug  2 15:45:30 mail iredadmin: clock source: unix
Aug  2 15:45:30 mail iredadmin: pcre jit disabled
Aug  2 15:45:30 mail iredadmin: detected number of CPU cores: 1
Aug  2 15:45:30 mail iredadmin: current working directory: /
Aug  2 15:45:30 mail iredadmin: writing pidfile to /var/run/iredadmin/iredadmin.pid
Aug  2 15:45:30 mail iredadmin: detected binary path: /usr/bin/uwsgi-core
Aug  2 15:45:30 mail iredadmin: dropping root privileges as early as possible
Aug  2 15:45:30 mail iredadmin: setgid() to 2001
Aug  2 15:45:30 mail iredadmin: setuid() to 2001
Aug  2 15:45:30 mail iredadmin: chdir() to /opt/www/iredadmin
Aug  2 15:45:30 mail iredadmin: your processes number limit is 3837
Aug  2 15:45:30 mail iredadmin: your memory page size is 4096 bytes
Aug  2 15:45:30 mail iredadmin: detected max file descriptor number: 1024
Aug  2 15:45:30 mail iredadmin: VirtualHosting mode enabled.
Aug  2 15:45:30 mail iredadmin: lock engine: pthread robust mutexes
Aug  2 15:45:30 mail iredadmin: thunder lock: disabled (you can enable it with --thunder-lock)
Aug  2 15:45:30 mail iredadmin: uwsgi socket 0 bound to TCP address 127.0.0.1:7791 fd 6
Aug  2 15:45:30 mail iredadmin: dropping root privileges after socket binding
Aug  2 15:45:30 mail iredadmin: dropping root privileges after plugin initialization
Aug  2 15:45:30 mail iredadmin: your server socket listen backlog is limited to 100 connections
Aug  2 15:45:30 mail iredadmin: your mercy for graceful operations on workers is 60 seconds
Aug  2 15:45:30 mail iredadmin: mapped 436608 bytes (426 KB) for 5 cores
Aug  2 15:45:30 mail iredadmin: *** Operational MODE: preforking ***
Aug  2 15:45:30 mail iredadmin: *** no app loaded. going in full dynamic mode ***
Aug  2 15:45:30 mail iredadmin: dropping root privileges after application loading
Aug  2 15:45:30 mail iredadmin: *** uWSGI is running in multiple interpreter mode ***
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: no request plugin is loaded, you will not be able to manage requests.
Aug  2 15:45:30 mail iredadmin: you may need to install the package for your language of choice, or simply load it with --plugin.
Aug  2 15:45:30 mail iredadmin: !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Aug  2 15:45:30 mail iredadmin: spawned uWSGI master process (pid: 6280)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 1 (pid: 6282, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 2 (pid: 6283, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 3 (pid: 6284, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 4 (pid: 6285, cores: 1)
Aug  2 15:45:30 mail iredadmin: spawned uWSGI worker 5 (pid: 6286, cores: 1)
Aug  2 15:46:01 mail CRON[6306]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:46:01 mail CRON[6307]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:46:40 mail iredadmin: -- unavailable modifier requested: 0 --
Aug  2 15:47:01 mail CRON[6328]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug  2 15:47:01 mail CRON[6329]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:00 mail systemd[1]: Started Session 143 of user root.
Aug  2 15:48:01 mail CRON[6409]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)
Aug  2 15:48:01 mail CRON[6410]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)


I've also tried iredadmin 4.2, 4.3 and 4.4 and none work.
I've tried CentOS 7 too.

6

Re: iRedadmin Pro 4.4 502 bad gateway

rodney.underwood wrote:

I hope someone can help, I'm about at my wits end

sorry about this trouble. Please contact us, we will help via email or direct ssh access: Https://www.iredmail.org/support.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

7

Re: iRedadmin Pro 4.4 502 bad gateway

Thank you.

I think I am just going to purchase iRedmail Easy.

ZhangHuangbin wrote:
rodney.underwood wrote:

I hope someone can help, I'm about at my wits end

sorry about this trouble. Please contact us, we will help via email or direct ssh access: Https://www.iredmail.org/support.html