Not able to run aerospike on mac m1 chip

I’m trying to setup aerospike on my mac m1 chip. following the doc, but I’m unable to making up the vm. getting below error : There was an error while executing VBoxManage, a CLI used by Vagrant

for controlling VirtualBox. The command and stderr is shown below.

Command: [“hostonlyif”, “create”]

Stderr: 0%…

Progress state: NS_ERROR_FAILURE

VBoxManage: error: Failed to create the host-only adapter

VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface

VBoxManage: error: Context: “RTEXITCODE handleCreate(HandlerArg *)” at line 95 of file VBoxManageHostonly.cpp

if someone faced the same error, please help. Thanks

Aerospike does not yet support the M1 architecture, so Vagrant instructions on Mac will likely not work with the M1 chip. You may want to try it with Rosetta 2 installed. Caveat: we have not tested the software in this environment.

@neelp Is there any doc on running Aerospike with Rosetta 2 ?

@Nanda, sorry, there is no such document that I am aware of at this point.

Eventually I went down the path of running Qemu and installed Ubuntu amd64 on top of it.

Thanks for the update. It will be interesting to know whether and how well this approach works out.

aerospike-community/docker-amd64-mac-m1 lets you run emulated x86_64 Docker images on Apple M1 processors. There are instructions for running Aerospike Database server on it. It does use Qemu.