sean finney <[EMAIL PROTECTED]> writes: > hi olivier, > > On Thu, 2006-09-14 at 08:39 +0200, Olivier Berger wrote: >> Package: cacti >> Followup-For: Bug #378830 >> >> The same happens here, whereas I just installed cacti. I don't remember what >> I did at the configure stage, if I created or not a >> database... anyway here's the db info : > > can you take a look at the other bug i mentioned and tell me if the > crude fix stops the segfaulting? >
I don't think it has to do with that. It's symply that in the database connection code of cacti, it tries to log errors, and the cacti_log function itself tries to check if some conf parameters (like log destination) are defined in the database, which is itself not opened... hence various trouble. Changing cacti_log() call at the end of db_connect_real() by an echo, then stop would surely behave better. Hope this helps. Best regards, -- Olivier BERGER (OpenPGP: 1024D/B4C5F37F) APRIL (http://www.april.org) - Vive python (http://www.python.org) Pétition contre les brevets logiciels : http://petition.eurolinux.org