Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.39, 10.0.13, 10.1.0
-
Linux Debian 7.6 64-bit on OpenVZ virtual server
Description
Have an issue during installation of MariaDB 10.1 to Linux Debian 7.6 64-bit virtual server, virtualized with OpenVZ.
The problem is in missing command "logger", which is a way to talk to syslog. Syslog is installed and i am not sure which package need to be installed for command "logger" to work. I guess, that i don't have it, because OpenVZ system images usually minimalized (some tools got removed) to reduce drive space used and memory usage. The possible solution would be:
a) Detect which package need to be installed for command "logger" to work
b) Add this package as a dependency for .deb MariaDB package (mariadb-server).
Log:
Setting up mariadb-server-10.1 (10.1.0+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
/var/lib/dpkg/info/mariadb-server-10.1.postinst: line 147: logger: command not found
/var/lib/dpkg/info/mariadb-server-10.1.postinst: line 220: logger: command not found
dpkg: error processing mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.1 (= 10.1.0+maria-1~wheezy); however:
Package mariadb-server-10.1 is not configured yet.dpkg: error processing mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.1
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mariadb-server-10.1 (10.1.0+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
/var/lib/dpkg/info/mariadb-server-10.1.postinst: line 147: logger: command not found
/var/lib/dpkg/info/mariadb-server-10.1.postinst: line 220: logger: command not found
dpkg: error processing mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.1 (= 10.1.0+maria-1~wheezy); however:
Package mariadb-server-10.1 is not configured yet.dpkg: error processing mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.1
mariadb-server