You are not logged in.

#1 2019-03-11 16:32:01

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Cannot stop mariadb service

Hello, I trying stopping mariadb service when waiting to long. System when shutdown waiting to stop mariadb service.

Status service:

● mariadb.service - MariaDB 10.3.13 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: deactivating (stop-sigterm) since Mon 2019-03-11 19:28:21 +03; 7s ago
     Docs: man:mysqld(8)
           https://mariadb.com/kb/en/library/systemd/
  Process: 566 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 614 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
  Process: 662 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
 Main PID: 627 (mysqld)
   Status: "Waiting for page cleaner"
    Tasks: 16 (limit: 4915)
   Memory: 101.4M
   CGroup: /system.slice/mariadb.service
           └─627 /usr/bin/mysqld

Mar 11 22:23:33 arch mysqld[627]: 2019-03-11 22:23:33 0 [Note] /usr/bin/mysqld: ready for connections.
Mar 11 22:23:33 arch mysqld[627]: Version: '10.3.13-MariaDB'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Source distribution
Mar 11 22:23:33 arch systemd[1]: Started MariaDB 10.3.13 database server.
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] /usr/bin/mysqld (initiated by: unknown): Normal shutdown
Mar 11 19:28:21 arch systemd[1]: Stopping MariaDB 10.3.13 database server...
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] Event Scheduler: Purging the queue. 0 events
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] InnoDB: FTS optimize thread exiting.
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] InnoDB: Starting shutdown...
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
Mar 11 19:28:21 arch mysqld[627]: 2019-03-11 19:28:21 0 [Note] InnoDB: Buffer pool(s) dump completed at 190311 19:28:21

Last edited by runtomaker (2019-03-19 00:01:38)

Offline

#2 2019-03-11 16:52:52

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

Re: Cannot stop mariadb service

Not a Pacman issue. moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-03-11 17:00:23

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Re: Cannot stop mariadb service

jasonwryan wrote:

Not a Pacman issue. moving to NC...

Thanks.

Last edited by runtomaker (2019-03-11 17:00:42)

Offline

#4 2019-03-11 17:04:55

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Re: Cannot stop mariadb service

Extra logs. In loops this stopping event.

Mar 11 19:54:25 arch mysqld[627]: 2019-03-11 19:54:25 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 19:55:25 arch mysqld[627]: 2019-03-11 19:55:25 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 19:56:25 arch mysqld[627]: 2019-03-11 19:56:25 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 19:57:25 arch mysqld[627]: 2019-03-11 19:57:25 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 19:58:26 arch mysqld[627]: 2019-03-11 19:58:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 19:59:26 arch mysqld[627]: 2019-03-11 19:59:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 20:00:26 arch mysqld[627]: 2019-03-11 20:00:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 20:01:26 arch mysqld[627]: 2019-03-11 20:01:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 20:02:26 arch mysqld[627]: 2019-03-11 20:02:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
Mar 11 20:03:26 arch mysqld[627]: 2019-03-11 20:03:26 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool

Last edited by runtomaker (2019-03-11 19:08:40)

Offline

#5 2019-03-11 17:40:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,694
Website

Re: Cannot stop mariadb service

Please don't multi-post. If you are the last person to post, use the edit button to append more information. You also forgot to use code tags in your last post; please edit the post and add them in.

Last edited by WorMzy (2019-03-11 19:10:48)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2019-03-11 19:00:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: Cannot stop mariadb service

Did you google that error at all?  I get a lot of results, many with what look to be solutions.  Which ones have you tried?

Last edited by Trilby (2019-03-11 19:00:47)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2019-03-11 19:06:49

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Re: Cannot stop mariadb service

Trilby wrote:

Did you google that error at all?  I get a lot of results, many with what look to be solutions.  Which ones have you tried?

I no found any solution. You can share solutions ?

Last edited by runtomaker (2019-03-11 19:07:23)

Offline

#8 2019-03-12 17:19:12

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Re: Cannot stop mariadb service

Reinstalled database and problem are solved.

In: https://wiki.archlinux.org/index.php/MariaDB

# mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# mysql_secure_installation

Last edited by runtomaker (2019-03-12 17:19:35)

Offline

#9 2019-03-12 17:36:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,694
Website

Re: Cannot stop mariadb service

Please remember to mark your thread as solved by editing the first post and amending the topic title.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2019-03-19 00:00:59

runtomaker
Member
Registered: 2019-03-11
Posts: 6

Re: Cannot stop mariadb service

Same issue there. This issue not fixed...

redacted for mariadb

Offline

#11 2019-03-19 00:19:15

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

Re: Cannot stop mariadb service

Don't do that. It's trolling. Final warning.

https://wiki.archlinux.org/index.php/Co … o_trolling


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB