I&#39;m looking at the various guides I see from google and from<br>that deposited by Redhat&#39;s RPM for cyrus-imapd.&nbsp; Nothing<br>appears to be really current.<br><br>Most guides refer to building cyrus from source. I usually<br>
avoid doing that as it is a hassle to maintain packages that way,<br>but then again Redhat has not updated their build in the last<br>2 years so perhaps it doesn&#39;t matter.<br><br>I have a problem starting cyrus from the Redhat package and<br>
the init script.<br><br>I can start /usr/lib/cyrus-imapd/cyrus-master as root<br>and it works OK. &nbsp; I can login as cyrus with imtest.<br><br>If I run the cyrus-impad init, which works fine on<br>another Redhat install, I get errors:<br>
<br>Feb&nbsp; 3 16:20:34 navi master[13825]: process started<br>Feb&nbsp; 3 16:20:34 navi master[13827]: about to exec /usr/lib/cyrus-imapd/ctl_cyrusdb<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR db4: /cyrus/imap/db: Permission denied<br>
Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR db4: /cyrus/imap/db/__db.001: Permission denied<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR: dbenv-&gt;open &#39;/cyrus/imap/db&#39; failed: Permission denied<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR: init() on berkeley<br>
Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR: writing /cyrus/imap/db/skipstamp: Permission denied<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR: init() on skiplist<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: recovering cyrus databases<br>
Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: IOERROR: opening /cyrus/imap/mailboxes.db: Permission denied<br>Feb&nbsp; 3 16:20:34 navi ctl_cyrusdb[13827]: DBERROR: opening /cyrus/imap/mailboxes.db: cyrusdb error<br>Feb&nbsp; 3 16:20:34 navi master[13825]: process 13827 exited, status 75<br>
Feb&nbsp; 3 16:20:34 navi master[13828]: about to exec /usr/lib/cyrus-imapd/idled<br>Feb&nbsp; 3 16:20:34 navi idled[13828]: DBERROR: dbenv-&gt;open &#39;/cyrus/imap/db&#39; failed: Permission denied<br>Feb&nbsp; 3 16:20:34 navi idled[13828]: DBERROR: init() on berkeley<br>
Feb&nbsp; 3 16:20:34 navi idled[13828]: DBERROR: reading /cyrus/imap/db/skipstamp, assuming the worst: Permission denied<br><br>And it goes on until I stop the service.<br><br>The files and directories are owned by cyrus, so the permissions issue<br>
seems odd.&nbsp; E..g.<br><br>ls -l /cyrus/imap/<br>total 100<br>-rw------- 1 cyrus mail&nbsp; 144 Feb&nbsp; 3 16:15 annotations.db<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 16:20 db<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 16:15 db.backup1<br>
-rw------- 1 cyrus mail 8192 Feb&nbsp; 3 16:15 deliver.db<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 13:40 log<br>-rw------- 1 cyrus mail&nbsp; 144 Feb&nbsp; 3 16:15 mailboxes.db<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 13:40 msg<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 16:17 proc<br>
drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 13:40 ptclient<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 16:20 rpm<br>drwxr-x--- 2 cyrus mail 4096 Feb&nbsp; 3 16:15 socket<br>drwx------ 2 cyrus mail 4096 Feb&nbsp; 3 13:40 sync<br><br>I have one other Redhat server running this OK, but I don&#39;t know what the difference is.<br>
For this reason, I&#39;d rather not fix the problem by building from source<br>and having different styles of cyrus running.<br><br>Does anyone have a pointer?<br><br>--Donald<br><br>