devgroup-ru / dotplant2-vagrant Goto Github PK
View Code? Open in Web Editor NEWVagrant box for DotPlant2
Vagrant box for DotPlant2
Hi I am getting the following problem when I am using your vagrant configuration. It seems to be a problem with mysql but I cannot figure out how to overcome this.
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mysql-server-5.6' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: mysql-server-5.6 is already the newest version.
==> default: 0 upgraded, 0 newly installed, 0 to remove and 193 not upgraded.
==> default: 1 not fully installed or removed.
==> default: After this operation, 0 B of additional disk space will be used.
==> default: Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default:
==> default: Error: /Stage[main]/Mysql::Server::Install/Package[mysql-server]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mysql-server-5.6' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: mysql-server-5.6 is already the newest version.
==> default: 0 upgraded, 0 newly installed, 0 to remove and 193 not upgraded.
==> default: 1 not fully installed or removed.
==> default: After this operation, 0 B of additional disk space will be used.
==> default: Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default:
==> default: Notice: /Stage[main]/Mysql::Server::Install/Exec[mysql_install_db]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server::Install/Exec[mysql_install_db]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mysql::Server::Config/File[mysql-config-file]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server::Config/File[mysql-config-file]: Skipping because of failed dependencies
==> default: Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysqlnd' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following packages will be REMOVED:
==> default: php5-mysql
==> default: The following NEW packages will be installed:
==> default: php5-mysqlnd
==> default: 0 upgraded, 1 newly installed, 1 to remove and 193 not upgraded.
==> default: 1 not fully installed or removed.
==> default: Need to get 0 B/138 kB of archives.
==> default: After this operation, 264 kB of additional disk space will be used.
==> default: (Reading database ... 67341 files and directories currently installed.)
==> default: Removing php5-mysql (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1) ...
==> default: php5_invoke prerm: Disable module mysql for fpm SAPI
==> default: php5_invoke prerm: Disable module mysql for cli SAPI
==> default: php5_invoke prerm: Disable module mysqli for fpm SAPI
==> default: php5_invoke prerm: Disable module mysqli for cli SAPI
==> default: php5_invoke prerm: Disable module pdo_mysql for fpm SAPI
==> default: php5_invoke prerm: Disable module pdo_mysql for cli SAPI
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.org
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 7886
==> default: Selecting previously unselected package php5-mysqlnd.
==> default: (Reading database ... 67330 files and directories currently installed.)
==> default: Preparing to unpack .../php5-mysqlnd_5.6.14+dfsg-1+deb.sury.orgtrusty+1_amd64.deb ...trusty+1) ...
==> default: Unpacking php5-mysqlnd (5.6.14+dfsg-1+deb.sury.org
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1) ...
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 7985
==> default: Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Setting up php5-mysqlnd (5.6.14+dfsg-1+deb.sury.org
==> default: php5_invoke: Enable module mysqlnd for fpm SAPI
==> default: php5_invoke: Enable module mysqlnd for cli SAPI
==> default: php5_invoke: Enable module mysql for fpm SAPI
==> default: php5_invoke: Enable module mysql for cli SAPI
==> default: php5_invoke: Enable module mysqli for fpm SAPI
==> default: php5_invoke: Enable module mysqli for cli SAPI
==> default: php5_invoke: Enable module pdo_mysql for fpm SAPI
==> default: php5_invoke: Enable module pdo_mysql for cli SAPI
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1) ...
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 9055
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default:
==> default: Error: /Stage[main]/Puphpet_mysql/Puphpet::Php::Module[mysqlnd]/Php::Module[mysqlnd]/Package[PhpModule_mysqlnd]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysqlnd' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following packages will be REMOVED:
==> default: php5-mysql
==> default: The following NEW packages will be installed:
==> default: php5-mysqlnd
==> default: 0 upgraded, 1 newly installed, 1 to remove and 193 not upgraded.
==> default: 1 not fully installed or removed.
==> default: Need to get 0 B/138 kB of archives.
==> default: After this operation, 264 kB of additional disk space will be used.
==> default: (Reading database ... 67341 files and directories currently installed.)
==> default: Removing php5-mysql (5.6.14+dfsg-1+deb.sury.org
==> default: php5_invoke prerm: Disable module mysql for fpm SAPI
==> default: php5_invoke prerm: Disable module mysql for cli SAPI
==> default: php5_invoke prerm: Disable module mysqli for fpm SAPI
==> default: php5_invoke prerm: Disable module mysqli for cli SAPI
==> default: php5_invoke prerm: Disable module pdo_mysql for fpm SAPI
==> default: php5_invoke prerm: Disable module pdo_mysql for cli SAPI
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1_amd64.deb ...
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 7886
==> default: Selecting previously unselected package php5-mysqlnd.
==> default: (Reading database ... 67330 files and directories currently installed.)
==> default: Preparing to unpack .../php5-mysqlnd_5.6.14+dfsg-1+deb.sury.org
==> default: Unpacking php5-mysqlnd (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1) ...
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.org
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 7985
==> default: Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Setting up php5-mysqlnd (5.6.14+dfsg-1+deb.sury.orgtrusty+1) ...trusty+1) ...
==> default: php5_invoke: Enable module mysqlnd for fpm SAPI
==> default: php5_invoke: Enable module mysqlnd for cli SAPI
==> default: php5_invoke: Enable module mysql for fpm SAPI
==> default: php5_invoke: Enable module mysql for cli SAPI
==> default: php5_invoke: Enable module mysqli for fpm SAPI
==> default: php5_invoke: Enable module mysqli for cli SAPI
==> default: php5_invoke: Enable module pdo_mysql for fpm SAPI
==> default: php5_invoke: Enable module pdo_mysql for cli SAPI
==> default: Processing triggers for php5-fpm (5.6.14+dfsg-1+deb.sury.org
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 9055
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> default:
==> default: Notice: /Stage[main]/Mysql::Server::Config/File[/etc/mysql/conf.d]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server::Config/File[/etc/mysql/conf.d]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mysql::Server::Service/Service[mysqld]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server::Service/Service[mysqld]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mysql::Server::Service/File[/var/log/mysql/error.log]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server::Service/File[/var/log/mysql/error.log]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]: Dependency Package[mysql-server] has failures: true
==> default: Notice: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]: Dependency Package[mysql-server] has failures: true
==> default: Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
==> default:
==> default: Warning: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]: Skipping because of failed dependencies
==> default: Warning: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Puphpet_mysql/Mysql_user[dotplant2test@localhost]: Dependency Package[mysql-server] has failures: true
==> default: Warning: /Stage[main]/Puphpet_mysql/Mysql_user[dotplant2test@localhost]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Puphpet_mysql/Mysql_database[dotplant2]: Dependency Package[mysql-server] has failures: true
==> default: Error: Could not prefetch mysql_database provider 'mysql': Execution of '/usr/bin/mysql -NBe show databases' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
==> default:
==> default: Warning: /Stage[main]/Puphpet_mysql/Mysql_database[dotplant2]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Swap_file/Exec[Attach swap file]/returns: executed successfully
==> default: Notice: /Stage[main]/Puphpet_server/Exec[dotfiles]/returns: executed successfully
==> default: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]/revision: revision changed '3cde540ca00208fbfd0a5e7708c3053bc8cca9f5' to 'v0.4.0-20140404'
==> default: Notice: /Stage[main]/Composer/Exec[download_composer]/returns: executed successfully
==> default: Notice: /Stage[main]/Puphpet_php/Puphpet::Php::Pecl[pecl_http]/Php::Pecl::Module[pecl_http]/Exec[pecl-pecl_http]/returns: executed successfully
==> default: Info: Puphpet::Php::Pecl[pecl_http]: Scheduling refresh of Service[php5-fpm]
==> default: Notice: /Stage[main]/Puphpet_php/Service[php5-fpm]: Dependency Package[PhpModule_mysqlnd] has failures: true
==> default: Warning: /Stage[main]/Puphpet_php/Service[php5-fpm]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Puphpet_php/Service[php5-fpm]: Triggered 'refresh' from 1 events
==> default: Notice: Finished catalog run in 101.43 seconds
I've got an error during vagrant up process : Warning: Authentication failure.
. Something wrong with auth keys I think. I'm not very familiar with vagrant and especially with puppet, so can't fix this by myself.
After insert vagrant up command, receive this message:
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
hello @bethrezen.
I've found wrong absolute path on your config.yaml line 71.
command: 'cd /var/www/dotplant2/applicaiton/ && ./yii background/tasks'
I think it must be:
command: 'cd /var/www/dotplant2/application/ && ./yii background/tasks'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.