dberror seen db

Ken Murchison ken at oceana.com
Sat Sep 13 10:30:20 EDT 2003



Agri wrote:

> is it a bug? :-\

I don't know.  Its working for other people.  What are the permissions 
on /var/cyrus?

> Can i do smth to fix it?

You could do an strace on the imapd process to see what it is doing. 
You could also make the directories by hand.


> 
> Agri
> 
> On Sat, 13 Sep 2003 08:09:01 -0400
> Ken Murchison <ken at oceana.com> wrote:
> 
> 
>>
>>Agri wrote:
>>
>>>Hm.... my /var/cyrus do exits, and its content
>>>
>>>[root at 7m cyrus]# ls -l
>>>total 19
>>>-rw-------    1 cyrus    mail         2048 Sep 13 04:04 annotations.db
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 11 18:04 db
>>>drwx------    2 cyrus    mail         1024 Sep 13 10:34 db.backup1
>>>drwx------    2 cyrus    mail         1024 Sep 13 10:04 db.backup2
>>>-rw-------    1 cyrus    mail         5120 Sep 13 10:34 deliver.db
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 11 18:03 log
>>>-rw-------    1 cyrus    mail         2048 Sep 13 10:34 mailboxes.db
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 11 18:03 msg
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 13 10:37 proc
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 11 18:03 ptclient
>>>drwxr-xr-x    2 cyrus    mail         1024 Sep 11 18:05 socket
>>>-rw-------    1 cyrus    mail         2048 Sep 13 04:04 tls_sessions.db
>>>
>>>there is no any domain directory.
>>>Hmmm... it should be created autamaticly by imap software or by my hands? :-\
>>
>>It should be created automatically.
>>
>>
>>
>>>Agri
>>>
>>>On Fri, 12 Sep 2003 15:07:06 -0400
>>>Ken Murchison <ken at oceana.com> wrote:
>>>
>>>
>>>
>>>>Agri wrote:
>>>>
>>>>
>>>>
>>>>>Thank you for answer.
>>>>>
>>>>>No, hash is turned off.
>>>>>my configs
>>>>>**************************************************************
>>>>>
>>>>>
>>>>>
>>>>>>cat /etc/imapd.conf
>>>>>
>>>>>configdirectory: /var/cyrus
>>>>>partition-default: /var/imap
>>>>>sasl_pwcheck_method: auxprop
>>>>>
>>>>>tls_cert_file: /etc/openssl/certs/cert.pem
>>>>>tls_key_file: /etc/openssl/private/key.pem
>>>>>
>>>>>virtdomains: yes
>>>>>defaultdomain: 7m.vps.rusonyx.ru
>>>>>admins: agri
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>cat /etc/cyrus.conf
>>>>>
>>>>># standard standalone server implementation
>>>>>
>>>>>START {
>>>>> # do not delete this entry!
>>>>> recover       cmd="ctl_cyrusdb -r"
>>>>>
>>>>> # this is only necessary if using idled for IMAP IDLE
>>>>>#  idled                cmd="idled"
>>>>>}
>>>>>
>>>>># UNIX sockets start with a slash and are put into /var/imap/sockets
>>>>>SERVICES {
>>>>> # add or remove based on preferences
>>>>> imap          cmd="imapd" listen="imap" prefork=0
>>>>> pop3          cmd="pop3d" listen="pop3" prefork=0
>>>>>
>>>>> # LMTP is required for delivery
>>>>> lmtpunix      cmd="lmtpd" listen="/var/cyrus/socket/lmtp" prefork=0
>>>>>
>>>>> # this is only necessary if using notifications
>>>>>#  notify       cmd="notifyd" listen="/var/cyrus/socket/notify" proto="udp" prefork=1
>>>>>}
>>>>>
>>>>>EVENTS {
>>>>> # this is required
>>>>> checkpoint    cmd="ctl_cyrusdb -c" period=30
>>>>>
>>>>> # this is only necessary if using duplicate delivery suppression
>>>>> delprune      cmd="ctl_deliver -E 3" at=0400
>>>>>
>>>>> # this is only necessary if caching TLS sessions
>>>>> tlsprune      cmd="tls_prune" at=0400
>>>>>}
>>>>>
>>>>>********************************************************************
>>>>>
>>>>>I have directories in the /var/imap
>>>>>/var/imap/domain
>>>>>/var/imap/domain/7m.ru
>>>>>/var/imap/domain/7m.ru/user
>>>>>/var/imap/domain/7m.ru/user/agri
>>>>>/var/imap/domain/7m.ru/user/agri/Trash
>>>>
>>>>You need to look at /var/cyrus
>>>>
>>>>This is where the error is occuring.  Does it exist, is it owned by the 
>>>>cyrus user?
>>>>
>>>>-- 
>>>>Kenneth Murchison     Oceana Matrix Ltd.
>>>>Software Engineer     21 Princeton Place
>>>>716-662-8973 x26      Orchard Park, NY 14127
>>>>--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>>>>
>>>
>>>
>>-- 
>>Kenneth Murchison     Oceana Matrix Ltd.
>>Software Engineer     21 Princeton Place
>>716-662-8973 x26      Orchard Park, NY 14127
>>--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>>
> 
> 

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list