<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail 开源邮件服务解决方案 - 麻烦张老师帮我看下我这安装重启完访问/iredadmin 502]]></title>
		<link>https://bbs.iredmail.org/topic3784-iredadmin-502.html</link>
		<atom:link href="https://bbs.iredmail.org/feed-rss-topic3784.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[麻烦张老师帮我看下我这安装重启完访问/iredadmin 502 里最新回复的文章]]></description>
		<lastBuildDate>Fri, 21 Sep 2018 03:19:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[回复: 麻烦张老师帮我看下我这安装重启完访问/iredadmin 502]]></title>
			<link>https://bbs.iredmail.org/post16123.html#p16123</link>
			<description><![CDATA[<p>谢谢</p>]]></description>
			<author><![CDATA[null@example.com (zhen_4183)]]></author>
			<pubDate>Fri, 21 Sep 2018 03:19:57 +0000</pubDate>
			<guid>https://bbs.iredmail.org/post16123.html#p16123</guid>
		</item>
		<item>
			<title><![CDATA[回复: 麻烦张老师帮我看下我这安装重启完访问/iredadmin 502]]></title>
			<link>https://bbs.iredmail.org/post16122.html#p16122</link>
			<description><![CDATA[<p>手工安装软件包：uwsgi-plugin-python2，然后重启 uwsgi 服务应该就ok了。</p><p>软件包的名字原本是 uwsgi-plugin-python，后面在 epel 仓库里被改名了，导致这个问题。</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 21 Sep 2018 03:07:18 +0000</pubDate>
			<guid>https://bbs.iredmail.org/post16122.html#p16122</guid>
		</item>
		<item>
			<title><![CDATA[麻烦张老师帮我看下我这安装重启完访问/iredadmin 502]]></title>
			<link>https://bbs.iredmail.org/post16121.html#p16121</link>
			<description><![CDATA[<p>- iRedMail 版本号：0.9.8<br />- 使用哪个数据库存储用户帐号（OpenLDAP，MySQL，PostgreSQL）：OpenLDAP<br />- 使用的 Linux/BSD 发行版名称及版本号：CentOS 7<br />- 与您的问题相关的日志信息： <br />[root@mx ~]# cat /var/log/uwsgi/uwsgi.log <br />Thu Sep 20 17:18:36 2018 - *** Starting uWSGI 2.0.17.1 (64bit) on [Thu Sep 20 17:18:36 2018] ***<br />Thu Sep 20 17:18:36 2018 - compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-28) on 09 July 2018 03:58:51<br />Thu Sep 20 17:18:36 2018 - os: Linux-3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018<br />Thu Sep 20 17:18:36 2018 - nodename: mx.dongao.com<br />Thu Sep 20 17:18:36 2018 - machine: x86_64<br />Thu Sep 20 17:18:36 2018 - clock source: unix<br />Thu Sep 20 17:18:36 2018 - pcre jit disabled<br />Thu Sep 20 17:18:36 2018 - detected number of CPU cores: 4<br />Thu Sep 20 17:18:36 2018 - current working directory: /<br />Thu Sep 20 17:18:36 2018 - writing pidfile to /run/uwsgi/uwsgi.pid<br />Thu Sep 20 17:18:36 2018 - detected binary path: /usr/sbin/uwsgi<br />Thu Sep 20 17:18:36 2018 - uWSGI running as root, you can use --uid/--gid/--chroot options<br />Thu Sep 20 17:18:36 2018 - *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** <br />Thu Sep 20 17:18:36 2018 - your processes number limit is 15075<br />Thu Sep 20 17:18:36 2018 - your memory page size is 4096 bytes<br />Thu Sep 20 17:18:36 2018 - detected max file descriptor number: 1024<br />Thu Sep 20 17:18:36 2018 - lock engine: pthread robust mutexes<br />Thu Sep 20 17:18:36 2018 - thunder lock: disabled (you can enable it with --thunder-lock)<br />Thu Sep 20 17:18:36 2018 - uwsgi socket 0 bound to UNIX address /var/run/uwsgi.socket fd 4<br />Thu Sep 20 17:18:36 2018 - uWSGI running as root, you can use --uid/--gid/--chroot options<br />Thu Sep 20 17:18:36 2018 - *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** <br />Thu Sep 20 17:18:36 2018 - uWSGI running as root, you can use --uid/--gid/--chroot options<br />Thu Sep 20 17:18:36 2018 - *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** <br />Thu Sep 20 17:18:36 2018 - your server socket listen backlog is limited to 100 connections<br />Thu Sep 20 17:18:36 2018 - your mercy for graceful operations on workers is 60 seconds<br />Thu Sep 20 17:18:36 2018 - mapped 218760 bytes (213 KB) for 2 cores<br />Thu Sep 20 17:18:36 2018 - *** Operational MODE: preforking ***<br />Thu Sep 20 17:18:36 2018 - *** no app loaded. going in full dynamic mode ***<br />Thu Sep 20 17:18:36 2018 - uWSGI running as root, you can use --uid/--gid/--chroot options<br />Thu Sep 20 17:18:36 2018 - *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** <br />Thu Sep 20 17:18:36 2018 - *** uWSGI is running in multiple interpreter mode ***<br />Thu Sep 20 17:18:36 2018 - spawned uWSGI master process (pid: 512)<br />Thu Sep 20 17:18:36 2018 - spawned uWSGI worker 1 (pid: 520, cores: 1)<br />Thu Sep 20 17:18:36 2018 - spawned uWSGI worker 2 (pid: 523, cores: 1)<br />Thu Sep 20 17:18:36 2018 - *** starting uWSGI Emperor ***<br />*** has_emperor mode detected (fd: 7) ***<br />[uWSGI] getting INI configuration from iredadmin.ini<br />*** Starting uWSGI 2.0.17.1 (64bit) on [Thu Sep 20 17:18:36 2018] ***<br />compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-28) on 09 July 2018 03:58:51<br />os: Linux-3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018<br />nodename: mx.dongao.com<br />machine: x86_64<br />clock source: unix<br />pcre jit disabled<br />detected number of CPU cores: 4<br />current working directory: /etc/uwsgi.d<br />writing pidfile to /run/uwsgi/iredadmin.pid<br />detected binary path: /usr/sbin/uwsgi<br />your processes number limit is 15075<br />your memory page size is 4096 bytes<br />detected max file descriptor number: 1024<br />VirtualHosting mode enabled.<br />lock engine: pthread robust mutexes<br />thunder lock: disabled (you can enable it with --thunder-lock)<br />uwsgi socket 0 bound to UNIX address /run/uwsgi/iredadmin.socket fd 3<br />setgid() to 2001<br />setuid() to 2001<br />Python version: 2.7.5 (default, Aug&nbsp; 4 2017, 00:39:18)&nbsp; [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]<br />Python main interpreter initialized at 0x1234180<br />python threads support enabled<br />your server socket listen backlog is limited to 100 connections<br />your mercy for graceful operations on workers is 60 seconds<br />mapped 145840 bytes (142 KB) for 1 cores<br />*** Operational MODE: single process ***<br />*** no app loaded. going in full dynamic mode ***<br />*** uWSGI is running in multiple interpreter mode ***<br />spawned uWSGI master process (pid: 524)<br />Thu Sep 20 17:18:36 2018 - [emperor] vassal iredadmin.ini has been spawned<br />spawned uWSGI worker 1 (pid: 547, cores: 1)<br />Thu Sep 20 17:18:36 2018 - SIGINT/SIGQUIT received...killing workers...<br />Thu Sep 20 17:18:36 2018 - waiting for Emperor death...<br />Thu Sep 20 17:18:36 2018 - [emperor] *** RAGNAROK EVOKED ***<br />Thu Sep 20 17:18:36 2018 - [emperor] stop the uwsgi instance iredadmin.ini<br />SIGINT/SIGQUIT received...killing workers...<br />Thu Sep 20 17:18:36 2018 - received message 0 from emperor<br />Thu Sep 20 17:18:37 2018 - waiting for Emperor death...<br />Thu Sep 20 17:18:38 2018 - waiting for Emperor death...<br />Thu Sep 20 17:18:39 2018 - waiting for Emperor death...<br />Thu Sep 20 17:18:40 2018 - waiting for Emperor death...<br />uwsgi_master_manage_emperor()/read(): Bad file descriptor [core/emperor.c line 2431]<br />lost connection with my emperor !!!<br />Thu Sep 20 17:18:41 2018 - The Emperor has been buried (pid: 516)<br />Thu Sep 20 17:18:41 2018 - worker 1 buried after 5 seconds<br />Thu Sep 20 17:18:41 2018 - worker 2 buried after 5 seconds<br />Thu Sep 20 17:18:41 2018 - goodbye to uWSGI.<br />Thu Sep 20 17:18:43 2018 - uWSGI worker 1 screams: UAAAAAAH my master disconnected: i will kill myself !!!</p><br /><br /><p>[root@mx ~]# cat /var/log/nginx/error.log <br />2018/09/20 16:55:01 [crit] 15603#0: *3 connect() to unix:/var/run/php-fpm.socket failed (2: No such file or directory) while connecting to upstream, client: 172.16.206.47, server: _, request: &quot;GET /mail/ HTTP/1.1&quot;, upstream: &quot;fastcgi://unix:/var/run/php-fpm.socket:&quot;, host: &quot;172.16.0.19&quot;, referrer: &quot;<a href="https://172.16.0.19/">https://172.16.0.19/</a>&quot;<br />2018/09/20 16:55:03 [crit] 15603#0: *3 connect() to unix:/var/run/php-fpm.socket failed (2: No such file or directory) while connecting to upstream, client: 172.16.206.47, server: _, request: &quot;GET /mail/ HTTP/1.1&quot;, upstream: &quot;fastcgi://unix:/var/run/php-fpm.socket:&quot;, host: &quot;172.16.0.19&quot;<br />2018/09/20 16:55:55 [crit] 15603#0: *19 connect() to unix:/run/uwsgi/iredadmin.socket failed (2: No such file or directory) while connecting to upstream, client: 172.16.206.47, server: _, request: &quot;GET /iredadmin HTTP/1.1&quot;, upstream: &quot;uwsgi://unix:/run/uwsgi/iredadmin.socket:&quot;, host: &quot;172.16.0.19&quot;<br />2018/09/20 16:55:58 [crit] 15603#0: *19 connect() to unix:/run/uwsgi/iredadmin.socket failed (2: No such file or directory) while connecting to upstream, client: 172.16.206.47, server: _, request: &quot;GET /iredadmin HTTP/1.1&quot;, upstream: &quot;uwsgi://unix:/run/uwsgi/iredadmin.socket:&quot;, host: &quot;172.16.0.19&quot;</p><br /><br /><br /><p>访问/mail都没问题，访问/iredadmin 502 ，我看uwsgi服务是启动的</p>]]></description>
			<author><![CDATA[null@example.com (zhen_4183)]]></author>
			<pubDate>Thu, 20 Sep 2018 10:05:44 +0000</pubDate>
			<guid>https://bbs.iredmail.org/post16121.html#p16121</guid>
		</item>
	</channel>
</rss>
