1

Topic: IredAdmin Pro - Can't edit user mlmmjadmin not running

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable instaler
- Linux/BSD distribution name and version: Rocky Linux 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello after fresh install I have problem with edit user in IredAdminPro interface.

Issue is when I want edit user:

Error: ConnectionError(MaxRetryError("HTTPConnectionPool(host='127.0.0.1', port=7790): Max retries exceeded with url: /api/subscriber/name@domain.xx/subscribed?query_all_lists=no&email_only=yes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2306f2f128>: Failed to establish a new connection: [Errno 111] Connection refused',))",),)

Problem is probably with mlmmj, because  nothing listen on port 7790

systemctl status mlmmjadmin

mlmmjadmin.service - RESTful API server used to manage mlmmj mailing list manager
   Loaded: loaded (/usr/lib/systemd/system/mlmmjadmin.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2022-09-05 22:52:14 CEST; 10h ago
  Process: 3398 ExecStopPost=/usr/bin/rm -rf /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
  Process: 3396 ExecStart=/usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid (co>
  Process: 3394 ExecStartPre=/usr/bin/chmod 0755 /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
  Process: 3391 ExecStartPre=/usr/bin/chown mlmmj:mlmmj /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
  Process: 3389 ExecStartPre=/usr/bin/mkdir /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
Main PID: 3396 (code=exited, status=1/FAILURE)

Sep 05 22:52:14 skg037.kgnet.corp systemd[1]: Starting RESTful API server used to manage mlmmj mailing list manager...
Sep 05 22:52:14 skg037.kgnet.corp systemd[1]: Started RESTful API server used to manage mlmmj mailing list manager.
Sep 05 22:52:14 skg037.kgnet.corp uwsgi[3396]: [uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini
Sep 05 22:52:14 skg037.kgnet.corp uwsgi[3396]: open("/usr/lib64/uwsgi/python3syslog_plugin.so"): No such file or directory [core/utils.c l>
Sep 05 22:52:14 skg037.kgnet.corp uwsgi[3396]: !!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python3syslog_plugin.so: cannot open shar>
Sep 05 22:52:14 skg037.kgnet.corp uwsgi[3396]: unable to find logger syslog
Sep 05 22:52:14 skg037.kgnet.corp systemd[1]: mlmmjadmin.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 22:52:14 skg037.kgnet.corp systemd[1]: mlmmjadmin.service: Failed with result 'exit-code'.

ls -la /usr/lib64/uwsgi/

-rwxr-xr-x.  1 root root  30248 Feb  9  2022 cgi_plugin.so
-rwxr-xr-x.  1 root root  65312 Feb  9  2022 http_plugin.so
-rwxr-xr-x.  1 root root 203944 Feb  9  2022 python3_plugin.so
-rwxr-xr-x.  1 root root  12768 Feb  9  2022 syslog_plugin.so

Thank you for your support.

----

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

2

Re: IredAdmin Pro - Can't edit user mlmmjadmin not running

Please replace "python36" by "python3" in /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini, then restart mlmmjadmin service.

3

Re: IredAdmin Pro - Can't edit user mlmmjadmin not running

ZhangHuangbin wrote:

Please replace "python36" by "python3" in /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini, then restart mlmmjadmin service.

Hi Thank you for your support
In  /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini a replace "plugins =python3syslog" by "plugins = python3,syslog"

After that mlmmjadmin service start correct

4

Re: IredAdmin Pro - Can't edit user mlmmjadmin not running

And the issue with edit User in IredAdmin-Pro is solved.

5

Re: IredAdmin Pro - Can't edit user mlmmjadmin not running

lubos.prchal@siconet.cz wrote:

In  /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini a replace "plugins =python3syslog" by "plugins = python3,syslog"

Turns out it's a bug of iRedMail-1.6.1 installer, fixed and re-tagged v1.6.1.
Thanks for the feedback. smile