[Dovecot] dovecot 2.2.10 - imap: Error: Can't load plugin imap_stats_plugin:

giovanni at neweden.uk.to giovanni at neweden.uk.to
Mon Dec 30 15:29:55 EET 2013


dovecot 2.2.10 is raising this error on my installation.

Dec 30 13:57:59 imap: Error: Can't load plugin imap_stats_plugin: Plugin 
stats must be loaded also (you must set: mail_plugins=$mail_plugins 
stats)
Dec 30 13:57:59 imap: Fatal: Couldn't load required plugins

This error occurs at logging phase.

The dovecot configuration looks correct to me, here below an excerpt of 
it:

...
...
mail_plugins=$mail_plugins stats
protocol imap {
   mail_plugins = $mail_plugins imap_stats
}
plugin {
   # how often to session statistics
   stats_refresh = 30 secs
   # track per-IMAP command statistics
   stats_track_cmds = yes
}
...
...

I was already using this configuration but only now I am getting this 
error.

 From STRACE I see that the stat plugin is correctly localed .

Is anybody else getting this error? or am I missing something?


Here below an except of the strace message.

[pid 17112] open("/usr/local/lib/dovecot/lib95_imap_stats_plugin.so", 
O_RDONLY) = 14
[pid 17112] read(14, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\t\0\0004\0\0\0"..., 
512) = 512
[pid 17112] fstat64(14, {st_mode=S_IFREG|0755, st_size=53122, ...}) = 0
[pid 17112] mmap2(NULL, 8908, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 14, 0) = 0xf7609000
[pid 17112] mmap2(0xf760b000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 14, 0x1) = 0xf760b000
[pid 17112] close(14)                   = 0
[pid 17112] open("/usr/local/lib/dovecot/lib90_stats_plugin.so", 
O_RDONLY) = 14
[pid 17112] read(14, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\24\0\0004\0\0\0"..., 
512) = 512
[pid 17112] fstat64(14, {st_mode=S_IFREG|0755, st_size=100054, ...}) = 0
[pid 17112] mmap2(NULL, 20320, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 14, 0) = 0xf7604000
[pid 17112] mmap2(0xf7608000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 14, 0x3) = 0xf7608000
[pid 17112] close(14)                   = 0
[pid 17112] write(2, "\1\01017112 prefix=imap: \n", 22) = 22
[pid 17112] write(2, "\1\00417112 Can't load plugin imap_s"..., 127) = 
127
[pid 17112] munmap(0xf7609000, 8908)    = 0
[pid 17112] munmap(0xf7604000, 20320)   = 0
[pid 17112] write(2, "\1\00517112 Couldn't load required p"..., 39) = 39
[pid 17112] exit_group(89)              = ?
Process 17112 detached



More information about the dovecot mailing list