Search code examples
aerospike

aerospike installation in ubuntu 16.04


installed aerospike using following commands-

1)wget -O aerospike.tgz 'http://aerospike.com/download/server/latest/artifact/ubuntu16'

2)tar -xvf aerospike.tgz

3)cd aerospike-server-community-3.15.0.2-ubuntu16.04 ./asinstall

when executing following cmd- 1)tail -f /var/log/aerospike/aerospike.log | grep cake getting this error- tail: cannot open '/var/log/aerospike/aerospike.log' for reading: No such file or directory


Solution

  • Ubuntu 16.04 switched from SysInit V to Systemd. On distributions that have switched to SystemD, Aerospike ships config and unit files to match the expectations of Systemd.

    To access you logs you will need to use the journalctl command.

    Aerospike provides a guide for Systemd here: https://www.aerospike.com/docs/operations/manage/systemd

    Seems aerospike server is not running ,thus logs not made : "ps -ef | grep aerospike" -> result: root 7328

    The name of the Aerospike process is asd, so you would need to have run "ps -ef | grep asd"