quota command doesn't report a thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm using version 2.3.7 and the quota command return nothing when invoked with a mailbox prefix.

cyrus@himalaya:~$ quota -C /mail/mail1/etc/imapd.conf \ user/rudy.gevaert@xxxxxxxx
   Quota   % Used     Used Root
cyrus@himalaya:~$

But getting every bodies quota returns the correct number.
cyrus@himalaya:~$ quota -C /mail/mail1/etc/imapd.conf |grep rudy.gevaert

  500000       55   278374 user/rudy.gevaert@xxxxxxxx

cyradm returns the correct usage too.

I'm using the skiplist backend for the quota databases.

Could this be a bug?

A strace output is attached.

Does anybody using virtual domains confirm this?

Thanks in advance,

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@xxxxxxxx          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
execve("/usr/cyrus/bin/quota", ["/usr/cyrus/bin/quota", "-C", "/mail/mail1/etc/imapd.conf", "user/rudy.gevaert@xxxxxxxx"], [/* 13 vars */]) = 0
uname({sys="Linux", node="himalaya", ...}) = 0
brk(0)                                  = 0x810b000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f99000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/mmx/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/mmx/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/mmx", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/mmx/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/mmx/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/mmx", 0xbffdfc98)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbffdfc98)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/mmx/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx/cmov", 0xbffdfc98) = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx", 0xbffdfc98)      = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xbffdfc98)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libsasl2.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3002\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=84820, ...}) = 0
old_mmap(NULL, 83820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f84000
old_mmap(0xb7f98000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x14000) = 0xb7f98000
close(3)                                = 0
open("/usr/lib/i686/cmov/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20214, ...}) = 0
old_mmap(NULL, 20214, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f7f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220)\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=64924, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7e000
old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f6c000
old_mmap(0xb7f7b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0xb7f7b000
old_mmap(0xb7f7c000, 8104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f7c000
close(3)                                = 0
open("/usr/lib/i686/cmov/libdb-4.3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libdb-4.3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdb-4.3.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pq\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=927560, ...}) = 0
old_mmap(NULL, 931196, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7e88000
old_mmap(0xb7f69000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe0000) = 0xb7f69000
close(3)                                = 0
open("/usr/lib/i686/cmov/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\205\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=198576, ...}) = 0
old_mmap(NULL, 199344, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7e57000
old_mmap(0xb7e85000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2e000) = 0xb7e85000
close(3)                                = 0
open("/usr/lib/i686/cmov/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\300"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1029704, ...}) = 0
old_mmap(NULL, 1043640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7d58000
old_mmap(0xb7e42000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0xb7e42000
old_mmap(0xb7e54000, 11448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e54000
close(3)                                = 0
open("/usr/lib/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1254660, ...}) = 0
old_mmap(NULL, 1264972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7c23000
old_mmap(0xb7d4d000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0xb7d4d000
old_mmap(0xb7d56000, 7500, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d56000
close(3)                                = 0
open("/usr/lib/i686/cmov/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7c20000
old_mmap(0xb7c22000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0xb7c22000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c1f000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7c1f880, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f7f000, 20214)               = 0
geteuid32()                             = 980
brk(0)                                  = 0x810b000
brk(0x812c000)                          = 0x812c000
brk(0)                                  = 0x812c000
open("/mail/mail1/etc/imapd.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1490, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f83000
read(3, "# $Id: imapd.conf 189 2006-09-10"..., 4096) = 1490
open("/mail/mail1/etc/syncpass", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f82000
read(4, "sync_password: ORXTWjs7\n", 4096) = 24
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7f82000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f83000, 4096)                = 0
umask(077)                              = 022
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=400, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f83000
read(3, "/dev/sda1 / ext3 rw,errors=remou"..., 4096) = 400
close(3)                                = 0
munmap(0xb7f83000, 4096)                = 0
open("/proc/stat", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f83000
read(3, "cpu  150205016 1785 30396785 459"..., 1024) = 900
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7f83000, 4096)                = 0
stat64("/mail/mail1/var/imap/db/DB_CONFIG", 0xbffdfda0) = -1 ENOENT (No such file or directory)
open("/mail/mail1/var/imap/db/DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
stat64("/mail/mail1/var/imap/db/__db.001", {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0
open("/mail/mail1/var/imap/db/__db.001", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0
close(3)                                = 0
open("/mail/mail1/var/imap/db/__db.001", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7f80000
close(3)                                = 0
stat64("/mail/mail1/var/imap/db/__db.002", {st_mode=S_IFREG|0600, st_size=663552, ...}) = 0
open("/mail/mail1/var/imap/db/__db.002", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 663552, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7b7d000
close(3)                                = 0
stat64("/mail/mail1/var/imap/db/__db.003", {st_mode=S_IFREG|0600, st_size=98304, ...}) = 0
open("/mail/mail1/var/imap/db/__db.003", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 98304, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7b65000
close(3)                                = 0
stat64("/mail/mail1/var/imap/db/__db.004", {st_mode=S_IFREG|0600, st_size=18563072, ...}) = 0
open("/mail/mail1/var/imap/db/__db.004", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 18563072, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb69b1000
close(3)                                = 0
stat64("/mail/mail1/var/imap/db/__db.005", {st_mode=S_IFREG|0600, st_size=32768, ...}) = 0
open("/mail/mail1/var/imap/db/__db.005", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb69a9000
close(3)                                = 0
open("/mail/mail1/var/imap/db/skipstamp", O_RDONLY) = 3
read(3, "ED\303\246", 4)                = 4
close(3)                                = 0
time(NULL)                              = 1168004834
getpid()                                = 16582
open("/mail/mail1/var/imap/mailboxes.db", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(3, {st_mode=S_IFREG|0600, st_size=11904520, ...}) = 0
stat64("/mail/mail1/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=11904520, ...}) = 0
mmap2(NULL, 11919360, PROT_READ, MAP_SHARED, 3, 0) = 0xb5e4b000
fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/mail/mail1/var/imap/quotas.db", O_RDWR) = 4
fcntl64(4, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(4, {st_mode=S_IFREG|0600, st_size=2379532, ...}) = 0
stat64("/mail/mail1/var/imap/quotas.db", {st_mode=S_IFREG|0600, st_size=2379532, ...}) = 0
mmap2(NULL, 2392064, PROT_READ, MAP_SHARED, 4, 0) = 0xb5c03000
fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl64(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(3, {st_mode=S_IFREG|0600, st_size=11904520, ...}) = 0
stat64("/mail/mail1/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=11904520, ...}) = 0
fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
munmap(0xb5c03000, 2392064)             = 0
close(4)                                = 0
munmap(0xb5e4b000, 11919360)            = 0
close(3)                                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb69a8000
write(1, "   Quota   % Used     Used Root\n", 32) = 32
munmap(0xb69a9000, 32768)               = 0
munmap(0xb7b65000, 98304)               = 0
munmap(0xb69b1000, 18563072)            = 0
munmap(0xb7b7d000, 663552)              = 0
munmap(0xb7f80000, 16384)               = 0
munmap(0xb69a8000, 4096)                = 0
exit_group(0)                           = ?
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux