主题: 登陆 /iredadmin/ 502错误
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.6
- 与您的问题相关的日志信息:
登陆前台页面正常,发送邮件也正常,但是等了半个小时,貌似无法接受邮件,登陆 /iredadmin/时报502错误。uwsgi 启动报错,信息如下:
Starting uwsgi Fast, self-healing, application container server: [uWSGI] getting INI configuration from /etc/uwsgi.ini
setting capability setgid [6]
setting capability setuid [7]
*** Starting uWSGI 2.0.9 (32bit) on [Fri May 29 23:40:38 2015] ***
compiled with version: 4.4.7 20120313 (Red Hat 4.4.7-11) on 23 April 2015 19:31:06
os: Linux-2.6.32-504.el6.i686 #1 SMP Wed Oct 15 03:02:07 UTC 2014
nodename: mail.xxx.cn
machine: i686
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /etc/nginx/conf.d
writing pidfile to /run/uwsgi/uwsgi.pid
detected binary path: /usr/sbin/uwsgi
setgid() to 487
setuid() to 491
your processes number limit is 124640
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)
your mercy for graceful operations on workers is 60 seconds
*** starting uWSGI Emperor ***
*** Operational MODE: no-workers ***
spawned uWSGI master process (pid: 3798)
bind(): Permission denied [core/socket.c line 230]
waiting for Emperor death...
[emperor] *** RAGNAROK EVOKED ***
Fri May 29 23:40:38 2015 - The Emperor is buried.
The Emperor has been buried (pid: 3799)
...brutally killing workers...
[失败]
nginx的error.log如下:
015/05/29 19:42:03 [crit] 2494#0: *82 connect() to unix:/var/run/uwsgi_iredadmin.socket failed (2: No such file or directory) while connecting to upstream client: XXX.XXX.XXX.XXX, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi_iredadmin.socket:", host: "XXX.XXX.XXX.XXX"
====
谁能帮看看,是什么原因啊