Few things have changed, some of it maybe the default documentation and the other parts may have to do with the location of log file being different these days.Instead of:$ sudo chown `whoami` /var/lib/mongodb-mms-automation
$ sudo chown `whoami` /var/log/mongodb-mms-automation
$ nohup ./mongodb-mms-automation-agent --config=local.config >> /var/log/mongodb-mms-automation/automation-agent.log 2>&1 &
The following worked better for me:sudo chown mongodb /var/lib/mongodb-mms-automation
sudo chown mongodb /var/log/mongodb-mms-automation
touch /tmp/mongodb-mms-automation.lock
sudo chown mongodb /tmp/mongodb-mms-automation.lock
sudo -s
su mongodb -s /bin/sh
newgrp mongodb
id
nohup ./mongodb-mms-automation-agent --config=local.config >> /var/log/mongodb-mms-automation/automation-agent.log 2>&1 &But afterwards I still didn't get very far.
Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)
Error in mongo cloud manager: Error rotating log /var/log/mongodb-mms-automation/monitoring-agent.log : <Monitoring Agent Manager> [09:31:56.067] Error opening /var/log/mongodb-mms-automation/monitoring-agent.log : open /var/log/mongodb-mms-automation/monitoring-agent.log: permission denied
Versions: