possible tcp problem

Stanislaw Halik sthalik at tehran.lain.pl
Sat May 20 17:31:26 PDT 2006


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 Answer 
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060521/ba7c2b38/attachment.pgp


More information about the freebsd-stable mailing list