Comments (7)
I haven't had this issue on CentOS 6.6 or 7.1; what OS are you running, and can you look at the detailed mysql logs in /var/log
and see if there are any other clues as to what's going wrong?
from ansible-role-mysql.
I'm using Centos 6.7, but build failed when using Packer
. I will try again without Packer
because too long to compute again! And I will post more information
from ansible-role-mysql.
Sounds good! And yeah, using Packer can make debugging issues a little tough, especially since the generated VM goes poof!
from ansible-role-mysql.
My bad it works. I have to check if is not a Packer
issue or other ansible role
incompatibility
from ansible-role-mysql.
Just FYI I just debug on Packer
Even if error is displayed, log is clean (no error)
150817 08:45:47 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
150817 08:45:54 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150817 8:45:54 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
150817 8:45:54 [Note] /usr/libexec/mysqld (mysqld 5.5.45) starting as process 7651 ...
150817 8:45:54 [Note] Plugin 'FEDERATED' is disabled.
150817 8:45:54 InnoDB: The InnoDB memory heap is disabled
150817 8:45:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150817 8:45:54 InnoDB: Compressed tables use zlib 1.2.3
150817 8:45:54 InnoDB: Using Linux native AIO
150817 8:45:54 InnoDB: Initializing buffer pool, size = 256.0M
150817 8:45:54 InnoDB: Completed initialization of buffer pool
150817 8:45:54 InnoDB: highest supported file format is Barracuda.
150817 8:45:55 InnoDB: Waiting for the background threads to start
150817 8:45:56 InnoDB: 5.5.45 started; log sequence number 1961490
150817 8:45:56 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150817 8:45:56 [Note] - '0.0.0.0' resolves to '0.0.0.0';
150817 8:45:56 [Note] Server socket created on IP: '0.0.0.0'.
150817 8:45:56 [Note] Event Scheduler: Loaded 0 events
150817 8:45:56 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.45' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) by Remi
And service is effectively running mysql -u<user> -p<password>
works fine.
It seems to be an issue on Packer
(because exporting provisioning from Packer
and run manually on VM works). I will continue to debug.
PS: I tried without THREAD_CONCURRENCY
configuration (deprecated), problem persists
from ansible-role-mysql.
Interesting... I wonder if it could also be something strange about the networking configuration (IPv4 vs. IPv6, listen on TCP vs Unix socket?) that is causing this problem. I know that has bitten me in the past.
from ansible-role-mysql.
My packer manifest is using centos 6.8 with 480mo
memory. It seems to be not enough (because I'm running tomcat in VM too). By incrementing memory to 1go
memory, your role works perfectly using MySQL >= 5.5
(even 5.6
tested by using MySQL community official repository).
MySQL >= 5.5
seems to use more memory than <= 5.1
from ansible-role-mysql.
Related Issues (20)
- mariadbd: can't create/write to file '/var/run/mariadb/mariadb.pid (Errcode 2 'No such file or directory') HOT 3
- Allow custom MariaDB version using upstream repos HOT 2
- Check master replication status. HOT 3
- Skip replication tasks HOT 8
- Change mysql_bind_address: '0.0.0.0' to mysql_bind_address: '127.0.0.1' in defaults HOT 2
- Add additional innodb tunables to configuration HOT 4
- Missing community.mysql HOT 2
- ERROR! 'include_tasks' is not a valid attribute for a Play HOT 4
- MySQL fails to start when `mysql_datadir` is set to anything other than MySQL's default HOT 13
- Make apt update_cache optional or ignore errors HOT 2
- mysql_extra_config for my.cnf HOT 2
- force mariadb installation on ubuntu 22.04 not working HOT 1
- mysql_bind_address does not override all conf files
- FAILED! => {"changed": false, "msg": "Could not find the requested service mysql: host"} HOT 5
- secure-installation fails on RHEL8 at remove test database. HOT 3
- includedir is set only if mysql_config_include_files is set HOT 2
- error "couldn't resolve module/action 'mysql_user'" when i used in awx HOT 4
- add innodb settings HOT 2
- Warning "Option column_case_sensitive is not provided" during MySQL user setup HOT 2
- 'sudo mysql' allows access w/o password authentication after fresh install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-mysql.