Re: [Dovecot] dovecot mmap() complaints: No such device

2007-03-29 Thread sergey ivanov
Excuse me,
I've forgotten to write:
it's linux, and filesystem is fuse mounted zfs volume, see
http://www.wizy.org.
After uncommenting mmap_disable line in dovecot.conf, changing 'no' to
'yes' and restarting dovecot thre are no new complaints in logs.
Thank you.
-- 
Sergey Ivanov

Timo Sirainen wrote:
 On Thu, 2007-03-29 at 00:26 -0400, sergey ivanov wrote:
   
 Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index
 file /home/seriv/.imap/dovecot.index: No such device
 

ENODEV The underlying filesystem of the specified file does not
 support
   memory mapping.

 What OS/filesystem are you using? Anyway, mmap_disable=yes helps.

   



[Dovecot] dovecot mmap() complaints: No such device

2007-03-28 Thread sergey ivanov
I'm trying to use dovecot-deliver with sieve plugin, delivering to
Maildirs. Everything seems working O.K., but I'm getting the following
lines in /var/log/maillog:
---
Mar 29 00:06:00 alt64 dovecot: imap-login: Login: user=seriv,
method=PLAIN, rip=66.80.117.2, lip=192.168.10.8, TLS
Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index
file /home/seriv/.imap/dovecot.index: No such device
...
Mar 29 00:06:19 alt64 deliver(seriv): mmap() failed with index file
/home/seriv/.imap/dovecot.index: No such device
Mar 29 00:06:19 alt64 deliver(seriv):
msgid=[EMAIL PROTECTED]: saved mail to INBOX
Mar 29 00:06:19 alt64 postfix/local[15166]: 6294A141C269:
to=[EMAIL PROTECTED], relay=local, delay=0.24, delays=0.03/0.01/0/0.2,
dsn=2.0.0, status=sent (delivered to command: /usr/lib64/dovecot/deliver
-d ${USER})
Mar 29 00:06:19 alt64 postfix/qmgr[20933]: 6294A141C269: removed
---
I have tried to enable rawlog, but have corresponding rawlog file do not
explain the problem for me:
---
3 select INBOX
4 UID fetch 1:* (FLAGS)
5 UID fetch 43498:43501 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS
(From To Cc Subject Date Message-ID Priority X-Priority References
Newsgroups In-Reply-To Content-Type)])
6 UID fetch 43500 (UID RFC822.SIZE BODY.PEEK[])
7 uid store 43500 +FLAGS (NonJunk)
8 IDLE
---
Dovecot compiled from cvs branch_1_0 at March 25.
---
$ sudo dovecot -n
Password:
# /etc/dovecot/dovecot.conf
ssl_cert_file: /etc/postfix/cert.pem
ssl_key_file: /etc/postfix/key.pem
login_dir: /var/run/dovecot/login
login_executable: /usr/lib64/dovecot/imap-login
mail_extra_groups: mail
mail_location: maildir:/home/%u/.imap
mail_executable: /usr/lib64/dovecot/rawlog /usr/lib64/dovecot/imap
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 438
---
/home mounted as zfs-fuse filesystem. I guess the problem due to fuse
mounted filesystem.

-- 
With best regards,
   Sergey Ivanov.





Re: [Dovecot] dovecot mmap() complaints: No such device

2007-03-28 Thread Timo Sirainen
On Thu, 2007-03-29 at 00:26 -0400, sergey ivanov wrote:
 Mar 29 00:06:00 alt64 dovecot: IMAP(seriv): mmap() failed with index
 file /home/seriv/.imap/dovecot.index: No such device

   ENODEV The underlying filesystem of the specified file does not
support
  memory mapping.

What OS/filesystem are you using? Anyway, mmap_disable=yes helps.



signature.asc
Description: This is a digitally signed message part