package mariadb-server-10.1 1:10.1.29-6 failed to install/upgrade: Unterprozess installed mariadb-server-10.1 package post-installation script gab den Fehler-Ausgangsstatus 2 zurück

Bug #1778348 reported by Rocco Gallo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mariadb-10.1 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Remove test database and access to it? [Y/n]
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n]
 ... Success!

Cleaning up...

All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
root@wtcse:~# echo "update mysql.user set plugin = 'mysql_native_password' where user='root';" | mysql -u root
root@wtcse:~# nano /etc/mysql/debian.cnf
root@wtcse:~# service mysql restart
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
root@wtcse:~# netstat -tap | grep mysql
root@wtcse:~# systemctl status mariadb.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since Sat 2018-06-23 16:26:04 CEST; 1min 1
  Process: 6284 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WS
  Process: 6185 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR
  Process: 6181 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START
  Process: 6165 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/ru
 Main PID: 6284 (code=exited, status=2)

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mariadb-server-10.1 1:10.1.29-6
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Sat Jun 23 16:30:07 2018
ErrorMessage: Unterprozess installed mariadb-server-10.1 package post-installation script gab den Fehler-Ausgangsstatus 2 zurück
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLVarLibDirListing: ['performance_schema', 'aria_log_control', 'aria_log.00000001', 'mysql_upgrade_info', 'ib_logfile1', 'debian-10.1.flag', 'multi-master.info', 'ibdata1', 'mysql', 'ib_logfile0', 'tc.log']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-23-generic root=UUID=94ddcfec-76d9-11e8-b2f4-001e3716b01d ro maybe-ubiquity
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: mariadb-10.1
Title: package mariadb-server-10.1 1:10.1.29-6 failed to install/upgrade: Unterprozess installed mariadb-server-10.1 package post-installation script gab den Fehler-Ausgangsstatus 2 zurück
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rocco Gallo (rocco.gallo) wrote :
Revision history for this message
Faustin (fauust) wrote :

Hi Rocco,
thank you for taking time to report this and helping making ubuntu better.

I can not find any relevant information in the log that you sent.

So please can you answer these questions:
* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Revision history for this message
Rocco Gallo (rocco.gallo) wrote : Re: [Bug 1778348] Re: package mariadb-server-10.1 1:10.1.29-6 failed to install/upgrade: Unterprozess installed mariadb-server-10.1 package post-installation script gab den Fehler-Ausgangsstatus 2zurück

Hallo Faustin

It is not a problem of MariaDB. It is my problem y forgot to install
the root with:
. mysql_secure_installation

befor

echo "update mysql.user set plugin = 'mysql_native_password' where
user='root';" | mysql -u root

thanks

Rocco

Am Dienstag, den 03.07.2018, 20:06 +0000 schrieb Faustin:
> Hi Rocco,
> thank you for taking time to report this and helping making ubuntu
> better.
>
> I can not find any relevant information in the log that you sent.
>
> So please can you answer these questions:
> * Is this reproducible?
> * If so, what specific steps should we take to recreate this bug?
>
> This will help us to find and resolve the problem.
>

Faustin (fauust)
Changed in mariadb-10.1 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.