You are not logged in.

#1 2017-05-15 18:32:51

otacmilutin
Member
Registered: 2017-05-15
Posts: 2

can't start mariadb

I don't know where to put thi post/question so I write it i random section...

After last update  I can't start mariadb.
-----------------------------------------------------------------------------
➜  ~  sudo systemctl start asd           
➜  ~  sudo systemctl status mysqld.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
➜  ~  sudo systemctl start mysqld         
Job for mariadb.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
➜  ~  sudo systemctl status mysqld.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: core-dump) since Mon 2017-05-15 18:51:56 CEST; 1s ago
  Process: 1776 ExecStart=/usr/bin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=dumped, signal=ABRT)
  Process: 1692 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR
  Process: 1689 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 1776 (code=dumped, signal=ABRT)
   Status: "InnoDB: Fatal: Ending processing because of a corrupt database page."
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/mariadb.service

May 15 18:51:56 asus-n750j systemd[1]: mariadb.service: Main process exited, code=dumped, status=6/ABRT
May 15 18:51:56 asus-n750j systemd[1]: Failed to start MariaDB database server.
May 15 18:51:56 asus-n750j systemd[1]: mariadb.service: Unit entered failed state.
May 15 18:51:56 asus-n750j systemd[1]: mariadb.service: Failed with result 'core-dump'.
lines 1-15/15 (END)

Last edited by otacmilutin (2017-05-15 18:36:30)

Offline

#2 2017-05-15 18:42:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: can't start mariadb

I notice you're using asd, is this for the database files?
If so try without asd running, if this still doesn't work restore the files from the asd backup and try again.

As the error clearly states, you have a corrupt database.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-05-15 18:53:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: can't start mariadb

Not a Laptop issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-05-16 03:48:58

otacmilutin
Member
Registered: 2017-05-15
Posts: 2

Re: can't start mariadb

Something went wrong. Backups not helped.
I reinstalled mairadb, and looks like this will work for now.

Thanx!

Offline

Board footer

Powered by FluxBB