I am attempting to install ZoneMinder via PPA as recc. on the zoneminder install page and am running into a problem with the configuration step. This leaves the package in a "half installed" state and I can't start it:
Code: Select all
[mkowske@terra ~/System/bin]$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
fcgiwrap
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 179 not upgraded.
Need to get 0 B/5,580 kB of archives.
After this operation, 36.1 MB of additional disk space will be used.
Selecting previously unselected package zoneminder.
(Reading database ... 446083 files and directories currently installed.)
Preparing to unpack .../zoneminder_1.30.0-xenial_amd64.deb ...
Unpacking zoneminder (1.30.0-xenial) ...
Processing triggers for systemd (229-4ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up zoneminder (1.30.0-xenial) ...
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
[mkowske@terra ~]$ sudo mysqladmin status
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[mkowske@terra ~]$ sudo su -
# mysqladmin status
Uptime: 1782 Threads: 1 Questions: 133 Slow queries: 0 Opens: 19 Flush tables: 1 Open tables: 82 Queries per second avg: 0.074
#
[mkowske@terra ~]$ sudo mysqladmin -p status
Enter password:
Uptime: 1798 Threads: 1 Questions: 134 Slow queries: 0 Opens: 19 Flush tables: 1 Open tables: 82 Queries per second avg: 0.074
[mkowske@terra ~]$