Проблема

Служба dirsrv перестает работать.

Диагностика

  • Убедиться, что после создания пользователя средствами LDIF-файла служба dirsrv@<имя_домена> останавливается.
  • Проверить в файле /var/log/dirsrv/slapd-<имя_домена>/errors наличие сообщений вида:
    ERR - handle_mails - [file src/watch_mail_proxy.c, line 894]: mail is too long
    ...
    ERR - memory allocator - malloc of 133852295258177 bytes failed; OS error 12 (Cannot allocate memory)
    The server has probably allocated all available virtual memory. To solve
    this problem, make more virtual memory available to your server, or reduce
    one or more of the following server configuration settings:
      nsslapd-cachesize        (Database Settings - Maximum entries in cache)
      nsslapd-cachememsize     (Database Settings - Memory available for cache)
      nsslapd-dbcachesize      (LDBM Plug-in Settings - Maximum cache size)
      nsslapd-import-cachesize (LDBM Plug-in Settings - Import cache size).
    Can't recover; calling exit(1).

Возможная причина: Передача атрибута mail без значения. Перейти к решению.


Возможные причины