Hi Alfonso,

On Mon, Jun 25, 2012 at 04:07:03PM +0200, Alfonso Martin wrote:

> root@alfonso-K53SD:/home/alfonso/Descargas/pmacct-0.14.0# pmacct -s
> INFO: Connection refused while trying to connect to '/tmp/'
> 
> .Why this error?

Because "pmacct" is the client application with which you can query the
memory tables; it requires the daemon to be running and the message above
is saying that the daemon (pmacctd) is not running (either not started or
it bailed out). So if you are not doing it already do:

1) pmacctd -f /path/to/config.file
2) pmacct -s

If you were already starting the daemon, it might be it bailed out for
some reason: check your logs (i see you set 'syslog: daemon') for any
error messages.

Also: in your configuration i see you write only to a MySQL database:
so you do not need to run the 'pmacct -s' client at all, you just fire
the "pmacctd" and then check results via the MySQL client.

Cheers,
Paolo


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

Reply via email to