You have been subscribed to a public bug:

Binary package hint: cacti

Short version:

The Cacti install should set up the database by prompting the user for
database and database user information, rather than a) requiring them to
research/already know about dbconfig-common, and b) fail to install the
database because of not asking for the MySQL root password.

Long version:

I ran `sudo apt-get install cacti` and the system installed MySQL (with
root password prompt) and other dependencies, but when it gets to
configuring cacti, I get an error "No database user specified.". To
continue, I'm given a choice of:

abort
retry
retry (skip questions)
ignore

Via Google I figure out that I need to set some database connection
information in /etc/dbconfig-common/cacti.conf, so I add values for,
database user, database user password, database name, and database
admin.

I'm puzzled that there's no mention of the database admin password, but
I'll try and carry on. I get no obvious Google hits around ucf, root,
and password.

I re-read /usr/share/doc/cacti/README.Debian.gz, which says
configuration dbconfig-common should be automatic.

Retrying the database installation step, I now get the error:
"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: 
NO)"

Obviously dbconfig-common is not getting into MySQL without a password,
and is not asking me for the password.

Maybe I'm missing some "commonly known" approach to setting it up, but
there's nothing in the processes telling me how to get the automatic
install to work.

In the end I chose "abort", and created the database manually, as
described in  /usr/share/doc/cacti/README.Debian.gz. It took a bit of
fiddling, but it seems to be running now.

ProblemType: Bug
Architecture: i386
Date: Mon Feb 15 13:45:03 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100128)
Package: cacti 0.8.7e-2
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.17-generic
SourcePackage: cacti
Uname: Linux 2.6.32-12-generic i686

** Affects: dbconfig-common (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid
-- 
Unable to configure Cacti database on install (no MySQL root password)
https://bugs.launchpad.net/bugs/522142
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to dbconfig-common in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to