root@server:/var/www# ee site create test --mysql
Running pre-update checks, please wait...
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Setting up database Oops Something went wrong !!
Calling cleanup actions ...
Reload : nginx [OK]
Check logs for reasontail /var/log/ee/ee.log
& Try Again!!!
/var/log/ee/ee.log
2017-03-03 12:46:39,510 (DEBUG) ee : logging initialized for 'ee' using LoggingLogHandler
2017-03-03 12:46:39,865 (DEBUG) ee : ['/usr/local/bin/ee', 'site', 'create', 'test', '--mysql']
2017-03-03 12:46:39,865 (DEBUG) ee : collecting arguments/commands for
2017-03-03 12:46:39,868 (DEBUG) ee : collecting arguments/commands for
2017-03-03 12:46:39,871 (DEBUG) ee : collecting arguments/commands for
2017-03-03 12:46:39,877 (INFO) ee : Initializing EasyEngine Database
2017-03-03 12:46:39,888 (DEBUG) ee : Setting apt_packages variable for Nginx
2017-03-03 12:46:41,958 (DEBUG) ee : Finding string SCRIPT_FILENAME to file /etc/nginx/fastcgi_params
2017-03-03 12:46:41,959 (DEBUG) ee : Setting apt_packages variable for PHP
2017-03-03 12:46:44,026 (DEBUG) ee : Setting apt_packages variable for MySQL
2017-03-03 12:46:44,027 (DEBUG) ee : Running command: mysqladmin ping
2017-03-03 12:46:44,082 (DEBUG) ee : Command Output: mysqld is alive
,
Command Error:
2017-03-03 12:46:44,083 (DEBUG) ee : Setting apt_packages variable for Postfix
2017-03-03 12:46:46,154 (INFO) ee : Running pre-update checks, please wait...
2017-03-03 12:46:46,154 (DEBUG) ee : checking NGINX configuration ...
2017-03-03 12:46:46,321 (INFO) ee : Setting up NGINX configuration
2017-03-03 12:46:46,321 (DEBUG) ee : loading template file /usr/lib/ee/templates/virtualconf.mustache
2017-03-03 12:46:46,325 (DEBUG) ee : Checking generated nginx conf, please wait...
2017-03-03 12:46:46,489 (INFO) ee : [Done]
2017-03-03 12:46:46,489 (DEBUG) ee : Creating Symbolic link, Source:/etc/nginx/sites-available/test, Dest:/etc/nginx/sites-enabled/test
2017-03-03 12:46:46,489 (INFO) ee : Setting up webroot
2017-03-03 12:46:46,490 (DEBUG) ee : Creating Symbolic link, Source:/var/log/nginx/test.access.log, Dest:/var/www/test/logs/access.log
2017-03-03 12:46:46,490 (DEBUG) ee : Creating Symbolic link, Source:/var/log/nginx/test.error.log, Dest:/var/www/test/logs/error.log
2017-03-03 12:46:46,490 (INFO) ee : [Done]
2017-03-03 12:46:46,664 (INFO) ee : Setting up database
2017-03-03 12:46:46,665 (DEBUG) ee : Creating database test
2017-03-03 12:46:46,667 (DEBUG) ee :
2017-03-03 12:46:46,668 (DEBUG) ee : 'MySQL Connectivity problem occured'
2017-03-03 12:46:46,906 (INFO) ee : Oops Something went wrong !!
2017-03-03 12:46:46,906 (INFO) ee : Calling cleanup actions ...
2017-03-03 12:46:46,907 (DEBUG) ee : Removing Nginx configuration
2017-03-03 12:46:46,907 (DEBUG) ee : Removing /etc/nginx/sites-enabled/test
2017-03-03 12:46:46,907 (DEBUG) ee : Removing /etc/nginx/sites-available/test
2017-03-03 12:46:46,907 (INFO) ee : Reload : nginx
2017-03-03 12:46:47,077 (INFO) ee : [OK]
2017-03-03 12:46:47,097 (DEBUG) ee : Removing /var/www/test
2017-03-03 12:46:47,097 (DEBUG) ee : Removing /var/www/test
2017-03-03 12:46:47,106 (ERROR) ee : Check logs for reasontail /var/log/ee/ee.log
& Try Again!!!
root@server:/var/www# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
root@server:/var/www# ee -v
EasyEngine v3.7.4
Copyright (c) 2016 rtCamp Solutions Pvt. Ltd.
root@server:/var/www# ee -v
EasyEngine v3.7.4
Copyright (c) 2016 rtCamp Solutions Pvt. Ltd.
root@server:/var/www# ee info
NGINX (1.10.0):
user www-data
worker_processes auto
worker_connections 4096
keepalive_timeout 30
fastcgi_read_timeout 300
client_max_body_size 100m
allow 127.0.0.1 192.168.3.0/24PHP (5.6.30-1):
user
expose_php Off
memory_limit 128M
post_max_size 8M
upload_max_filesize 2M
max_execution_time 30Information about www.conf
ping.path /ping
pm.status_path /status
process_manager ondemand
pm.max_requests 500
pm.max_children 100
pm.start_servers 20
pm.min_spare_servers 10
pm.max_spare_servers 30
request_terminate_timeout 300
xdebug.profiler_enable_trigger off
listen 127.0.0.1:9000Information about debug.conf
ping.path /ping
pm.status_path /status
process_manager ondemand
pm.max_requests 500
pm.max_children 100
pm.start_servers 20
pm.min_spare_servers 10
pm.max_spare_servers 30
request_terminate_timeout 300
xdebug.profiler_enable_trigger on
listen 127.0.0.1:9001MySQL (10.1.21-MariaDB) on localhost:
port 3306
wait_timeout 600
interactive_timeout 28800
max_used_connections 5
datadir /var/lib/mysql/
socket /var/run/mysqld/mysqld.sock
my.cnf [PATH] /etc/mysql/conf.d/my.cnf
root@server:/var/www# wp --allow-root --info
PHP binary: /usr/bin/php7.0
PHP version: 7.0.15-1+deb.sury.org~trusty+1
php.ini used: /etc/php/7.0/cli/php.ini
WP-CLI root dir: phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.24.1
root@server:/var/www# ll /root/.my.cnf
-rw------- 1 root root 46 Jul 21 2016 /root/.my.cnf
root@server:/var/www# cat /root/.my.cnf
[client]
user = root
password = *****
The details are correct as seen here:
root@server:/var/www# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3606