From owner-freebsd-questions Tue Jan 21 5:10:38 2003 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 C018937B401 for ; Tue, 21 Jan 2003 05:10:36 -0800 (PST) Received: from mail5.atl.registeredsite.com (mail5.atl.registeredsite.com [64.224.219.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F75E43F18 for ; Tue, 21 Jan 2003 05:10:30 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail5.atl.registeredsite.com (8.12.2/8.12.6) with ESMTP id h0LDATbh018568 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Tue, 21 Jan 2003 08:10:29 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.6/8.11.0) id h0LDASV50561 for freebsd-questions@freebsd.org; Tue, 21 Jan 2003 14:10:28 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Tue, 21 Jan 2003 14:10:28 +0100 (CET) From: Mark Message-Id: <200301211310.H0LDAQL50541@asarian-host.net> Date: Tue, 21 Jan 2003 14:10:23 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: Help! Errors in /var/log/messages after upgrade X-Trace: xsRh+/E6xS47GHIfojV8wFaakWUDqonUVvRhCBRVy0T4LZhbrdLZ6Ry7qug5O0Uw X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: =?iso-8859-1?Q?Andreas_Wider=F8e_Andersen?= , References: <3E2D40B1.1020306@pragma.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPi1GxDFqW1BleBN9AQHQlgf/YCm0Z5Tdja7YfoFd20K0NSgc529r3YJ+ 5gcYqgEtD906gTo51JZabgcGda6oqMz//qTsIpZ1pa6hbPq1sZgvJR1Sw+igvq7H y5LK4UuV5+UdqfXwepkdue720PvElLoDDf7dcqzaoh4QgSzIe4LgCbsRFrcp2b4x mSXf6VHRGaidBVKBtJXm1fE6bBewQYKZKXrBBZRIDQ0HW/CKPBmoBrhjN3oDCXmH pJbtkgB6TRLjPsKNeTJ4szEyU8sT/D6dFqSFNo63j81UK7NQFh1FWXRN7xx8Ddn2 p1lmDgZbH8CcJDlYp2eq1zurCcBKCvb5PhBrjIbbO5lZuYDCxwavFw== =AqEv 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 ----- Original Message ----- From: "Andreas Widerĝe Andersen" To: Sent: Tuesday, January 21, 2003 1:44 PM Subject: Help! Errors in /var/log/messages after upgrade > After I upgraded to FreeBSD 4.7 STABLE yesterday I receive some errors > in the /var/log/messages file. These errors occour only when people > try to send mail via webforms on websites hosted on the server. Here > is an example: > > Jan 21 13:40:12 server sendmail[44046]: h0LCeCp6044046: SYSERR(www): > collect: Cannot write ./dfh0LCeCp6044046 (bfcommit, uid=80, gid=25): > Permission denied Jan 21 13:40:12 server sendmail[44046]: > h0LCeCp6044046: SYSERR(www): queueup: cannot create queue temp file > ./tfh0LCeCp6044046, uid=80: Permission denied > > Can someone please tell me what to do to get rid of this and make web > forms work again? Thanks a million!! > > Andreas Hi Andreas, I had the same problem myself, when I installed FreeBSD 4.7R on a new server. I was finally able to "solve" it by queueing mail from the webdaemon (from CGI scripts and such) into its own queue (that is, running messages off forms with "-odq -oQ/var/spool/webqueue" (and setting such as default in php.ini), and setting access rights for "/var/spool/webqueue" owned by the "nobody" user (Apache runs as nobody) as follows: drwxr-xr-x 2 nobody daemon 512 Jan 21 13:41 webqueue (would likely be user "www" in your case) I say "solve" because this does indeed make the permission errors go away, and things worked again; though I feel a more elegant solution may exist, I have not found it yet. - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message