Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cyrus - dberror
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
EtaCarinae
n00b
n00b


Joined: 17 Sep 2003
Posts: 40
Location: Hannover, Germany

PostPosted: Wed Feb 09, 2005 9:23 pm    Post subject: cyrus - dberror Reply with quote

Hallo!
Ich versuche gerade einen Mailserver nach dieser Anleitung aufzusetzen:
http://de.gentoo-wiki.com/HOWTO_MailServer#PAM
Aber irgendwie will cyrus nicht so richtig. Wenn ich cyrus mit "/etc/init.d/cyrus start" zum Leben erwecken möchte, dann taucht in "/var/log/messages" folgendes auf:

Code:

Feb  9 22:10:33 andromeda master[30846]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Feb  9 22:10:33 andromeda master[30846]: retrying with 1024 (current max)
Feb  9 22:10:33 andromeda master[30846]: process started
Feb  9 22:10:33 andromeda master[30852]: about to exec /usr/lib/cyrus/ctl_cyrusdb
Feb  9 22:10:33 andromeda ctl_cyrusdb[30852]: DBERROR db4: malloc: Cannot allocate memory: 3435973880
Feb  9 22:10:33 andromeda ctl_cyrusdb[30852]: DBERROR db4: PANIC: Cannot allocate memory
Feb  9 22:10:33 andromeda ctl_cyrusdb[30852]: DBERROR: critical database situation
Feb  9 22:10:33 andromeda master[30846]: process 30852 exited, status 75
Feb  9 22:10:33 andromeda master[30846]: Servname not supported for ai_socktype, disabling imap
Feb  9 22:10:33 andromeda master[30846]: ready for work
Feb  9 22:10:33 andromeda master[30877]: about to exec /usr/lib/cyrus/squatter
Feb  9 22:10:33 andromeda master[30878]: about to exec /usr/lib/cyrus/tls_prune
Feb  9 22:10:33 andromeda master[30879]: about to exec /usr/lib/cyrus/ctl_deliver
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR db4: fatal region error detected; run recovery
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR: dbenv->open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR: init() on berkeley
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR db4: environment not yet opened
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR: opening /var/imap/deliver.db: Invalid argument
Feb  9 22:10:33 andromeda cyr_expire[30879]: DBERROR: opening /var/imap/deliver.db: cyrusdb error
Feb  9 22:10:33 andromeda master[30880]: about to exec /usr/lib/cyrus/ctl_cyrusdb
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR db4: fatal region error detected; run recovery
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: dbenv->open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: init() on berkeley
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: checkpointing cyrus databases
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: archiving database file: /var/imap/annotations.db
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR db4: txn_checkpoint interface requires an environment configured for the transaction subsystem
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: couldn't checkpoint: Invalid argument
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: sync /var/imap/db: cyrusdb error
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR db4: DB_ENV->log_archive interface requires an environment configuredfor the logging subsystem
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: error listing log files: Invalid argument
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: archive /var/imap/db: cyrusdb error
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: archiving database file: /var/imap/mailboxes.db
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR db4: txn_checkpoint interface requires an environment configured for the transaction subsystem
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: couldn't checkpoint: Invalid argument
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: sync /var/imap/db: cyrusdb error
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR db4: DB_ENV->log_archive interface requires an environment configuredfor the logging subsystem
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: error listing log files: Invalid argument
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: DBERROR: archive /var/imap/db: cyrusdb error
Feb  9 22:10:33 andromeda ctl_cyrusdb[30880]: done checkpointing cyrus databases
Feb  9 22:10:33 andromeda master[30846]: process 30879 exited, status 1
Feb  9 22:10:33 andromeda master[30846]: process 30880 exited, status 1
Feb  9 22:10:33 andromeda squatter[30877]: DBERROR db4: fatal region error detected; run recovery
Feb  9 22:10:33 andromeda squatter[30877]: DBERROR: dbenv->open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Feb  9 22:10:33 andromeda squatter[30877]: DBERROR: init() on berkeley
Feb  9 22:10:33 andromeda squatter[30877]: indexing mailboxes
Feb  9 22:10:33 andromeda squatter[30877]: done indexing mailboxes
Feb  9 22:10:33 andromeda master[30846]: process 30877 exited, status 0
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR db4: fatal region error detected; run recovery
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR: dbenv->open '/var/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR: init() on berkeley
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR db4: environment not yet opened
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR: opening /var/imap/tls_sessions.db: Invalid argument
Feb  9 22:10:33 andromeda tls_prune[30878]: DBERROR: opening /var/imap/tls_sessions.db: cyrusdb error
Feb  9 22:10:33 andromeda master[30846]: process 30878 exited, status 1


Das kann so doch nicht ok sein, oder?

Wenn ich dann versuche mich mit cyradm zum server zu verbinden kommt folgendes:

Code:

andromeda root # cyradm --server localhost -u mailadmin
cyradm: cannot connect to server


Kann mir bitte jemand weiterhelfen? Ich weiß echt nicht wo ich noch schauen muß. Ich hab die Installation mittlerweile zum 5. Mal angefangen.
Vielen lieben Dank schonmal für jeden kleinen Tipp!!
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Sun Feb 13, 2005 4:51 pm    Post subject: Reply with quote

Eine Verbindung kann nicht funktionieren, da der Dienst ja nicht läuft ...
Ansonsten stehts ja im Log: Problem mit der Cyrus DB.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum