On Wed, Feb 02, 2005 at 05:54:10PM +0200, Scott Ryan wrote:
> I am having a really annoying problem trying to start qmail. I have checked 
> the permissions against 7 other identical qmail servers, but I get the error:
> 
> alert: cannot start: unable to switch to queue directory.
> 
> If i change the queue dir to 755, I then get:
> 
> alert: cannot start: unable to open mutex
> 
> /var/qmail/queue is 
> # ls -lad queue/
> drwxr-x---   11 qmailq   qmail        4096 Feb  2 16:03 queue/
> /var/qmail is
> # ls -lad qmail/
> drwxr-xr-x   11 root     root         4096 Feb  2 16:04 qmail/
> 
> In the queue dir I have:
> # ls -la
> total 44
> drwxr-x---   11 qmailq   qmail        4096 Feb  2 16:03 .
> drwxr-xr-x    3 root     root         4096 Feb  2 16:03 ..
> drwx------    2 qmails   qmail        4096 Feb  1 14:50 bounce
> drwx------   25 qmails   qmail        4096 Feb  2 16:03 info
> drwx------   25 qmailq   qmail        4096 Feb  2 16:03 intd
> drwx------   25 qmails   qmail        4096 Feb  2 16:03 local
> drwxr-x---    2 qmailq   qmail        4096 Feb  2 16:03 lock
> drwxr-x---   25 qmailq   qmail        4096 Feb  2 16:03 mess
> drwx------    2 qmailq   qmail        4096 Feb  1 14:50 pid
> drwx------   25 qmails   qmail        4096 Feb  2 16:03 remote
> drwxr-x---   25 qmailq   qmail        4096 Feb  2 16:03 todo
> 
> Any have any ideas what else I can try?

You need to pay attention to the uids. qmail uses hardcoded uid numbers(!)
and not the names. So it may be necessary to rebuild with correct ids or
so. Normaly this is the most obvious reason for such an issue.

-- 
:wq Claudio

Reply via email to