Software center does not ask dbconfig question for mysql administrator password preventing cacti from installing properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cacti (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I don't really know what happens. When configuring cacti for my database management (MySQL) and webserver (Apache), two dialog boxes show up and give options to abort, retry, and ignore. I choose abort on all of them, then the error dialog box shows up. I'm running Ubuntu 12.04.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cacti 0.8.7i-2ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
php5-ldap: Install
cacti: Configure
php5-ldap: Configure
Architecture: i386
Date: Tue May 29 22:45:32 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
PackageArchitec
SourcePackage: cacti
Title: package cacti 0.8.7i-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks for reporting your issues with Cacti.
From the DpkgTerminalLog .txt:
"""
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
"""
Did you supply a password for the administrator of mysql when asked for it? Did you get the question to supply the mysql administrator password? Can you confirm that mysql is running and that you are able to log in as root?
To really get all the questions in case some where not asked correctly you could try:
$ dpkg-reconfigure cacti
Please let us know of the progress.