Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mysql #32

Open
pahaz opened this issue Mar 4, 2015 · 1 comment
Open

Problem with mysql #32

pahaz opened this issue Mar 4, 2015 · 1 comment

Comments

@pahaz
Copy link

pahaz commented Mar 4, 2015

150304 10:53:07 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.
150304 10:53:07 mysqld_safe Logging to '/var/log/mysql/error.log'.
150304 10:53:07 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
mysql root password: Iexo1aM9zohm
wordpress password: eisaevoeFee9
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 58685  100 58685    0     0  21089      0  0:00:02  0:00:02 --:--:-- 21086
Archive:  nginx-helper.1.8.4.zip
nginx-helper.1.8.4 packaged
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/readme.txt
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/install.php
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/
   creating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx-helper-icons/
  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.eot
  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/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.woff
   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
 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/style.css
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/logo.png
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/admin/assets/nginx.js
  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/admin.php
   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-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/lib/nginx-sidebar.php
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/nginx-helper.php
  inflating: /usr/share/nginx/www/wp-content/plugins/nginx-helper/purger.php
   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/compatibility.php
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)
/usr/local/lib/python2.7/dist-packages/supervisor-3.1.3-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 '
2015-03-04 10:53:23,017 CRIT Supervisor running as root (no user in config file)
2015-03-04 10:53:23,041 INFO RPC interface 'supervisor' initialized
2015-03-04 10:53:23,041 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-03-04 10:53:23,042 INFO supervisord started with pid 391
2015-03-04 10:53:24,046 INFO spawned: 'stdout' with pid 394
2015-03-04 10:53:24,053 INFO spawned: 'php5-fpm-log' with pid 395
2015-03-04 10:53:24,062 INFO spawned: 'nginx' with pid 396
2015-03-04 10:53:24,074 INFO spawned: 'mysqld' with pid 397
2015-03-04 10:53:24,084 INFO spawned: 'php5-fpm' with pid 398
2015-03-04 10:53:24,109 INFO exited: php5-fpm-log (exit status 1; not expected)
2015-03-04 10:53:24,226 INFO exited: php5-fpm (exit status 254; not expected)
2015-03-04 10:53:25,227 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-03-04 10:53:25,232 INFO spawned: 'php5-fpm-log' with pid 415
2015-03-04 10:53:25,234 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-03-04 10:53:25,234 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-03-04 10:53:25,239 INFO spawned: 'php5-fpm' with pid 416
php5-fpm-log stderr | tail: cannot open '/var/log/php5-fpm.log' for reading: No such file or directory
mysqld stderr | 150304 10:53: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.
php5-fpm stderr | Wed Mar  4 10:53:24 2015 (398): Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)
php5-fpm-log stderr | tail: cannot open '/var/log/php5-fpm.log' for reading php5-fpm-log stderr | : No such file or directory
2015-03-04 10:53:25,274 INFO exited: php5-fpm-log (exit status 1; not expected)
php5-fpm stderr | Wed Mar  4 10:53:25 2015 (416): Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)
2015-03-04 10:53:25,344 INFO exited: php5-fpm (exit status 254; not expected)
2015-03-04 10:53:27,352 INFO spawned: 'php5-fpm-log' with pid 418
2015-03-04 10:53:27,358 INFO spawned: 'php5-fpm' with pid 419
php5-fpm-log stderr | tail: cannot open '/var/log/php5-fpm.log' for reading: No such file or directory
2015-03-04 10:53:27,389 INFO exited: php5-fpm-log (exit status 1; not expected)
php5-fpm stderr | Wed Mar  4 10:53:27 2015 (419): Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)
2015-03-04 10:53:27,467 INFO exited: php5-fpm (exit status 254; not expected)
2015-03-04 10:53:30,476 INFO spawned: 'php5-fpm-log' with pid 421
2015-03-04 10:53:30,485 INFO spawned: 'php5-fpm' with pid 422
php5-fpm-log stderr | tail: cannot open '/var/log/php5-fpm.log' for reading: No such file or directory
2015-03-04 10:53:30,513 INFO exited: php5-fpm-log (exit status 1; not expected)
2015-03-04 10:53:30,595 INFO gave up: php5-fpm-log entered FATAL state, too many start retries too quickly
php5-fpm stderr | Wed Mar  4 10:53:30 2015 (422): Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)
2015-03-04 10:53:30,602 INFO exited: php5-fpm (exit status 254; not expected)
2015-03-04 10:53:31,603 INFO gave up: php5-fpm entered FATAL state, too many start retries too quickly
150304 10:54:31 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
@parshap
Copy link

parshap commented Mar 6, 2015

What's the command you're starting the container with? If you're using volumes, it may be related to the comment I left here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants