Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2006 02:31:23 +0200
From:      Stanislaw Halik <sthalik@tehran.lain.pl>
To:        freebsd-stable@freebsd.org
Subject:   Re: possible tcp problem
Message-ID:  <20060521003123.GA18813@tehran.lain.pl>
In-Reply-To: <446FB2B0.5090606@antiszoc.hu>
References:  <446DCCE5.6030601@antiszoc.hu> <20060520183106.GA99605@tehran.lain.pl> <446FB2B0.5090606@antiszoc.hu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060521003123.GA18813>