1

Topic: iRedAPD-2.6 did not start after update

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version 0.9.9:
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Freenas System 11.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGWSL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
after the update from iRedAPD-2.4 to iRedAPD-2.6 the service iredapd did not start.

service iredapd start
Starting iredapd.
Traceback (most recent call last):
  File "/opt/iredapd/iredapd.py", line 20, in <module>
    from libs import __version__, daemon, utils
  File "/opt/iRedAPD-2.6/libs/utils.py", line 16, in <module>
    from libs.logger import logger
  File "/opt/iRedAPD-2.6/libs/logger.py", line 22, in <module>
    _handler = SysLogHandler(address=_server, facility=settings.SYSLOG_FACILITY)
  File "/usr/local/lib/python2.7/logging/handlers.py", line 761, in __init__
    self._connect_unixsocket(address)
  File "/usr/local/lib/python2.7/logging/handlers.py", line 804, in _connect_unixsocket
    self.socket.connect(address)
  File "/usr/local/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 2] No such file or directory

Some days ago I added the line:
ALLOWED_LOGIN_MISMATCH_LIST_MEMBER = True
at the end of the file /opt/iredapd/settings.py to allow users to send with alias accouts.

Is this the problem ?

I change the link /opt/iredapd to iRedAPD-2.4

Now I seems to work again with the old version.

Any solution to run version 2.6 ?

Thanks
Olivier

----

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

2

Re: iRedAPD-2.6 did not start after update

Please add parameter below in /opt/iredapd/settings.py, then restart iredapd service:

SYSLOG_SERVER = '/var/run/log'

3

Re: iRedAPD-2.6 did not start after update

UPDATE: I repacked iRedAPD-2.6 with this fix, it will add this parameter automatically.

4

Re: iRedAPD-2.6 did not start after update

Thanks a lot. Enjoy the coffee :-)

5

Re: iRedAPD-2.6 did not start after update

Thanks for the coffee. And iRedAPD-2.7 has been released with one important fix, please upgrade.