From owner-freebsd-stable@FreeBSD.ORG Sun May 21 00:19:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2815216A42A for ; Sun, 21 May 2006 00:19:13 +0000 (UTC) (envelope-from andrej@antiszoc.hu) Received: from andrej.mine.nu (catv-d5debe68.catv.broadband.hu [213.222.190.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0623B43D49 for ; Sun, 21 May 2006 00:19:07 +0000 (GMT) (envelope-from andrej@antiszoc.hu) Message-ID: <446FB2B0.5090606@antiszoc.hu> Date: Sun, 21 May 2006 02:22:08 +0200 From: Andras Got User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <446DCCE5.6030601@antiszoc.hu> <20060520183106.GA99605@tehran.lain.pl> In-Reply-To: <20060520183106.GA99605@tehran.lain.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: possible tcp problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 00:19:15 -0000 Hi, Yes... This was because a bad setting in pf.conf. The state rules/buffers or something filled from time to time. The sendmail error wasn't connected to this, they just in the same jail and almost similar errors. I thought 1 means the same accross programs. :( So I'm sorry for my false letter. :( Regards, Andras Stanislaw Halik wrote: > On Fri, May 19, 2006, Andras Got wrote: >> I'm using freebsd 6.1 and _sometimes_ (one for every ~30-40 minutes) I >> get mysql connect errors with permission denied. The mysql_connect >> returns error code 1, which is permission denied. > > Quite certainly not true: > >> Errors: >> sendmail[37085]: gethostbyaddr(IP) failed: 1 > ^^^^^^^^^^^^^ >> Can't connect to MySQL server on 'IP' (1) > > /usr/include/netdb.h:#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */ > > HTH, > > -- sh