Topic: iredadmin 502, uwsgi not found
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: freebsd 12.1
- 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.
====
Hi.
mydomain/iredadmin is giving a 502 - bad gateway. Roundcube works.
Nginx error.log says:
[error] 2411#100459: *2491 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: ip.d.d.d, server: my.domain.com, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "my.domain.com"
$ sudo service ireadadmin status
ireadadmin is stopped
$ sudo service ireadadmin start
eval: uwsgi: not found
$ sudo service mlmmjadmin status
mlmmjadmin is stopped
$ sudo service mlmmjadmin start
eval: uwsgi: not found
I'm not sure why it is missing, but it looks like it is needed by iredamdin and mlmmjadmin.
It is available in uwsgi: /usr/ports/www/uwsgi
Can I go ahead and just run make install clean and restart the services to get it working again?
Many thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.