reconstruction problems

stas khromoy stas at edpausa.com
Fri Dec 15 13:46:49 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

andrew

are you sure about quota -f ?
i don't believe there is one

and looking at the man page for quota
i don't see it either
it has only -q -l -g -v -u as switches

thanks


Andrew Morgan wrote:
> On Fri, 15 Dec 2006, stas khromoy wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> i've tried -f option as well
>> and it came up with the same result
>>
>> i've monitored both /var/log/imapd.log and /var/log/messages
>> for errors during reconstruction ..i did not see anything
>>
>> searched for imap_ioerror string as well in the above logs with no
>> results.
>>
>> http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg02200.html
>>
>> i found this old post
>> where the guy resolved the issue by creating the error causing folder
>> and running reconstruct again
>>
>> thou he is getting
>> "system I/O error No such file or directory"
>> i only see
>> "system I/O error system I/O error"
>>
>> wish i can try it now
>> instead of waiting for the end of the business day
> 
> I've ran into this problem occasionally when I goof up and delete a
> folder from the filesystem rather than using cyradm (usually when I'm
> trying to restore a folder for a user).
> 
> What I have done in the past is:
> 
> 1. Create the missing folder in the filesystem by hand.
> 2. Copy the cyrus.header file from the user's INBOX into the folder.
> 3. Set the folder and cyrus.header permissions and ownership correctly
> for cyrus.
> 4. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -f -r
> user.username'".
> 5. Run "su cyrus -c '/usr/local/cyrus/bin/quota -f user.username'".
> 6. Using cyradm, delete the folder.
> 
> 
>     Andy
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRYLtmdbpM15f9s9nAQI2yAP/QjgbBscVDxtsbd2enzm1uRSiuQg9zP5D
VXYd7rvQjza0NVQM8fPO9fOUC9OKN6/iAbqCgPR0OC5dISlvHdbCw0iRbNFGuftq
/D6xatMMlLQTAeUKXA2j1HmaHOqfxUCVINF9NfUVhjMUMPDtmk24mhCE80E+E0tp
2LHLdIfYZg0=
=6e9V
-----END PGP SIGNATURE-----


More information about the Info-cyrus mailing list