Errors with `aerospike init`


#1

I am following the directions here: http://www.aerospike.com/docs/operations/install/linux/other. On step 3, when you run aerospike init, it fails and produces this output:

error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/etc
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/var
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/bin
error: install -m 755 -o l -g l -C /magnetic/aerospike/aerospike-server/share/bin/aerospike /magnetic/aerospike/aerospike-server/share/bin/aerospike
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/lib
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/lib/*  /magnetic/aerospike/aerospike-server/share/lib/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/libexec
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/libexec/*  /magnetic/aerospike/aerospike-server/share/libexec/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/man
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-init.man  /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-destroy.man  /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-restart.man  /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-start.man    /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-status.man   /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/man/aerospike-stop.man     /magnetic/aerospike/aerospike-server/share/man/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/etc
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/etc/aerospike.conf /magnetic/aerospike/aerospike-server/share/etc/aerospike.conf
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/udf/lua
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/udf/lua/*.lua /magnetic/aerospike/aerospike-server/share/udf/lua/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/udf/lua/external
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/udf/lua/external/*.lua /magnetic/aerospike/aerospike-server/share/udf/lua/external/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/share/udf/lua/ldt
error: install -m 644 -o l -g l -C /magnetic/aerospike/aerospike-server/share/udf/lua/ldt/*.lua /magnetic/aerospike/aerospike-server/share/udf/lua/ldt/.
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/bin
error: install -m 755 -o l -g l -C /magnetic/aerospike/aerospike-server/bin/asd /magnetic/aerospike/aerospike-server/bin/asd
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/var/log
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/var/run
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/var/smd
error: install -m 755 -o l -g l -Dd /magnetic/aerospike/aerospike-server/var/udf/lua
error: render /magnetic/aerospike/aerospike-server/share/etc/aerospike.conf > /magnetic/aerospike/aerospike-server/etc/aerospike.conf
error: chmod 644 /magnetic/aerospike/aerospike-server/etc/aerospike.conf
error: chown l:l /magnetic/aerospike/aerospike-server/etc/aerospike.conf
error: echo 'export AEROSPIKE_DAEMON=/magnetic/aerospike/aerospike-server/bin/asd' >> /magnetic/aerospike/aerospike-server/etc/aerospike.rc
error: echo 'export AEROSPIKE_INST=1' >> /magnetic/aerospike/aerospike-server/etc/aerospike.rc
error: echo 'export AEROSPIKE_CONF=/magnetic/aerospike/aerospike-server/etc/aerospike.conf' >> /magnetic/aerospike/aerospike-server/etc/aerospike.rc
error: chmod 644 /magnetic/aerospike/aerospike-server/etc/aerospike.rc
error: chown l:l /magnetic/aerospike/aerospike-server/etc/aerospike.rc

It also writes over the bin/aerospike file, though running again after the file has been overwritten produces the same output.

I’m pretty sure I’ve hit either a bug or a system incompatibility. What can I do to get aerospike-server installed?


#2

Which OS are you using?


#3

I’ve tried on both Arch Linux and AWS Linux, with the same errors on both.