Hi Axel,

The only thing that comes to my mind is that in pmacct-defines.h
is statically defined a maximum number of plugins, 32 by default:

#define MAX_N_PLUGINS 32

Meaning that shouldn't be the problem (also because the plugin is
effectively created and the issue pops up when trying to connect
to the local MySQL server). The error numer 2 reported within the
log message, suggests the following:

#define ENOENT  2       /* No such file or directory */

So i'm a bit puzzled. Such error comes straight from the MySQL
library against which pmacct is compiled. It makes me suspecting
Karl was somehow pointing the right direction. 

Cheers,
Paolo


On Mon, Jun 08, 2009 at 08:14:28PM +0200, Axel Apitz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> thanks for the quick response, but pmacctd don't try to connect.
> 
> Additional the parameter max_connections is not set in my Config, so
> it defaults to 100.
> 
> So, i think that is not the Problem ...
> 
> Best Regards,
> 
> Axel Apitz
> 
> 2009/6/8 Karl O. Pinc :
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.5)
> 
> iD8DBQFKLVTiETszAvTVIBIRAg2hAKCeYgLsybPH8uXPp48/E/mh1VrKaQCgmnsa
> vMUfG6H2WktsonqV/xgHPQM=
> =ieQa
> -----END PGP SIGNATURE-----
> 
> >
> > On 06/08/2009 11:47:50 AM, Axel Apitz wrote:
> >>
> >> Hi @all,
> >>
> >> we have a little Problem with our pmacct-Installation.
> >>
> >> If we try to add some more mysql-plugin definitions (we have already
> >> 16) we got for all additional
> >> definitions
> >>
> >> ----
> >> ERROR ( name-xyz/mysql ): PRIMARY 'mysql' backend trouble.
> >> ERROR ( name-xyz/mysql ): The SQL server says: Can't connect to local
> >> MySQL server through socket '/tmp/mysql.sock' (2)
> >> ----
> >
> > The first thing that comes to mind is to check weather
> > MySQL has a limit on the number of concurrent connections
> > to the backend. ? Either see what the MySQL logs say or
> > check the docs against the your MySQL config file.
> >
> > Just a thought.
> >
> >
> > Karl <[email protected]>
> > Free Software: ?"You don't pay back, you pay forward."
> > ? ? ? ? ? ? ? ? -- Robert A. Heinlein
> >
> > _______________________________________________
> > pmacct-discussion mailing list
> > http://www.pmacct.net/#mailinglists
> >
> 
> 
> 
> -- 
> Axel Apitz
> 
> The unbelievable Machine Company GmbH
> Grolmanstr. 40
> 10623 Berlin
> Tel.: +49 - 30 - 8892656 - 15
> Fax.: +49 - 30 - 8892656 - 11
> Mobile: +49 - 172 - 7300539
> 
> http://www.unbelievable-machine.com
> 
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to