How to edit aerospike.conf file in a vagrant box

How do I edit the .conf file in a vagrant box. I’m trying to stop the server, so I can delete the test namespace and add my own, but the server won’t stop.

I ssh’d into the vagrant box, navigated to etc/init.d, and ran ./aerospike stop. It’s saying it has failed and doesn’t provide any other output. Can I make namespace changes to the .conf file if I’m using the aerospike/centos-6.5 vagrant box?

Also, does the server need to be shutdown to make storage engine configuration changes?

You definitely can make such changes in the configuration file on the vagrant box. You should be able to start / stop the service:

sudo service aerospike start

sudo service aerospike stop

Make sure the pid file is created correctly and is readable.