From owner-freebsd-isp Tue Jan 8 20:22:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mrdida.yi.org (dial647.infolink.com.br [200.255.51.247]) by hub.freebsd.org (Postfix) with ESMTP id C81C137B420 for ; Tue, 8 Jan 2002 20:22:35 -0800 (PST) Received: from academica01.gmx.net (academica01 [192.168.0.2]) by mrdida.yi.org (Postfix) with ESMTP id BD9AF24DA; Wed, 9 Jan 2002 01:03:14 -0200 (BRST) Message-Id: <5.0.0.25.2.20020109020456.02cdfde0@mail.gmx.net> X-Sender: mrdida@gmx.net@mail.gmx.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 09 Jan 2002 02:08:23 -0300 To: Colin Campbell From: Angelo Subject: Re: correct permission to /var/mail Cc: In-Reply-To: References: <5.0.0.25.2.20020108193031.0416be18@pop.openlink.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 13:33 9/1/2002 +1000, Colin Campbell wrote: >Hi, > >It's not the permissions on /var/mail itself that's the problem is it? How >does the pop server lock the mailbox. I know/think some create a file and >if /var/mail isn't writabel, that's going to fail. Try using ktrace on the >pop daemon/inetd or whatever launches it. That should show you what's >failing. > >Colin Hi Colin Thanks for sugestion of ktrace I used this to find out anything.. so, after using kdump, I found this [12:58am] newfw[/root> kdump 711 cucipop RET accept 1 711 cucipop CALL wait4(0xffffffff,0,0x1,0) 711 cucipop RET wait4 -1 errno 10 No child processes 711 cucipop CALL fork 711 cucipop RET fork 720/0x2d0 711 cucipop CALL close(0x1) 711 cucipop RET close 0 711 cucipop CALL chdir(0x804d133) 711 cucipop NAMI "/var/spool/cucipop/bulletins" 711 cucipop RET chdir -1 errno 2 No such file or directory 711 cucipop CALL chdir(0x804d2b8) 711 cucipop NAMI "/" 711 cucipop RET chdir 0 711 cucipop CALL wait4(0xffffffff,0,0x1,0) 711 cucipop RET wait4 0 711 cucipop CALL accept(0,0x804f180,0xbfbffb54) 711 cucipop RET accept 1 711 cucipop CALL wait4(0xffffffff,0,0x1,0) 711 cucipop RET wait4 720/0x2d0 711 cucipop CALL wait4(0xffffffff,0,0x1,0) 711 cucipop RET wait4 -1 errno 10 No child processes 711 cucipop CALL fork 711 cucipop RET fork 728/0x2d8 711 cucipop CALL close(0x1) 711 cucipop RET close 0 711 cucipop CALL chdir(0x804d133) 711 cucipop NAMI "/var/spool/cucipop/bulletins" 711 cucipop RET chdir -1 errno 2 No such file or directory 711 cucipop CALL chdir(0x804d2b8) 711 cucipop NAMI "/" 711 cucipop RET chdir 0 711 cucipop CALL wait4(0xffffffff,0,0x1,0) 711 cucipop RET wait4 0 711 cucipop CALL accept(0,0x804f180,0xbfbffb54) [12:59am] newfw[/root> I think, an error ocurs when it tries to open a /var/spool/cucipop/bulletins ?? Im not sure what is this regards Angelo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message