Re: script to check quota failed

2019-03-19 Thread Stephane Branchoux
Hello, My solution was to rename a user sub folder whose length was 240 caracters ( file name too long). open("/var/lib/imap/quota/a/user.myuser.Diffusion 2nd degr&AOk-.Circulaire relative au d&AOk-tachement de fonctionnaires dans les corps enseignants du second degr&AOk-, des personnels d'

Re: script to check quota failed

2019-03-18 Thread Simon Matter via Info-cyrus
> Hi, > > seems that there is a problem with your cyrus quota tree > (/var/lib/cyrus/quota) or at least some of its files. In the case of RHEL6 this will be /var/lib/imap/quota/. I suggest to look at the quota files there, they have names like user. and are text files with two lines. Should be ea

Re: script to check quota failed

2019-03-18 Thread Anthony Prades via Info-cyrus
Hi, seems that there is a problem with your cyrus quota tree (/var/lib/cyrus/quota) or at least some of its files. Maybe strace command may help you find which files are corrupt: su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user" Anthony Prades On 3/18/19 2:32 PM, Stephane Branchoux wrote:

script to check quota failed

2019-03-18 Thread Stephane Branchoux
Hello, We run cyrus-imapd-2.3.16-6 on a Red Hat Enterprise Linux Server release 6.10. 2 days ago, a power crash occured in our Datacenter. After reboot of cyrus imap, all seems ok except our script to check quota : su - cyrus -c "/usr/lib/cyrus-imapd/quota user" failed building quota list fo