Topic: UWSGI Breaking issue
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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.
======== Required information ====
- iRedMail 0.9.7 MARIADB edition running on Debian 8.
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Just free, sorry.
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hey! So, I've been getting a bit of an issue from uwsgi. After looking at this issue - I got a basic understanding that UWSGI was to blame. Unfourtanately, no matter how many different shapes I try, I get no logs, no errors, just a broken UWSGI that will not start or restart. And yes, I have tried restarting.
Mail works fine. People are actually praising me for how speedy the mail is.
Here are some things if you want it:
Restarting UWSGI:
root@maimail:~# service uwsgi restart
Job for uwsgi.service failed. See 'systemctl status uwsgi.service' and 'journalctl -xn' for details.
root@maimail:~# systemctl status uwsgi.service
● uwsgi.service - LSB: Start/stop uWSGI server instance(s)
Loaded: loaded (/etc/init.d/uwsgi)
Active: failed (Result: exit-code) since Wed 2017-11-22 09:05:55 EST; 7s ago
Process: 3090 ExecStart=/etc/init.d/uwsgi start (code=exited, status=1/FAILURE)
Nov 22 09:05:55 maimail.co uwsgi[3090]: Starting app server(s): uwsgi -> ! failed!
Nov 22 09:05:55 maimail.co systemd[1]: uwsgi.service: control process exited, code=exited status=1
Nov 22 09:05:55 maimail.co systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
Nov 22 09:05:55 maimail.co systemd[1]: Unit uwsgi.service entered failed state.
/etc/uwsgi/apps-enabled/iredadmin.ini
[uwsgi]
plugins = python
vhost = true
socket = /var/run/uwsgi_iredadmin.socket
#pidfile = /var/run/uwsgi_iredadmin.pid
chown-socket = www-data:www-data
chmod-socket = 660
uid = iredadmin
gid = iredadmin
enable-threads = true
logto = /var/log/iru.log
(Yes, I did add the logto - It's still not showing anything however.)
/var/log/nginx/error.log
2017/11/21 12:06:26 [crit] 15530#15530: *153 connect() to unix:/var/run/uwsgi_iredadmin.socket failed (2: No such file or directory) while connecting to upstream, client: Nah, server: maimail.co, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi_iredadmin.socket:", host: "maimail.co"
Any and all help would be very much appreciated. Thanks so much! x3
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.