Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.1
-
None
-
Amazon EC2 AMI 1um / 2pm with replication enabled
-
2017-22
Description
Testing latest build of 1.1.1. Doing a postConfigure Install of a 1um / 2pm system will Replication enabled.
The postConfigure install failed with the Replication failure:
MariaDB ColumnStore Database Platform Starting, please wait .......... DONE
System Catalog Successfully Created
Run MariaDB ColumnStore Replication Setup..
ERROR: Error return in running the MariaDB ColumnStore Master replication, check /tmp/master-rep*.logs on um1
MariaDB ColumnStore Install Failed
Checking UM module logs and /tmp script log files pointed to a problem where mysqld failed to restart this this process, which caused the Replication to fail.
[mariadb-user@ip-172-30-0-135 columnstore]$ mcsmysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/home/mariadb-user/mariadb/columnstore/mysql/lib/mysql/mysql.soc' (2)
[mariadb-user@ip-172-30-0-135 columnstore]$ ps -ef | grep mysql
mariadb+ 4210 1 0 19:20 ? 00:00:00 /bin/sh /home/mariadb-user/mariadb/columnstore/mysql//bin/mysqld_safe --datadir=/home/mariadb-user/mariadb/columnstore/mysql/db --pid-file=/home/mariadb-user/mariadb/columnstore/mysql/db/ip-172-30-0-135.pid --ledir=/home/mariadb-user/mariadb/columnstore/mysql//bin
mariadb+ 4395 4210 0 19:20 ? 00:00:00 /home/mariadb-user/mariadb/columnstore/mysql//bin/mysqld --basedir=/home/mariadb-user/mariadb/columnstore/mysql/ --datadir=/home/mariadb-user/mariadb/columnstore/mysql/db --plugin-dir=/home/mariadb-user/mariadb/columnstore/mysql/lib/plugin --log-error=/home/mariadb-user/mariadb/columnstore/mysql/db/ip-172-30-0-135.err --pid-file=/home/mariadb-user/mariadb/columnstore/mysql/db/ip-172-30-0-135.pid --socket=/home/mariadb-user/mariadb/columnstore/mysql/lib/mysql/mysql.sock --port=3306
mariadb+ 7701 7618 0 19:29 pts/0 00:00:00 grep --color=auto mysql
[mariadb-user@ip-172-30-0-135 columnstore]$ ll /home/mariadb-user/mariadb/columnstore/mysql/lib/mysql/mysql.sock
ls: cannot access /home/mariadb-user/mariadb/columnstore/mysql/lib/mysql/mysql.sock: No such file or directory
tmp]$ cat actionMysqlCalpont.log
Shutting down MySQL.............................. ERROR!
ERROR! Failed to stop running server, so refusing to try to start.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | David Hill [ hill ] |
Fix Version/s | 1.2 [ 22554 ] |
Fix Version/s | 1.1.2 [ 22631 ] | |
Fix Version/s | 1.2 [ 22554 ] | |
Sprint | 2017-22 [ 201 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | David Hill [ hill ] | Ben Thompson [ ben.thompson ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Status | In Review [ 10002 ] | In Testing [ 10301 ] |
Assignee | Ben Thompson [ ben.thompson ] | Daniel Lee [ dleeyh ] |
Resolution | Fixed [ 1 ] | |
Status | In Testing [ 10301 ] | Closed [ 6 ] |
(gdb) info threads
Id Target Id Frame
24 Thread 0x7f9236acd700 (LWP 4397) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
23 Thread 0x7f91ff5c2700 (LWP 4398) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
22 Thread 0x7f91fedc1700 (LWP 4399) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
21 Thread 0x7f91fe5c0700 (LWP 4400) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
20 Thread 0x7f91fddbf700 (LWP 4401) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
19 Thread 0x7f91fd5be700 (LWP 4402) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
18 Thread 0x7f91fcdbd700 (LWP 4403) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
17 Thread 0x7f91fc5bc700 (LWP 4404) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
16 Thread 0x7f91fbdbb700 (LWP 4405) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
15 Thread 0x7f91fb5ba700 (LWP 4406) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
14 Thread 0x7f91fadb9700 (LWP 4407) "mysqld" 0x00007f923aafb644 in __io_getevents_0_4 () from /lib64/libaio.so.1
13 Thread 0x7f91fa5b8700 (LWP 4408) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
12 Thread 0x7f91f9390700 (LWP 4410) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
11 Thread 0x7f91f8b8f700 (LWP 4411) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
10 Thread 0x7f91f3fff700 (LWP 4412) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
9 Thread 0x7f91f9b91700 (LWP 4413) "mysqld" 0x00007f923b347bdd in nanosleep () from /lib64/libpthread.so.0
8 Thread 0x7f91f1ffb700 (LWP 4417) "mysqld" 0x00007f923b3446d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
7 Thread 0x7f91d7fff700 (LWP 4420) "mysqld" 0x00007f923b3446d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
6 Thread 0x7f91d77fe700 (LWP 4421) "mysqld" 0x00007f923b347bdd in nanosleep () from /lib64/libpthread.so.0
5 Thread 0x7f91d6ffd700 (LWP 4422) "mysqld" 0x00007f923b3446d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x7f91d5ffb700 (LWP 4424) "mysqld" 0x00007f923b344a82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
3 Thread 0x7f91ffa55700 (LWP 4426) "mysqld" 0x00007f923b348101 in sigwait () from /lib64/libpthread.so.0
2 Thread 0x7f91ff8d2700 (LWP 7329) "mysqld" 0x00007f923b3446d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0 0x00007f923b3446d5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f923bbbcacb in inline_mysql_cond_wait (src_file=0x7f923c2d6368 "/home/builder/mariadb-columnstore-server/sql/mysqld.cc", src_line=6089,
mutex=0x7f923cb37f40 <LOCK_thread_count>, that=0x7f923cb37840 <COND_thread_count>) at /home/builder/mariadb-columnstore-server/include/mysql/psi/mysql_thread.h:1149
#2 mysqld_main (argc=43, argv=0x7f923dbfa518) at /home/builder/mariadb-columnstore-server/sql/mysqld.cc:6089
#3 0x00007f923900ab35 in __libc_start_main () from /lib64/libc.so.6
#4 0x00007f923bbb13e9 in _start ()
(gdb)