From owner-freebsd-questions Mon Jul 8 10: 6: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348C937B400 for ; Mon, 8 Jul 2002 10:05:59 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24D1A43E09 for ; Mon, 8 Jul 2002 10:05:58 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g68H5uYn028123; Mon, 8 Jul 2002 18:05:56 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g68H5pbu028122; Mon, 8 Jul 2002 18:05:51 +0100 (BST) Date: Mon, 8 Jul 2002 18:05:50 +0100 From: Matthew Seaman To: Jim Freeze Cc: questions@FreeBSD.ORG Subject: Re: Need help with sendmail after upgrade to 4.6 stable Message-ID: <20020708170550.GA28011@happy-idiot-talk.infracaninophi> References: <20020708063523.GA25484@happy-idiot-talk.infracaninophi> <20020708080547.A3384@freeze.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020708080547.A3384@freeze.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 08, 2002 at 08:05:47AM -0400, Jim Freeze wrote: > sendmail seems to be working fine. However, doing > /etc/mail -> make restart > Restarting: sendmail sendmail-clientmqueuekill: 1626: No such process Make sure that /var/spool/clientmqueue/sm-client.pid is owned by the smmsp UID. It's probably best to kill off your sendmail clientmqueue daemon, and then remove the pid file so that sendmail can recreate it on the next restart. It's quite possible that the file that's there has the wrong PID in it, so do something like this: ps -auxww | grep 'Queue runner' | awk '{ print $2; }' | xargs kill rm /var/spool/clientmqueue/sm-client.pid make -f /etc/mail/Makefile start-mspq > still gives me no such process. I can run > /etc/rc.sendmail restart-mspq > > to get it going, whereupon 'make restart' works, but the clientmqueue > doesn't seem to stay running for long. > I read somewhere about some queue running every 30 minutes > to empty the mail queue. Is this what is going on? If the sm-client.pid file has the wrong stuff in it, and the clientmqueue process can't rewrite it, then it's quite likely that you'll see effects something like you've observed. Doing the above should fix the problem, but if it doesn't you need to find out what is causing it to fall over. Sendmail is usually quite good at logging reasons for giving up the ghost. What does /var/log/maillog have to say? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message