Ubuntu 16.04.3 would use systemd service for startup. We may need to update the install doc.
Please see following for an up-to-date info on stopping/starting a debian based system with systemd.
Here are the systemd command lines:
Stopping aerospike:
$ sudo systemctl stop aerospike
Starting aerospike:
$ sudo systemctl start aerospike
`
Verify process is running:
$ `sudo systemctl status aerospike`
● aerospike.service - Aerospike Server
Loaded: loaded (/usr/lib/systemd/system/aerospike.service; disabled; vendor preset: enabled) Drop-In: /etc/systemd/system/aerospike.service.d └─aerospike.conf Active: active (running) since Thu 2018-06-14 14:11:04 PDT; 7s ago Process: 27538 ExecStartPre=/usr/bin/asd-systemd-helper (code=exited, status=0/SUCCESS) Main PID: 27545 (asd) Tasks: 140 Memory: 1.1G CPU: 3.816s CGroup: /system.slice/aerospike.service └─27545 /usr/bin/asd --config-file /etc/aerospike/aerospike.conf --fgdaemon
, cli and asmonitor are obsolete tools and have been completely replaced by aql and asadm Seems the documentation is lagging a bit.
Please see:
https://discuss.aerospike.com/t/list-of-aerospike-tools-to-be-deprecated-mid-may-2016/2863/2
Logrotate is also not configured by default on a systemd system. You can configure logrotate by following this guide:
or you could use journalctl for logging.