Aerospike service unrecognized in Vagrant centos-6.5 on OSX 10.8.5


After installing Vagrant and and creating aerospike box with

$ vagrant init aerospike/centos-6.5
$ vagrant up
$ vagrant ssh

Inside the VM, I typed

$ sudo service aerospike start

And I got aerospike: unrecognized service

I checked the VM with service --status-all and no aerospike was found.


Hi Jo,

Could you ensure that the folder were you are running the vagrant init and vagrant up is empty. Please see this demo:

Also please run and post the following commands:

vagrant box list

I was able to run the following on a macbook:


luciens-mbp:Development lucien$ mkdir vagrant-test
luciens-mbp:Development lucien$ cd vagrant-test
luciens-mbp:vagrant-test lucien$ vagrant init aerospike/centos-6.5
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`` for more information on using Vagrant.
luciens-mbp:vagrant-test lucien$ vagrant up --provider=virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'aerospike/centos-6.5'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'aerospike/centos-6.5' is up to date...
==> default: Setting the name of the VM: vagrant-test_default_1413508423291_23817
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 3000 => 3000 (adapter 1)
    default: 8081 => 8081 (adapter 1)
    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:
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => /Users/lucien/Development/vagrant-test
luciens-mbp:vagrant-test lucien$ vagrant ssh
Last login: Tue Oct 14 21:54:42 2014 from

Thanks for trying out Aerospike!

Following services have been pre-installed:

* Aerospike Server  
* Aerospike Management Console 

What's next?

Client Installs:

 C Client       : sudo /home/vagrant/ClientInstall/

 Java Client    : sudo /home/vagrant/ClientInstall/

 NodeJS client  : sudo /home/vagrant/ClientInstall/



Additional info :

**********Aerospike Database Server is running!
**********Aerospike Monitoring Console is running!

[vagrant@localhost ~]$ sudo service aerospike start Already asd (pid 1253) is running…


It worked! Can I ask for an explanation on why the empty directory?


My guess is you either have an old Vagrantfile in the other directory. Or also there is a hidden .vagrant that might have kept a previous state.

luciens-mbp:vagrant_test3 lucien$ ls -al
total 16
drwxr-xr-x  4 lucien  staff   136 Oct 16 18:57 .
drwxr-xr-x  6 lucien  staff   204 Oct 16 18:55 ..
drwxr-xr-x  3 lucien  staff   102 Oct 16 18:57 .vagrant
-rw-r--r--  1 lucien  staff  4827 Oct 16 18:57 Vagrantfile

Its always safer to start fresh.

best, Lucien