重启 uwsgi 服务。它的 log 文件位置可在以下文档找到:
http://www.iredmail.com/docs/file.locations.html
用命令:service uwsgi restart 后显示:uwsgi: 未被识别的服务
用命令:rpm -ql uwsgi* 显示:package uwsgi* is not installed
uwsgi不是安装iredmail时就安装的吗?现在是否重新安装?
安装后又要如何设置?
我用命令:yum install -y uwsgi后显示:
http://packages.inverse.ca/SOGo/nightly … epomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'packages.inverse.ca'"
尝试其他镜像。
Skipping filters plugin, no data
0 packages excluded due to repository protections
No package uwsgi available.
错误:无须任何处理
命令:whereis uwsgi
显示:uwsgi: /etc/uwsgi.d /etc/uwsgi.ini
/etc/uwsgi.ini内容:
[uwsgi]
# Run in background and log to file
daemonize = /var/log/uwsgi/uwsgi.log
# try to autoload appropriate plugin if "unknown" option has been specified
autoload = true
# enable master process manager
master = true
# spawn 2 uWSGI worker processes
workers = 2
# automatically kill workers on master's death
no-orphans = true
# write master's pid in file
pidfile = /var/run/uwsgi.pid
# bind to UNIX socket file
socket = /var/run/uwsgi.socket
# set mode of created UNIX socket
chmod-socket = 660
# place timestamps into log
log-date = true
# user identifier of uWSGI processes
#uid = uwsgi
# group identifier of uWSGI processes
#gid = uwsgi
# multi-app deployment
emperor = /etc/uwsgi.d
emperor-tyrant = false
命令:yum remove uwsgi
显示:参数 uwsgi 没有匹配
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: ftp.sjtu.edu.cn
* updates: ftp.sjtu.edu.cn
SOGo | 951 B 00:00
SOGo/primary | 9.1 kB 00:00
SOGo 41/41
_local | 2.9 kB 00:00 ...
0 packages excluded due to repository protections
不删除任何软件包
如何解决?