Error while adding vagrant box in ubuntu

I installed vagrant and virtual box in Ubuntu 12.04.2 LTS. (Vagrant version 1.2.1). I have the vagrant box dowloaded and executed the vagrant box add command. I am getting the following...

Multiple class files in a Zephir extension

I'm doing some experiments with Phalcon Zephir to see how well it can convert some of my libraries to PHP extensions. I have two PHP classes, each already defined in its own file: the Zephir notes...

Mac Terminal process ends and outputs [Process completed] when launched

When I launch the Terminal app on Mac, the process will end and output the following: Last login: Wed Aug 6 15:53:58 on ttys003 [Process completed] This started happening when terminal froze...

Error "could not delete" with Composer on Vagrant

I have a Vagrant running Linux and I'm trying to install Symfony. After the command composer create-project symfony/framework-standard-edition ./ "2.5.*" I have the error : [RuntimeException] ...

How to write stdout to file with colors?

A lot of times (not always) the stdout is displayed in colors. Normally I keep every output log in a different file too. Naturally in the file, the colors are not displayed anymore. I'd like to...

How to test the container or image after docker build?

I have the following Dockerfile ############################################################ # Purpose : Dockerize Django App to be used in AWS EC2 # Django : 1.8.1 # OS : Ubuntu 14.04 #...

Zephir on Windows and Linux (ubuntu) - errors

Afters hours and hours spend on trying to install zephir on my windows 8, i finally managed to build an single .zep file ! Now, i've copied the .dll from /ext/Release directory, into my...

Vagrant ping or curl from guest to host machine

I wonder how I can run the command, using the terminal, from my vagrant machine: $ ping localhost:3000 or $ curl http://localhost:3000 In host machine (OSX) I have a rails server running in...

patching a class yields "AttributeError: Mock object has no attribute" when accessing instance attributes

The Problem Using mock.patch with autospec=True to patch a class is not preserving attributes of instances of that class. The Details I am trying to test a class Bar that instantiates an instance...

How to show Vagrant box version used in a particular directory

I have multiple Vagrant boxes, and would like to see what version of what box is running in which directory. vagrant box list returns a global list of boxes: puphpet/centos65-x64 (virtualbox,...

vagrant up stuck on mount nfs

When I attempt to initiate 'vagrant up' the script executes as normal until it gets to the last line, where NFS shared drives are mounted. I have tried deleting the exports file in /etc/ followed...

Vagrant box add fail

I was trying to add laravel/homestead box in vagrant but i get different errors. By running vagrant box add laravel/homestead I get this error The box 'laravel/homestead' could not be found or...

Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?

My Python package has a setup.py which builds fine locally on Ubuntu Trusty and on a fresh Vagrant Ubuntu Trusty VM when I provision it like this: sudo apt-get install python python-dev...

No gulpfile found

I am new in laravel. I am trying the command nmp install. it does not work. Then as shown in their official documentation, I tried npm install --global gulp-cli but I was getting access denied...

Vagrant network collides with a non-hostonly network

I am trying to get a vagrant box up and running, but I keep getting network collide errors. This box is a fresh download of trusty64. I have been searching every file and folder dealing with...

Using xdebug with a front-end js SPA?

I have xdebug working great when I access my server directly (thru a vhost entry to the IP set up by homestead/vagrant). However, I have a decoupled frontend that I'm running on localhost:8080,...

Ansible - find and set permissions, including sticky bit

Using Ansible 2.1.4.0 Is it possible to set the sticky bit and folder permissions in 1 task? Example; # Shell is used over find module cause symlink breaks and performance - name: Find...

Laravel Dusk error: Failed to connect to localhost port 9515: Connection refused

As the title says, I've go a clean install of Laravel 5.4 and the latest Homestead (1.0.1). However, when I run a simple Dusk test case I get the following error: Failed to connect to localhost...

boto3 python 2.7 ImportError: No module named boto3 USER_BASE USER_SITE site packages doesn't exist

Why python is not finding boto3 when pip or pip3 shows it's installed. I'm on Mac machine. Tried pip/pip3 with / without sudo. Tried changing the PATH variable as well with few paths but no...

Psql could not connect to server: No such file or directory, 5432 error?

I'm trying to run psql on my Vagrant machine, but I get this error: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix...

Vagrant was unable to mount VirtualBox shared folders

Current setup: Virtualbox 5.1.20 with Vagrant 1.9.3 Previous working setup: Virtualbox 5.1.18 with Vagrant 1.9.3 I installed the latest version of Virtualbox and tried to start my VM. The folder...

PHP Laravel Homestead - Segmentation fault (core dumped) when error should be thrown

I've googled a lot for this issue and came to one conclusion (of which I'm not 100% sure it's correct): the "Segmentation fault" error is something caused by PHP (not a package on your project or...

Ping to Laravel Homestead is Fine but Web Connection Refused

I just set up a homestead on my Windows 10 machine. Everything looks fine but page is not loading. I am getting connection refused on my browser. I have asked this on Laracasts with...

How to change the internal IP of Kubernetes worker nodes?

I am trying to deploy a K8s cluster from scratch using Kelsey Grammer's Learn Kubernetes the hardway guide. In my case I am using vagrant and VirtualBox. Each of My Master and Workers have a dhcp...

npm ERR! EPROTO: protocol error, symlink '../@babel/parser/bin/babel-parser.js' -> '/home/vagrant/code/proadco.test/node_modules/.bin/parser'

I'm attempting to execute npm install in Git Bash client on Windows 8.1 but receiving the following error: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]

Git error: remote unpack failed when pushing to a bare repo

I'm having trouble with switching my local SugarCRM instance from a gitlab repo to a new github repo. Locally, the project is on a vagrant VM running on a Windows 10 host. I run git commands from...

Marathon (Mesos) - Stuck in "Loading applications"

I am building a mesos cluster from scratch (using Vagrant, which is not relevant for this issue). OS: Ubuntu 16.04 (trusty) Setup: Master -> Runs ZooKeeper, Mesos-master, Marathon and...

kubernetes - Couldn't able to join master node - error execution phase preflight: couldn't validate the identity of the API Server

I am novice to k8s, so this might be very simple issue for someone with expertise in the k8s. I am working with two nodes master - 2cpu, 2 GB memory worker - 1 cpu, 1 GB memory OS - ubuntu -...

How to enable specific Ohai plugin on a node in Test Kitchen

I wanted to enable Passwd ohai plugin in my node in test kitchen. On a regular node, I've done it by adding: ohai.optional_plugins = [ :Passwd ] to /etc/chef/client.rb. I wanted to achieve...

Vagrant IP address setup for port listening

I run this command inside my vagrant instance: printf 'HTTP/1.1 302 Moved\r\nLocation: https://www.eff.org/' | nc -l 2345 On my host computer, I want to access <ip of my vagrant server>:2345 and...