Date: Tue, 21 Jan 2003 14:37:02 +0100 From: Andreas =?ISO-8859-1?Q?Wider=F8e?= Andersen <awand@pragma.no> To: Freebsd-questions@freebsd.org Subject: Re: Help! Errors in /var/log/messages after upgrade Message-ID: <3E2D4CFE.7010403@pragma.no> References: <3E2D40B1.1020306@pragma.no> <200301211310.H0LDAQL50541@asarian-host.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark wrote: > ----- Original Message ----- > From: "Andreas Wider=F8e Andersen" <awand@pragma.no> > To: <Freebsd-questions@FreeBSD.ORG> > Sent: Tuesday, January 21, 2003 1:44 PM > Subject: Help! Errors in /var/log/messages after upgrade >=20 >=20 >=20 >>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=3D80, gid=3D25)= : >>Permission denied Jan 21 13:40:12 server sendmail[44046]: >>h0LCeCp6044046: SYSERR(www): queueup: cannot create queue temp file >>./tfh0LCeCp6044046, uid=3D80: 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 >> >=20 >=20 > Hi Andreas, >=20 > I had the same problem myself, when I installed FreeBSD 4.7R on a new > server. >=20 > I was finally able to "solve" it by queueing mail from the webdaemon (f= rom > 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 i= n > php.ini), and setting access rights for "/var/spool/webqueue" owned by = the > "nobody" user (Apache runs as nobody) as follows: >=20 > drwxr-xr-x 2 nobody daemon 512 Jan 21 13:41 webqueue >=20 > (would likely be user "www" in your case) I say "solve" because this do= es > indeed make the permission errors go away, and things worked again; tho= ugh I > feel a more elegant solution may exist, I have not found it yet. Is Apache trying to put a temporary file into /var/spool/mqueue without=20 having the correct permissions to do so? I've noticed a new directory under /var/spool which is named=20 /clientmqueue. What is this for? Also, which Sendmail version was included in FreeBSD 4.5 and which is=20 included in 4.7? /Andreas --=20 Andreas Wider=F8e Andersen <awand@pragma.no> Pragma AS http://www.pragma.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2D4CFE.7010403>