Package: mariadb-server-10.1
Version: 10.1.37-0+deb9u1
Architecture: amd64

After a fresh installation of Debian stretch, a following installation
of said package results in an error:

Here's the transcript:

Setting up mariadb-client-10.1 (10.1.37-0+deb9u1) ...
Setting up mariadb-server-10.1 (10.1.37-0+deb9u1) ...
Job for mariadb.service failed because the control process exited with error 
code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
mariadb.service couldn't start.

journalctl -xe says:

Apr 03 11:30:14 Alpha mysqld[6861]: Version: '10.1.37-MariaDB-0+deb9u1'  
socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Debian
Apr 03 11:30:14 Alpha systemd[6888]: mariadb.service: Failed at step EXEC 
spawning /etc/mysql/debian-start: No such file or direct
-- Subject: Process /etc/mysql/debian-start could not be executed


Apparently, said script doesn't seem to be part of this package anymore.

Looking at a different host (with architecture i386 though),
/etc/mysql/debian-start was part of this package once:

$ ls -l /etc/mysql/debian-start
-rwxr-xr-x 1 root root 1509 Jun  7  2017 /etc/mysql/debian-start
$ dpkg -S /etc/mysql/debian-start
mariadb-server-10.1: /etc/mysql/debian-start
$ dpkg -l mariadb-server-10.1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-==========================================================
ii  mariadb-server-10.1        10.1.26-0+deb9u1   i386               MariaDB 
database server binaries

I've copied the script from the old packge to the new server and
mariadb was able to start.

Could it be that script got lost somehow?

Regards

        Joey

--
Let's call it an accidental feature.  -- Larry Wall

Please always Cc to me when replying to me on the lists.

Reply via email to