From owner-freebsd-stable@FreeBSD.ORG Sun May 21 00:31:25 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 CD64A16A44B for ; Sun, 21 May 2006 00:31:25 +0000 (UTC) (envelope-from sthalik@tehran.lain.pl) Received: from tehran.lain.pl (tehran.lain.pl [85.221.230.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47F1143D64 for ; Sun, 21 May 2006 00:31:25 +0000 (GMT) (envelope-from sthalik@tehran.lain.pl) Received: from sthalik by tehran.lain.pl with local (envelope-from ) id 1Fhbqt-0004uM-Sf for freebsd-stable@freebsd.org; Sun, 21 May 2006 02:31:23 +0200 Date: Sun, 21 May 2006 02:31:23 +0200 From: Stanislaw Halik To: freebsd-stable@freebsd.org Message-ID: <20060521003123.GA18813@tehran.lain.pl> Mail-Followup-To: freebsd-stable@freebsd.org References: <446DCCE5.6030601@antiszoc.hu> <20060520183106.GA99605@tehran.lain.pl> <446FB2B0.5090606@antiszoc.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <446FB2B0.5090606@antiszoc.hu> X-PGP-Key: http://tehran.lain.pl/public.key User-Agent: Mutt/1.5.11 X-User: sthalik: 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:31:26 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 21, 2006, Andras Got wrote: [top-posting corrected] >> 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 Answe= r=20 >> Host not found */ >> HTH, > Yes... This was because a bad setting in pf.conf. The state > rules/buffers or something filled from time to time. If the state limit is being approached, try adaptive.{start,end} and/or limiting the total number of states for offending connections. > 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. :( For errno -- yes. In that case, it's h_errno being set. -- sh --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEb7TbadU+vjT62TERAthLAJwKQ9WMt3VGvTYguCTyWi2o1G7fcgCfXM2G 5fRvarWuRIdDYp1i36bQIxI= =WV6/ -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--