Re: ctl_cyrusdb error messages

2003-06-19 Thread Thomas Robers
[EMAIL PROTECTED] wrote:
 Hi,
 
 Earlier today Thomas Robers asked about messages as below. I just
 joined the list, so I could not reply. But I've found one possible
 solution.
 
 This happens if you start master process (as root) in a directory which
 cyrus user cannot access due to the directory permissions. E.g.:
 
 # id
 uid=0(root) gid=1(other)
 # pwd
 /var/log/mail
 # ls -ald .
 drwxr-x---   2 root other512 Jun 18 09:01 .
 # /opt/cyrus-imapd-2.1.13/bin/master -d
 # ps -ef|grep master
cyrus  2059 1  0 12:26:55 ?0:01 /opt/cyrus-imapd-2.1.13/bin/master -d
 # pwdx 2059
 2059:   /var/log/mail
 
 (pwdx is probably Solaris specific, but it shows process work dir).
 
 Now if I change permissions on the directory to 0755, error messages
 go away.
 
 Maybe this happens because my cyrus user does not have home directory at
 all?
 
Hi,

the error messages have gone away, after I did a 'cd' into cyrus home
directory before starting the master.

Thanks!

Thomas




ctl_cyrusdb error messages

2003-06-18 Thread Thomas Robers
Hi,

I've installed cyrus-imap Version 2.1.13 under Solaris 8 and it works so far, but it
seems that the automatical ceckpoiting doesn't work, because ervery 30 minutes I can
see the following error messages in the logfile:

 timestamp servername ctl_cyrusdb[9872]: [ID 702911 local6.notice] checkpointing 
 cyrus databases
 timestamp servername ctl_cyrusdb[9872]: [ID 702911 local6.notice] checkpointing 
 cyrus databases
 timestamp servername ctl_cyrusdb[9872]: [ID 854764 local6.error] DBERROR: error 
 listing log files: Permission denied
 timestamp servername ctl_cyrusdb[9872]: [ID 854764 local6.error] DBERROR: error 
 listing log files: Permission denied
 timestamp servername ctl_cyrusdb[9872]: [ID 686478 local6.error] DBERROR: 
 archive /opt/imap/conf/db: cyrusdb error
 timestamp servername ctl_cyrusdb[9872]: [ID 686478 local6.error] DBERROR: 
 archive /opt/imap/conf/db: cyrusdb error
 timestamp servername ctl_cyrusdb[9872]: [ID 854764 local6.error] DBERROR: error 
 listing log files: Permission denied
 timestamp servername ctl_cyrusdb[9872]: [ID 854764 local6.error] DBERROR: error 
 listing log files: Permission denied
 timestamp servername ctl_cyrusdb[9872]: [ID 686478 local6.error] DBERROR: 
 archive /opt/imap/conf/db: cyrusdb error
 timestamp servername ctl_cyrusdb[9872]: [ID 686478 local6.error] DBERROR: 
 archive /opt/imap/conf/db: cyrusdb error
 timestamp servername ctl_cyrusdb[9872]: [ID 127214 local6.notice] done 
 checkpointing cyrus databases
 timestamp servername ctl_cyrusdb[9872]: [ID 127214 local6.notice] done 
 checkpointing cyrus databases

But I don't think that it's really a problem of missing file permissions, because if I
do the checkpoiting as user cyrus (ctl_cyrusdb -c) I don't get any error massages:

 timestamp servername ctl_cyrusdb[10354]: [ID 702911 local6.notice] checkpointing 
 cyrus databases
 timestamp servername ctl_cyrusdb[10354]: [ID 702911 local6.notice] checkpointing 
 cyrus databases
 timestamp servername ctl_cyrusdb[10354]: [ID 578205 local6.debug] archiving 
 database file: /opt/imap/conf/mailboxes.db
 timestamp servername ctl_cyrusdb[10354]: [ID 448116 local6.debug] archiving log 
 file: /opt/imap/conf/db/log.02
 timestamp servername last message repeated 1 time
 timestamp servername ctl_cyrusdb[10354]: [ID 127214 local6.notice] done 
 checkpointing cyrus databases
 timestamp servername ctl_cyrusdb[10354]: [ID 127214 local6.notice] done 
 checkpointing cyrus databases

Has anybody an idea how to get rid of them?

Thanks!

Thomas




ctl_cyrusdb error messages

2003-06-18 Thread petri . maenpaa

Hi,

Earlier today Thomas Robers asked about messages as below. I just
joined the list, so I could not reply. But I've found one possible
solution.

This happens if you start master process (as root) in a directory which
cyrus user cannot access due to the directory permissions. E.g.:

# id
uid=0(root) gid=1(other)
# pwd
/var/log/mail
# ls -ald .
drwxr-x---   2 root other512 Jun 18 09:01 .
# /opt/cyrus-imapd-2.1.13/bin/master -d
# ps -ef|grep master
   cyrus  2059 1  0 12:26:55 ?0:01 /opt/cyrus-imapd-2.1.13/bin/master -d
# pwdx 2059
2059:   /var/log/mail

(pwdx is probably Solaris specific, but it shows process work dir).

Now if I change permissions on the directory to 0755, error messages
go away.

Maybe this happens because my cyrus user does not have home directory at
all?

-- 
Petri