# How to edit aerospike.conf file in a vagrant box

**URL:** <https://discuss.aerospike.com/t/how-to-edit-aerospike-conf-file-in-a-vagrant-box/3129>\
**Category:** Configuration\
**Created:** [July 4, 2016, 2:17pm UTC](https://discuss.aerospike.com/t/how-to-edit-aerospike-conf-file-in-a-vagrant-box/3129 "2016-07-04T14:17:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_beest](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@the\_beest](https://discuss.aerospike.com/u/the_beest)\
**Post date:** [July 4, 2016, 2:17pm UTC](https://discuss.aerospike.com/t/how-to-edit-aerospike-conf-file-in-a-vagrant-box/3129/1 "2016-07-04T14:17:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)\
**Post date:** [July 5, 2016, 6:28pm UTC](https://discuss.aerospike.com/t/how-to-edit-aerospike-conf-file-in-a-vagrant-box/3129/2 "2016-07-05T18:28:43Z")

</div>

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.
