tags 378830 confirmed
thanks

hey miah,

On Sat, 2006-09-02 at 22:46 +0100, Miah Gregory wrote:
> Don't think I'm running with cactid, just normal cacti php poller.

aha.  and i can now replicate it.  it looks like this is what happens
when the database name is not set.  try setting database_default to
"cacti" or whatever it previously was.

my guess is that this happened as a result of something to do with
dbconfig-common, the automagical database-foo system.  it would help if
you could answer the following:

- approximately when did you first install cacti?
- did you see questions about dbconfig-common when you installed,
  or did you manually set up the database?
- did the problem happen right away, or after some upgrade?
- did you ever perform an upgrade and see questions about 
  dbconfig-common during the upgrade?

also, what happens(is output) when you run (as root):

/usr/sbin/dbconfig-load-include --dbname=database_default
--dbpass=database_password --dbuser=database_username
--dbserver=database_hostname -f php /etc/cacti/debian.php

(sorry, my new MUA really wants to wrap lines, it should be one line)
likewise:

/usr/sbin/dbconfig-generate-include --dbname=database_default
--dbpass=database_password --dbuser=database_username
--dbserver=database_hostname -f php /etc/dbconfig-common/cacti.conf


        sean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to