1 (edited by pedro_am 2018-05-26 23:51:41)

Topic: Unable to start uwsgi

==== Required information ====
- iRedMail version (check /etc/iredmail-release): latest
- Linux/BSD distribution name and version: debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): pgsql
- 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.
====

uwsgi is unable to start the pid for iredmail control panel , i get

[FAIL] Starting app server(s): uwsgi -> ! failed!

on /etc/logrotate.d/ there is nothing related to this error

uwsgi.ini was not found in /etc main folder , so i copied from iredmail sample folder this file and placed it in /etc folder .
However that did not bring any changes .

executing :
uwsgi --ini /etc/uwsgi.ini

i get :
[uWSGI] getting INI configuration from /etc/uwsgi.ini

running uwsgi indenpedently i get :

current working directory: /root
detected binary path: /usr/bin/uwsgi-core
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 14961
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
The -s/--socket option is missing and stdin is not a socket.

Any ideas ?

everything else is working fine in iredmail package

----

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