Bonjour à tous,

J'ai suivis le tutoriel concernant Vagrant et PuPHPet pour passer de wamp à un serveur local proche du dédié.

J'ai créé la même machine que sur le tuto, et j'ai lancé vagrant up, la première fois, l'installation à bien fonctionné, j'avais accès au serveur via local.dev dans mon navigateur *normal*

j'ai coupé le serveur, vagrant halt, sans éteindre le PC;
J'ai installé un jeu, league of legend, puis quand j'ai voulu relancer le serveur j'ai eu les lignes suivantes :

G:\VagrantBox
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'puphpet/debian75-x32' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection refused. Retrying...
    default: Warning: Connection refused. Retrying...
    default: Warning: Connection refused. 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.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

Il me met le message beaucoup plus de fois, j'en mes moins ici pour raccourcir.
J'ai essayé de réinstaller une autre machine, j'ai le même problème.
J'ai fais plusieurs recherche avant de poster, sur le forum et ailleurs, j'ai rien trouver, si quelqu'un à une ( ou plusieurs ) idée pour résoudre ce problème.
Vagrant version 1.6.5
VirtualBox version 4.2.26

Merci pour les réponses à venir.

2 réponses


Normalement dans le dossier virtual box tu as choisie ou placer les fichiers de tes machines virtuelles. Regarde si tu as une trace de l'ancienne marchine (qui finit par .old)

M
Auteur

Non je n'ai pas de trace d'ancienne machine dans le dossier.
J'ai tenté de réinstaller une nouvelle machine via puphpet, cette fois j'ai :

PS G:\VagrantBox\local.dev> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'puphpet/debian75-x32' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes.
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
PS G:\VagrantBox\local.dev>

De plus, j'ai le fichier de clef ssh public qui a disparu du dossier puphpet/files/dot/ssh.
Je vais tenter de désinstaller et de réinstaller vagrant et virtualbox.
Peut-être que le problème est du à ça.