6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier won't sta...
FromSent OnAttachments
Todd...@m.cc.utah.eduJun 28, 2004 9:52 am 
Tim HunterJun 28, 2004 9:59 am 
Todd...@m.cc.utah.eduJun 28, 2004 10:20 am 
Todd...@m.cc.utah.eduJun 28, 2004 10:41 am 
Tim HunterJun 28, 2004 10:53 am 
Todd...@m.cc.utah.eduJun 28, 2004 1:04 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier won't start... Permision deniedActions...
From:Todd...@m.cc.utah.edu (Todd@m.cc.utah.edu)
Date:Jun 28, 2004 1:04:39 pm
List:net.sourceforge.lists.courier-users

I gave up and reinstalled courier from scratch... Perhaps I should have done that from the start.

Thanks for all your help.

Todd Humphries

Quoting Tim Hunter <ti@brokenbits.com>:

Todd@m.cc.utah.edu wrote:

Quoting David Gomillion <dgom@eyecarenow.com>:

I did install it as default and everything appers to be in /usr/lib/courier, however there is no spool directory. I tried finding the directory via "locate spool | grep courier" with no luck.

If you installed it as default, it is possible that you should be looking in /usr/lib/courier/spool instead of /var/spool/courier.

I have never done a make upgrade, as I build my RPMs. Since switching to RPMs, all of the files go "where you'd expect them", or configuration files are in /etc/courier, binaries in /usr/bin, spool files in /var/spool/courier, and so on.

search for the msgq and check from there <msgq>/../tmp/ at least thats how mine is organized (from debs)

By the way, how is the weather in Utah? I've been missing it ever since I graduated from the Y...

The weather is great right now. Upper 80's during the day, cool at night. Perfect for doing anything outdoors.

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Todd@m.cc.utah.edu Sent: Monday, June 28, 2004 12:21 PM To: cour@lists.sourceforge.net Subject: Re: [courier-users] Courier won't start... Permision denied

Quoting Tim Hunter <ti@brokenbits.com>:

Todd@m.cc.utah.edu wrote:

I have been using courier for about a year now and have been very satisfied with it. I wanted to use MYSQL for authentication but found that the MYSQL module was not installed originaly. I got the latest version of courier and recompiled it with MYSQL enabled then ran "make upgrade" Everything seemed to be OK but courier wouldn't start. Here is a section of my log file..

Jun 28 10:46:34 mail courierd: Loading STATIC transport module libraries. Jun 28 10:46:34 mail courierd: Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Installing [0/0] Jun 28 10:46:34 mail courierd: Installing uucp Jun 28 10:46:34 mail courierd: Installed: module.uucp - Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Installing local Jun 28 10:46:34 mail courierd: Installed: module.local - Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Installing fax Jun 28 10:46:34 mail courierd: Installed: module.fax - Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Installing esmtp Jun 28 10:46:34 mail courierd: Installed: module.esmtp - Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Installing dsn Jun 28 10:46:34 mail courierd: Installed: module.dsn - Courier 0.45.6.20040618 Copyright 1999-2004 Double Precision, Inc. Jun 28 10:46:34 mail courierd: Initializing uucp Jun 28 10:46:34 mail courierd: Initializing local Jun 28 10:46:34 mail courierd: Initializing fax Jun 28 10:46:34 mail courierd: Initializing esmtp Jun 28 10:46:34 mail courierd: Initializing dsn Jun 28 10:46:34 mail courierd: Started ./courieruucp, pid=3292, maxdels=4, maxhost=4, maxrcpt=16 Jun 28 10:46:34 mail courierd: Started ./courierlocal, pid=3293, maxdels=10, maxhost=4, maxrcpt=1 Jun 28 10:46:34 mail courierd: Started ./courierfax, pid=3294, maxdels=1, maxhost=1, maxrcpt=1 Jun 28 10:46:34 mail courierd: Started ./courieresmtp, pid=3295, maxdels=40, maxhost=4, maxrcpt=100 Jun 28 10:46:34 mail courierd: Started ./courierdsn, pid=3296, maxdels=4, maxhost=1, maxrcpt=1 Jun 28 10:46:34 mail courierd: queuelo=200, queuehi=400 Jun 28 10:46:34 mail courierd: Purging /usr/lib/courier/var/msgq Jun 28 10:46:34 mail courierd: Purging /usr/lib/courier/var/msgs Jun 28 10:46:34 mail courierd: Permission denied Jun 28 10:46:34 mail courierd: ABNORMAL TERMINATION, exit status: 1 Jun 28 10:46:34 mail courierd: Will restart in 60 seconds.

you must have changed the user you compiled courier as, make sure its the same user (uid/gid) as the first time you installed

I'm pretty sure that I compiled courier as the same user.

The funny thing is that I did this last Friday and I could send/recieve mail up until this morning at about 10:00... I don't know what changed. I did read another posting that said a lock file had the wrong permisions on it in /var/spool/courier/tmp I tried looking there but that directory doesn't exist. Do you know which config file that tmp directory is specified?

I ran courier-config and it is running as daemon:courier

If anyone has any ideas please let me know... This is a fairly critical email server and I've spent far too long trying to figure this out.

Thanks Todd Humphries