djf*_*rsn 7 wordpress ssh cygwin vagrant windows-8.1
我不能为我的生活...重新安装所有的东西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
Run Code Online (Sandbox Code Playgroud)
我哪里错了?
Ber*_*nta 12
在Vagrantfile中添加以下行
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
Run Code Online (Sandbox Code Playgroud)
这将bash作为非登录shell启动,但也告诉它来源/ etc/profile,我假设这是默认情况下使用登录shell的唯一原因.适用于我的股票exact64 Vagrant框.
小智 2
不是你正在做的任何事情。显然这是一个已知问题。
我通过运行修复了它vagrant ssh
进而
sudo service mysql restart || true
Run Code Online (Sandbox Code Playgroud)
您可以在这里找到该问题的记录
| 归档时间: |
|
| 查看次数: |
5006 次 |
| 最近记录: |