db4 Permission denied

Ing. Andrea Vettori mail at andreavettori.com
Mon Oct 11 09:57:54 EDT 2004


Hi,

today I had a problem with a Cyrus server that was ok since a long time.
The server has less than 200 users but a lot of emails (about 40 GB in
620.000 messages).

Relevant log files are below. From that point after, lmtpunix died every
time it was called until I deleted the content of the db directory and
deliver.db and restarted master.

The content of the db directory was the following :

total 11460
drwxr-xr-x    2 root     root         4096 Oct 11 12:54 .
drwxr-x---   13 cyrus    mail         4096 Oct 11 15:25 ..
-rw-------    1 cyrus    cyrus       16384 Oct 11 12:46 __db.001
-rw-------    1 cyrus    cyrus      278528 Oct 11 12:46 __db.002
-rw-------    1 cyrus    cyrus       98304 Oct 11 12:46 __db.003
-rw-------    1 cyrus    cyrus    10485757 Oct 11 11:28 log.0000000017
-rw-------    1 root     root         1259 Oct 11 11:29 log.0000000018
-rw-------    1 cyrus    mail            4 Sep 22 19:36 skipstamp

I have no idea why log.0000000018 has permission root:root.

Any ideas ?

I also noticed that tnx number are very high and the last one was
2147552789 that is near the max value of a four bytes signed integer.
Is normal to see such high numbers ?

Thank you

---- start log file ----

Oct 11 11:29:34 daffy lmtpunix[12827]: duplicate_check:
<002701c4af75$3b41f7f0$c064a8c0 at Niceit.net> commercialeitalia    0
Oct 11 11:29:34 daffy lmtpunix[12648]: DBERROR db4:
/store/imap/db/log.0000000018: log file open failed: Permission denied
Oct 11 11:29:34 daffy lmtpunix[12648]: DBERROR db4: PANIC: Permission
denied
Oct 11 11:29:34 daffy lmtpunix[12648]: DBERROR: critical database
situation
Oct 11 11:29:34 daffy master[7058]: process 12648 exited, status 75
Oct 11 11:29:34 daffy master[7058]: service lmtpunix pid 12648 in READY
state: terminated abnormally
Oct 11 11:29:34 daffy lmtpunix[12827]: DBERROR db4: fatal region error
detected; run recovery
Oct 11 11:29:34 daffy lmtpunix[12827]: DBERROR: mystore: error beginning
txn: DB_RUNRECOVERY: Fatal error, run database recovery
O

---- end log file ----
-- 
Ing. Andrea Vettori
Consulente per l'Information Technology

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list