Ad Widget

Collapse

Crach on zabbix Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omid1979
    Member
    • Nov 2016
    • 33

    #1

    Crach on zabbix Database

    hi all
    in this day we have problem on our zabbix server , on wall view we lost map and when I check zabbix server's found that zabbix server are stoped ,
    during troubleshooting check I see that mariadb sql is crached with the error below ,
    I am trying upgrade mariadb to last version using yum update mariadb ,
    after update steel have a problem
    p.s : in another time I try to recover my clone backup of our server but after one day mysql crached again ,
    anyone can help me what happen to our server ?

    Server : centos 7.3 ( upgrade to 7.4 )
    Zabbix server : 3.4

    PHP Code:
    ###/var/log/mariadb/mariadb.log

    171016 08:00:10 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    171016  8
    :00:10 [Note] /usr/libexec/mysqld (mysqld 5.5.56-MariaDBstarting as process 38260 ...
    171016  8:00:10 InnoDBThe InnoDB memory heap is disabled
    171016  8
    :00:10 InnoDBMutexes and rw_locks use GCC atomic builtins
    171016  8
    :00:10 InnoDBCompressed tables use zlib 1.2.7
    171016  8
    :00:10 InnoDBUsing Linux native AIO
    171016  8
    :00:10 InnoDBInitializing buffer poolsize 128.0M
    171016  8
    :00:10 InnoDBCompleted initialization of buffer pool
    171016  8
    :00:10 InnoDBhighest supported file format is Barracuda.
    171016  8:00:10  InnoDBStarting crash recovery from checkpoint LSN=860866004661
    InnoDB
    Restoring possible half-written data pages from the doublewrite buffer...
    171016  8:00:10  InnoDBStarting final batch to recover 1921 pages from redo log
    171016  8
    :00:11  InnoDBWaiting for the background threads to start
    171016  8
    :00:12  InnoDBAssertion failure in thread 139977639614208 in file btr0btr.c line 3380
    InnoDB
    Failing assertionbtr_page_get_next(merge_pagemtr) == buf_block_get_page_no(block)
    InnoDBWe intentionally generate a memory trap.
    InnoDBSubmit a detailed bug report to http://bugs.mysql.com.
    InnoDB: If you get repeated assertion failures or crasheseven
    InnoDB
    immediately after the mysqld startupthere may be
    InnoDB
    corruption in the InnoDB tablespacePlease refer to
    InnoDB
    http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
    InnoDBabout forcing recovery.
    171016  8:00:12 [ERRORmysqld got signal 6 ;
    This could be because you hit a bugIt is also possible that this binary
    or one of the libraries it was linked against is corruptimproperly built,
    or 
    misconfiguredThis error can also be caused by malfunctioning hardware.

    To report this bugsee http://kb.askmonty.org/en/reporting-bugs

    We will try our best to scrape up some info that will hopefully help
    diagnose the problem
    but since we have already crashed,
    something is definitely wrong and this may fail.

    Server version5.5.56-MariaDB
    key_buffer_size
    =134217728
    read_buffer_size
    =131072
    max_used_connections
    =0
    max_threads
    =153
    thread_count
    =0
    It is possible that mysqld could 
    use up to
    key_buffer_size 
    + (read_buffer_size sort_buffer_size)*max_threads 466711 K  bytes of memory
    Hope that
    's ok; if not, decrease some variables in the equation. 


    PHP Code:
    InnoDBStarting crash recovery.
    InnoDBReading tablespace information from the .ibd files...
    InnoDBRestoring possible half-written data pages from the doublewrite
    InnoDB
    buffer...
    InnoDBDoing recoveryscanned up to log sequence number 104797810688
    InnoDB
    Doing recoveryscanned up to log sequence number 104798046742
    InnoDB
    1 transaction(swhich must be rolled back or cleaned up
    InnoDB
    in total 53044165 row operations to undo
    InnoDB
    Trx id counter is 3558500
    170301 11
    :28:58  InnoDBStarting an apply batch of log records to the database...
    InnoDBProgress in percents0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
    InnoDB
    Apply batch completed
    InnoDB
    Starting in background the rollback of uncommitted transactions
    170301 11
    :29:00  InnoDBRolling back trx with id 3546DD453044165 rows to undo

    InnoDB
    Progress in percents1170301 11:29:00  InnoDBWaiting for the background threads to start
    170301 11
    :29:01 Percona XtraDB (http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number 104798046742
    170301 11:29:01 [NotePlugin 'FEEDBACK' is disabled.
    170301 11:29:01 [NoteServer socket created on IP'0.0.0.0'.
    170301 11:29:01 [NoteEvent SchedulerLoaded 0 events
    170301 11
    :29:01 [Note] /usr/libexec/mysqldready for connections.
    Version'5.5.52-MariaDB'  socket'/var/lib/mysql/mysql.sock'  port3306  MariaDB Server
     2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
    InnoDB
    Rolling back of trx id 3546DD4 completed
    170301 12
    :02:04  InnoDBRollback of non-prepared transactions completed
    170928 10
    :12:24 [Note] /usr/libexec/mysqldNormal shutdown

    170928 10
    :12:24 [NoteEvent SchedulerPurging the queue0 events
    170928 10
    :12:24  InnoDBStarting shutdown...
    170928 10:12:24  InnoDBWaiting for 201 pages to be flushed
    170928 10
    :12:25  InnoDBShutdown completedlog sequence number 832554350725
    170928 10
    :12:25 [Note] /usr/libexec/mysqldShutdown complete

    170928 10
    :12:26 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
    170928 10
    :49:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    170928 10
    :49:49 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDBstarting as process 1351 ...
    170928 10:49:49 InnoDBThe InnoDB memory heap is disabled
    170928 10
    :49:49 InnoDBMutexes and rw_locks use GCC atomic builtins
    170928 10
    :49:49 InnoDBCompressed tables use zlib 1.2.7
    170928 10
    :49:49 InnoDBUsing Linux native AIO
    170928 10
    :49:49 InnoDBInitializing buffer poolsize 128.0M
    170928 10
    :49:49 InnoDBCompleted initialization of buffer pool
    170928 10
    :49:49 InnoDBhighest supported file format is Barracuda.
    170928 10:49:51  InnoDBWaiting for the background threads to start
    170928 10
    :49:52 Percona XtraDB (http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number 832554350725
    170928 10:49:52 [NotePlugin 'FEEDBACK' is disabled
    Last edited by omid1979; 16-10-2017, 06:40. Reason: Update log file
Working...