Date: Wed, 09 Jan 2002 02:08:23 -0300 From: Angelo <mrdida@gmx.net> To: Colin Campbell <sgcccdc@citec.qld.gov.au> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: correct permission to /var/mail Message-ID: <5.0.0.25.2.20020109020456.02cdfde0@mail.gmx.net> In-Reply-To: <Pine.BSF.4.33.0201091331020.19381-100000@guru.citec.qld.go v.au> References: <5.0.0.25.2.20020108193031.0416be18@pop.openlink.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.0.25.2.20020109020456.02cdfde0>
