Topic: iredapd update error[Resolved]
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable install
- Linux/BSD distribution name and version: centos 8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- 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.
====
我在升级1.2.1到1.3时,根据提示,需要升级iredapd,下载了iredapd 5.2 结果报错。
* Detected Linux/BSD distribution: RHEL
* Checking dependent Python modules:
+ [required] wheel
+ [required] sqlalchemy
+ [required] dnspython
+ [required] requests
+ [required] web.py
* Found iRedAPD directory: /opt/iredapd, symbol link of iRedAPD-3.6
* Found iRedAPD config file: /opt/iredapd/settings.py
* Add new SQL tables - if there's any
* Copying new version to /opt/iRedAPD-5.2
* Copy old config file: settings.py (/opt/iredapd/settings.py -> /opt/iRedAPD-5.2/settings.py)
* Copy custom plugins: iRedAPD-3.6/plugins/custom_*.py.
* Set correct owner and permission for /opt/iRedAPD-5.2: root:root, 0500.
* Set permission for iRedAPD config file: /opt/iRedAPD-5.2/settings.py -> 0400.
* Re-create symbol link: /opt/iredapd -> /opt/iRedAPD-5.2
* Copy new SysV init script.
Redirecting to /bin/systemctl restart rsyslog.service
* Replace py2 by py3 in cron jobs.
* Restarting iRedAPD service.
iredapd is already stopped.
Starting iredapd ...
Traceback (most recent call last):
File "/opt/iredapd/iredapd.py", line 104, in <module>
main()
File "/opt/iredapd/iredapd.py", line 48, in main
plugins=settings.plugins)
File "/opt/iRedAPD-5.2/libs/channel.py", line 31, in __init__
self.bind(local_addr)
File "/usr/lib64/python3.6/asyncore.py", line 329, in bind
return self.socket.bind(addr)
OSError: [Errno 98] Address already in use
* Upgrade completed.
现在该如何操作,是因为下载的版本太新了吗?
我的python3版本是[root@mx ~]# python3 --version
Python 3.6.8
[root@mx ~]# python2 --version
Python 2.7.17
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.