We’re currently doing some installs with the latest 5.5 release (5.5.24 Rel26)
We want to set specific directoires for datadir, innodb logs etc that are not the default, so prior to the rpm install we put our my.cnf in place.
The RPM install works fine, but we seem to have no DB.
I run mysql_install_db manually and it’s failing consistently with the following in the error log:
15:31:15 UTC - mysqld got signal 11 ;This could be because you hit a bug. It is also possible that this binaryor one of the libraries it was linked against is corrupt, improperly built,or misconfigured. This error can also be caused by malfunctioning hardware.We will try our best to scrape up some info that will hopefully helpdiagnose the problem, but since we have already crashed,something is definitely wrong and this may fail.key_buffer_size=8388608read_buffer_size=131072max_used_connections=0max_threads=400thread_count=1connection_count=0It is possible that mysqld could use up tokey_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 881213 K bytes of memoryHope that’s ok; if not, decrease some variables in the equation.Thread pointer: 0x19160250Attempting backtrace. You can use the following information to find outwhere mysqld died. If you see no messages after this, something wentterribly wrong…stack_bottom = 41099e98 thread_stack 0x40000/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7a4c35]/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x67fcc4]/lib64/libpthread.so.0[0x2adfeb9fbbe0]/usr/sbin/mysqld[0x621ec6]/usr/sbin/mysqld(_Z24update_global_user_statsP3THDbl+0x3c2)[0x6239b2]/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0xaa)[0x589ffa]/usr/sbin/mysqld[0x58c3cd]/usr/sbin/mysqld(_Z19do_handle_bootstrapP3THD+0x16a)[0x58c6aa]/usr/sbin/mysqld(handle_bootstrap+0x51)[0x58c731]/lib64/libpthread.so.0[0x2adfeb9f377d]/lib64/libc.so.6(clone+0x6d)[0x2adfec7a625d]Trying to get some variables.Some pointers may be invalid and cause the dump to abort.Query (19173760): use mysqlConnection ID (thread ID): 1Status: NOT_KILLEDThe manual page at http://dev.mysql.com/doc/mysql/en/crashing.html containsinformation that should help you find out what is causing the crash.
As soon as I remove userstats=ON from the my.cnf, it works fine, I can then put userstats=ON back into the my.cnf and I have no issues. Is this a known problem? Should I infact not be able to do this anyway?
We are using puppet for pushing this out and this little hiccup means an additional manual step that we want to try and avoid.