| | 224 | * TdB: at around 17:30, the IPPmonitor stalled. Turns out, mysql crashed on ippdb05. Let's check things: |
| | 225 | |
| | 226 | Look at the error log under /var/log/mysql (log into ippdb05 as own user) |
| | 227 | {{{ |
| | 228 | 190513 17:16:46 - mysqld got signal 6 ; |
| | 229 | This could be because you hit a bug. It is also possible that this binary |
| | 230 | or one of the libraries it was linked against is corrupt, improperly built, |
| | 231 | or misconfigured. This error can also be caused by malfunctioning hardware. |
| | 232 | We will try our best to scrape up some info that will hopefully help diagnose |
| | 233 | the problem, but since we have already crashed, something is definitely wrong |
| | 234 | and this may fail. |
| | 235 | |
| | 236 | key_buffer_size=33554432 |
| | 237 | read_buffer_size=262144 |
| | 238 | max_used_connections=15 |
| | 239 | max_connections=2048 |
| | 240 | threads_connected=2 |
| | 241 | It is possible that mysqld could use up to |
| | 242 | key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 1605632 K |
| | 243 | bytes of memory |
| | 244 | Hope that's ok; if not, decrease some variables in the equation. |
| | 245 | |
| | 246 | thd=0x7f664c587e30 |
| | 247 | Attempting backtrace. You can use the following information to find out |
| | 248 | where mysqld died. If you see no messages after this, something went |
| | 249 | terribly wrong... |
| | 250 | Cannot determine thread, fp=0x7f664c587e30, backtrace may not be correct. |
| | 251 | Bogus stack limit or frame pointer, fp=0x7f664c587e30, stack_bottom=0x44c90000, thread_stack=262144, aborting backtrace. |
| | 252 | Trying to get some variables. |
| | 253 | Some pointers may be invalid and cause the dump to abort... |
| | 254 | thd->query at (nil) is invalid pointer |
| | 255 | thd->thread_id=4 |
| | 256 | The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| | 257 | information that should help you find out what is causing the crash. |
| | 258 | pure virtual method called |
| | 259 | terminate called without an active exception |
| | 260 | }}} |
| | 261 | |
| | 262 | So, let's try to restart mysql on ippdb05 and see if ti comes back up. As root, do: |
| | 263 | {{{ |
| | 264 | sudo /etc/init.d/mysql start |
| | 265 | * Starting mysql ... |
| | 266 | * Strange, the socket file already exist in "/var/run/mysqld/mysqld.sock" |
| | 267 | * it will be removed now and re-created by the MySQL server |
| | 268 | * BUT please make your checks. |
| | 269 | * Starting mysql (/etc/mysql/my.cnf) |
| | 270 | * MySQL NOT started (0) |
| | 271 | }}} |
| | 272 | But, it probably did start. Check, using: [ !! ] |
| | 273 | {{{ |
| | 274 | ps aux | grep mysql |
| | 275 | mysql 27881 93.3 7.5 146558796 14950952 ? Ssl 18:25 0:33 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock |
| | 276 | }}} |
| | 277 | Indeed, it started just fine. |
| | 278 | |
| | 279 | Checking the error log file again shows: |
| | 280 | {{{ |
| | 281 | 190513 18:26:29 InnoDB: Started; log sequence number 5173 4202608365 |
| | 282 | 190513 18:26:29 [Note] Recovering after a crash using /var/lib/mysql/mysqld-bin |
| | 283 | 190513 18:26:29 [Note] Starting crash recovery... |
| | 284 | 190513 18:26:29 [Note] Crash recovery finished. |
| | 285 | 190513 18:26:29 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=mysqld-relay-bin' to avoid this problem. |
| | 286 | |
| | 287 | InnoDB: Rolling back of trx id 2 1776754758 completed |
| | 288 | 190513 18:26:29 InnoDB: Rollback of non-prepared transactions completed |
| | 289 | 190513 18:26:29 [Note] /usr/sbin/mysqld: ready for connections. |
| | 290 | Version: '5.0.77-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Gentoo Linux mysql-community-5.0.77-r1 |
| | 291 | }}} |