eugeneware / docker-wordpress-nginx

A Dockerfile that installs the latest wordpress, nginx and php-fpm.
MIT License
874 stars 380 forks source link

MySQL Crash Loop #50

Open Apelsin opened 8 years ago

Apelsin commented 8 years ago

I'm running into a problem that occurs both when using the Docker Hub image and building the image myself (using the latest revision at this time: acdab6f7e569ef2c57fdba929be877cd2a115b22).

I've tested this on Windows with boot2docker under VirtualBox and in a fully-contained Ubuntu 15.10 virtual machine and had the same results (it's reproducible).

mysql appears to silently fail immediately after starting and supervisor restarts it over and over. mysql is able to write database files ibdata1 ib_logfile0 and ib_logfile1 before failing.

I wasn't able to find much help on this anywhere else, so any help would be appreciated! I think this might be a bug.

Docker version
$ docker --version
Docker version 1.9.1, build a34a1d5
Volume host path info
$ ls -la /var/lib/mysql
total 28680
drwxrwxrwx  2 root            root                4096 Jan  4 04:54 .
drwxr-xr-x 73 root            root                4096 Jan  4 04:29 ..
-rw-rw----  1 systemd-resolve systemd-resolve 18874368 Jan  4 04:54 ibdata1
-rw-rw----  1 systemd-resolve systemd-resolve  5242880 Jan  4 04:54 ib_logfile0
-rw-rw----  1 systemd-resolve systemd-resolve  5242880 Jan  4 04:52 ib_logfile1
Building the image
$ docker build -t dwpn-dev .
Sending build context to Docker daemon 99.33 kB
Step 1 : FROM ubuntu:14.04
 ---> 89d5d8e8bafb
Step 2 : MAINTAINER Eugene Ware <eugene@noblesamurai.com>
 ---> Using cache
 ---> ff2167886988
Step 3 : RUN dpkg-divert --local --rename --add /sbin/initctl
 ---> Using cache
 ---> a90ff2634e51
Step 4 : RUN ln -sf /bin/true /sbin/initctl
 ---> Using cache
 ---> c9f980ea43f3
Step 5 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 153481f4aac3
Step 6 : RUN apt-get update
 ---> Using cache
 ---> 12cb9f4b9456
Step 7 : RUN apt-get -y upgrade
 ---> Using cache
 ---> 0aa7fee3c1f1
Step 8 : RUN apt-get -y install mysql-server mysql-client nginx php5-fpm php5-mysql php-apc pwgen python-setuptools curl git unzip
 ---> Using cache
 ---> 5fe54110a43b
Step 9 : RUN apt-get -y install php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-sqlite php5-tidy php5-xmlrpc php5-xsl
 ---> Using cache
 ---> e762c71e4d88
Step 10 : RUN sed -i -e"s/^bind-address\s*=\s*127.0.0.1/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
 ---> Using cache
 ---> 7a539f4ac600
Step 11 : RUN sed -i -e"s/keepalive_timeout\s*65/keepalive_timeout 2/" /etc/nginx/nginx.conf
 ---> Using cache
 ---> dd02c507274d
Step 12 : RUN sed -i -e"s/keepalive_timeout 2/keepalive_timeout 2;\n\tclient_max_body_size 100m/" /etc/nginx/nginx.conf
 ---> Using cache
 ---> 2b0ba48364aa
Step 13 : RUN echo "daemon off;" >> /etc/nginx/nginx.conf
 ---> Using cache
 ---> 314ac241b573
Step 14 : RUN sed -i -e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/fpm/php.ini
 ---> Using cache
 ---> 72e10038eb41
Step 15 : RUN sed -i -e "s/upload_max_filesize\s*=\s*2M/upload_max_filesize = 100M/g" /etc/php5/fpm/php.ini
 ---> Using cache
 ---> 9c35554cc4b8
Step 16 : RUN sed -i -e "s/post_max_size\s*=\s*8M/post_max_size = 100M/g" /etc/php5/fpm/php.ini
 ---> Using cache
 ---> ff0bd95b3ce0
Step 17 : RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf
 ---> Using cache
 ---> e5b71fa656bc
Step 18 : RUN sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" /etc/php5/fpm/pool.d/www.conf
 ---> Using cache
 ---> c9b593c8916d
Step 19 : RUN find /etc/php5/cli/conf.d/ -name "*.ini" -exec sed -i -re 's/^(\s*)#(.*)/\1;\2/g' {} \;
 ---> Using cache
 ---> b1f4821b6a60
Step 20 : ADD ./nginx-site.conf /etc/nginx/sites-available/default
 ---> Using cache
 ---> a54fdc5672fe
Step 21 : RUN /usr/bin/easy_install supervisor
 ---> Using cache
 ---> ab5f651dde02
Step 22 : RUN /usr/bin/easy_install supervisor-stdout
 ---> Using cache
 ---> d5a95ad2a72e
Step 23 : ADD ./supervisord.conf /etc/supervisord.conf
 ---> Using cache
 ---> 97689be9c5cb
Step 24 : ADD https://wordpress.org/latest.tar.gz /usr/share/nginx/latest.tar.gz
Downloading 7.079 MB/7.079 MB
 ---> Using cache
 ---> c67539578854
Step 25 : RUN cd /usr/share/nginx/ && tar xvf latest.tar.gz && rm latest.tar.gz
 ---> Using cache
 ---> 9070a0fc5512
Step 26 : RUN mv /usr/share/nginx/html/5* /usr/share/nginx/wordpress
 ---> Using cache
 ---> db638615a59c
Step 27 : RUN rm -rf /usr/share/nginx/www
 ---> Using cache
 ---> 0c5068135a8f
Step 28 : RUN mv /usr/share/nginx/wordpress /usr/share/nginx/www
 ---> Using cache
 ---> 6dca56ad32e4
Step 29 : RUN chown -R www-data:www-data /usr/share/nginx/www
 ---> Using cache
 ---> 9354b6f52dca
Step 30 : ADD ./start.sh /start.sh
 ---> Using cache
 ---> bb665433d861
Step 31 : RUN chmod 755 /start.sh
 ---> Using cache
 ---> b4c7390c2ab5
Step 32 : EXPOSE 3306
 ---> Using cache
 ---> 23ccb658ce04
Step 33 : EXPOSE 80
 ---> Using cache
 ---> 05c00a52e48c
Step 34 : VOLUME /var/lib/mysql /usr/share/nginx/www
 ---> Using cache
 ---> 6b23efffff88
Step 35 : CMD /bin/bash /start.sh
 ---> Using cache
 ---> ef52a9160c4f
Successfully built ef52a9160c4f
Running a container
$ docker run --rm -ti -v /var/lib/mysql:/var/lib/mysql --name bun -p 8080:80 dwpn-dev
160104 12:38:12 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
160104 12:38:12 mysqld_safe Logging to '/var/log/mysql/error.log'.
160104 12:38:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160104 12:38:13 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
mysql root password: Piibiequee3O
wordpress password: thoo9OXairoh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  135k  100  135k    0     0   368k      0 --:--:-- --:--:-- --:--:--  367k
Archive:  nginx-helper.1.9.6.zip
nginx-helper.1.9.6 packaged
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/nginx-helper.php  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/lib/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/lib/nginx-sidebar.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/lib/nginx-support.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/lib/nginx-general.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/admin.php  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/rtp-social-icons-32-32.png  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/style.css  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx.js  
 extracting: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-icon-32x32.png  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/logo.png  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/css/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/css/nginx-fontello.css  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/config.json  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/font/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/font/nginx-fontello.ttf  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/font/nginx-fontello.eot  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/font/nginx-fontello.woff  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/font/nginx-fontello.svg  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/install.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/purger.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/wercker.yml  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/composer.json  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/languages/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/languages/nginx-helper.po  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/languages/nginx-helper.mo  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/redis-purger.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/readme.txt  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/compatibility.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/wp-cli.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/composer.lock  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/includes/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/includes/predis.php  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/includes/redis-delete.php  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/res/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/res/constants.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/package.json  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/src/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/src/purge-method-get-request-post-test.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/src/purge-method-unlink-files-post-test.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/src/purge-method-unlink-files-page-test.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/src/purge-method-get-request-page-test.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/nightwatch.json  
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/wplogout.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/nginxSettings.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/goToAddNewPost.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/goToAddNewPage.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/enableAllPurgeCheckbox.js  
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/tests/functional/custom-commands/wplogin.js  
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mysqld: no process found
/usr/local/lib/python2.7/dist-packages/supervisor-3.2.0-py2.7.egg/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2016-01-04 12:38:23,274 CRIT Supervisor running as root (no user in config file)
2016-01-04 12:38:23,284 INFO RPC interface 'supervisor' initialized
2016-01-04 12:38:23,290 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2016-01-04 12:38:23,291 INFO supervisord started with pid 400
2016-01-04 12:38:24,294 INFO spawned: 'stdout' with pid 403
2016-01-04 12:38:24,297 INFO spawned: 'php5-fpm-log' with pid 404
2016-01-04 12:38:24,299 INFO spawned: 'nginx' with pid 405
2016-01-04 12:38:24,302 INFO spawned: 'mysqld' with pid 406
2016-01-04 12:38:24,302 INFO spawned: 'php5-fpm' with pid 407
2016-01-04 12:38:24,328 INFO exited: php5-fpm-log (exit status 1; not expected)
2016-01-04 12:38:25,425 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:25,426 INFO spawned: 'php5-fpm-log' with pid 431
2016-01-04 12:38:25,426 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:25,426 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:25,426 INFO success: php5-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php5-fpm-log stderr | tail: cannot open '/var/log/php5-fpm.log' for reading: No such file or directory
mysqld stderr | 160104 12:38:24 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160104 12:38:24 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 406 ...
php5-fpm-log stdout | [04-Jan-2016 12:38:24] NOTICE: fpm is running, pid 407
[04-Jan-2016 12:38:24] NOTICE: ready to handle connections
[04-Jan-2016 12:38:24] NOTICE: systemd monitor interval set to 10000ms
2016-01-04 12:38:25,462 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:26,465 INFO success: php5-fpm-log entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:26,466 INFO spawned: 'mysqld' with pid 433
mysqld stderr | 160104 12:38:26 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:26 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 433 ...
2016-01-04 12:38:27,482 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:27,565 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:28,568 INFO spawned: 'mysqld' with pid 451
mysqld stderr | 160104 12:38:28 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:28 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 451 ...
2016-01-04 12:38:29,583 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:30,154 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:31,156 INFO spawned: 'mysqld' with pid 469
mysqld stderr | 160104 12:38:31 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:31 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 469 ...
2016-01-04 12:38:32,169 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:32,281 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:33,285 INFO spawned: 'mysqld' with pid 487
mysqld stderr | 160104 12:38:33 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:33 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 487 ...
2016-01-04 12:38:34,300 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:34,412 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:35,415 INFO spawned: 'mysqld' with pid 505
mysqld stderr | 160104 12:38:35 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160104 12:38:35 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 505 ...
2016-01-04 12:38:36,430 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:37,016 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:38,019 INFO spawned: 'mysqld' with pid 523
mysqld stderr | 160104 12:38:38 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:38 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 523 ...
2016-01-04 12:38:39,039 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:39,118 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:40,121 INFO spawned: 'mysqld' with pid 541
mysqld stderr | 160104 12:38:40 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:40 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 541 ...
2016-01-04 12:38:41,137 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:41,713 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:42,718 INFO spawned: 'mysqld' with pid 559
mysqld stderr | 160104 12:38:42 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:42 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 559 ...
2016-01-04 12:38:43,740 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:43,813 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:44,817 INFO spawned: 'mysqld' with pid 577
mysqld stderr | 160104 12:38:44 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:44 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 577 ...
2016-01-04 12:38:45,834 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:45,932 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:46,936 INFO spawned: 'mysqld' with pid 595
mysqld stderr | 160104 12:38:46 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:46 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 595 ...
2016-01-04 12:38:47,952 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:48,551 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:49,554 INFO spawned: 'mysqld' with pid 613
mysqld stderr | 160104 12:38:49 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:49 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 613 ...
2016-01-04 12:38:50,571 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:51,150 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:52,153 INFO spawned: 'mysqld' with pid 631
mysqld stderr | 160104 12:38:52 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:52 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 631 ...
2016-01-04 12:38:53,170 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:53,266 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:54,275 INFO spawned: 'mysqld' with pid 649
mysqld stderr | 160104 12:38:54 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:54 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 649 ...
2016-01-04 12:38:55,291 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:55,377 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:56,380 INFO spawned: 'mysqld' with pid 667
mysqld stderr | 160104 12:38:56 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:56 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 667 ...
2016-01-04 12:38:57,394 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:57,481 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:38:58,485 INFO spawned: 'mysqld' with pid 685
mysqld stderr | 160104 12:38:58 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:38:58 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 685 ...
2016-01-04 12:38:59,500 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:38:59,591 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:39:00,594 INFO spawned: 'mysqld' with pid 703
mysqld stderr | 160104 12:39:00 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160104 12:39:00 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 703 ...
2016-01-04 12:39:01,609 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:39:02,222 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:39:03,226 INFO spawned: 'mysqld' with pid 721
mysqld stderr | 160104 12:39:03 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:39:03 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 721 ...
2016-01-04 12:39:04,243 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:39:04,362 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:39:05,365 INFO spawned: 'mysqld' with pid 739
mysqld stderr | 160104 12:39:05 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:39:05 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 739 ...
2016-01-04 12:39:06,395 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:39:06,968 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:39:07,972 INFO spawned: 'mysqld' with pid 757
mysqld stderr | 160104 12:39:07 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:39:07 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 757 ...
2016-01-04 12:39:08,990 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-01-04 12:39:09,070 INFO exited: mysqld (exit status 1; not expected)
2016-01-04 12:39:10,074 INFO spawned: 'mysqld' with pid 775
mysqld stderr | 160104 12:39:10 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
mysqld stderr | 160104 12:39:10 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.14.04.2) starting as process 775 ...
^C2016-01-04 12:39:10,328 WARN received SIGINT indicating exit request
2016-01-04 12:39:10,329 INFO waiting for php5-fpm-log, nginx, mysqld, php5-fpm, stdout to die
2016-01-04 12:39:10,338 INFO stopped: php5-fpm (exit status 0)
php5-fpm-log stdout | [04-Jan-2016 12:39:10] NOTICE: Terminating ...
[04-Jan-2016 12:39:10] NOTICE: exiting, bye-bye!
2016-01-04 12:39:11,683 INFO stopped: mysqld (exit status 1)
2016-01-04 12:39:11,685 INFO stopped: nginx (exit status 0)
2016-01-04 12:39:11,686 INFO stopped: php5-fpm-log (terminated by SIGTERM)
2016-01-04 12:39:11,687 INFO stopped: stdout (terminated by SIGTERM)