Comment 11 for bug 604110

Revision history for this message
Artur Jackowski (artur-jackowski) wrote :

It's not a bug in app but in your configuration. I have a newer version (1.4.5) than yours and I get the same logs like UndiFineD but I'm almost 100% sure it's the same problem.

You need to set environment variables to give libdbd-pg-perl information how and where to connect. Maybe there is some other way but I don't know perl (Java rules).

root@arturc:/etc/munin# export PGHOST=localhost
root@arturc:/etc/munin# export PGPORT=5432
root@arturc:/etc/munin# export PGUSER=postgres
And also (!!!)
root@arturc:/etc/munin# export PGPASSWORD=mySecretPassword
Note, that having a password in ~/.pgpass change nothing. Munin (or per libraries) simply ignore it.

With these environment params you can successfuly run both
 # munin-node-configure --suggest
 # munin-node-configure --shell
and (after symbolic link creation) install munin.