Vagrant Up ends with SSH error

104 views
Skip to first unread message

Gerard Green

unread,
Mar 12, 2016, 5:05:43 AM3/12/16
to Vagrant
Hello.

I am unable to SSH into my vagrant installation due to an SSH error. I want to create a log file that I can post and ask for support on how to resolve this issue.
I need to understand what commands to use in a windows 7 command prompt window to get the log to go to a file rather than just displaying on the screen.
I currently use these commands:

 

set vagrant_log=debug

set stderr=vagrant.log

vagrant up


I am unable to locate the vagrant.log file anywhere.

Can someone please provide suitable vagrant commands to create a log file of my vagrant up command? Thanks.


Alvaro Miranda Aguilera

unread,
Mar 12, 2016, 5:49:20 AM3/12/16
to vagra...@googlegroups.com
Hello Gerard.

If you are in windows, the command should be:

set VAGRANT_LOG=debug

not the capital

then when you run vagrant up will generate logs of log in the command line, is not that will generate a file

For Windows, check this package is installed:

Then, the best way to troubleshoot is in the following order:

mkdir precise32
cd precise32
vagrant init -m hashicorp/precise32
vagrant up

If this VM fails, then the best will be reinstall virtualbox and vagrant, and reboot.

If this command works, then test a 64 bit box is the next step

cd ..
mkdir precise64
cd precise64
vagrant init -m hashicorp/precise64
vagrant up

If this command fails, the best is open Virtualbox, stop and star the VM here and see what the message is.


Let me know how you go with those 2 test.

Alvaro.


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/80d93568-83a1-4960-b774-405d54cd9e6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted
Message has been deleted

Gerard Green

unread,
Mar 12, 2016, 7:21:11 AM3/12/16
to Vagrant
Many thanks Alvaro.

I tried both precise32 and precise64 and they both failed with SSL Certificate errors as shown here:

Inline images 1

What is my best next step?

Can I bypass the security?

Many thanks.
...
Capture.PNG

Alvaro Miranda Aguilera

unread,
Mar 13, 2016, 3:29:46 AM3/13/16
to vagra...@googlegroups.com
Hello,

Can you check you are on current versions:

vagrant version

Seems you are in windows, so please install the C++ redistributable package:

And try again.

If still fail, please run this:

set VAGRANT_LOG=debug
vagrant up

And share the log generated in the console

Thanks
Alvaro

On Sun, Mar 13, 2016 at 12:16 AM, d...@digitallearningdesign.com.au <gerardg...@gmail.com> wrote:
Many thanks Alvaro.

I tried both precise32 and precise64 and they both failed with SSL Certificate errors as shown here:

Inline images 1

What is my best next step?

Can I bypass the security?

Many thanks.
Gerard

You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/dQDheQ_b2G4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/C8059C0D-D383-46F1-884E-4CB50A714C79%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Cheers for now.
Gerard Green
0413 191 512

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.

Gerard Green

unread,
Mar 13, 2016, 3:47:47 AM3/13/16
to Vagrant
Hello again.

vagrant version 1.8.1

C++ installed

Log file attached.

Thanks.

Gerard
log.txt

Alvaro Miranda Aguilera

unread,
Mar 13, 2016, 3:53:59 AM3/13/16
to vagra...@googlegroups.com
Hello Gerard.

Not sure if you are behind some proxy or VPN.

Can you add this to your Vagrantfile and test again?

config.vm.box_download_insecure = true

before or after config.vm.box should be ok



Gerard Green

unread,
Mar 13, 2016, 5:31:21 AM3/13/16
to Vagrant
Hi there.

Here is the log file from the precise32 run.

Cheers.

Gerard
precise32-log.txt

Alvaro Miranda Aguilera

unread,
Mar 13, 2016, 7:00:58 AM3/13/16
to vagra...@googlegroups.com
it seems the precise32 started properly.. isnt ?

Gerard Green

unread,
Mar 13, 2016, 7:50:20 AM3/13/16
to Vagrant
And here is the precise64 log file.

Cheers.
precise64-log.txt
Reply all
Reply to author
Forward
0 new messages