[英]Vagrant up fails with stdin, start, ssh, stderr & stdout errors
我不能為我的生活...重新安裝所有的東西VVV / VBox(4.3.10)和運行流浪漢 - 提供弄清楚為什么這個美麗(VVV)不會運行。 我無法訪問任何wordpress網站,如http://local.wordpress.dev/ 。
規格:Windows 8.1 Cygwin
運行cmd后的最后一行 - > vagrant up --provision
==> default: http://gruntjs.com/getting-started
==> default: Downloading phpMyAdmin 4.1.14...
==> default: Restart Nginx...
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: Cleaning the virtual machine's /etc/hosts file...
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default: * Added vvv.dev from /srv/www/vvv-hosts
==> default: * Added local.wordpress.dev from /srv/www/vvv-hosts
==> default: * Added local.wordpress-trunk.dev from /srv/www/vvv-hosts
==> default: * Added src.wordpress-develop.dev from /srv/www/vvv-hosts
==> default: * Added build.wordpress-develop.dev from /srv/www/vvv-hosts
==> default: -----------------------------
==> default: Provisioning complete in 1636 seconds
==> default: External network connection established, packages up to date.
==> default: For further setup instructions, visit http://vvv.dev
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: start: Job is already running: mysql
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell
Stdout from the command:
Stderr from the command:
stdin: is not a tty
start: Job is already running: mysql
我哪里錯了?
在Vagrantfile中添加以下行
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
這將bash作為非登錄shell啟動,但也告訴它來源/ etc / profile,我假設這是默認情況下使用登錄shell的唯一原因。 適用於我的股票exact64 Vagrant框。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.