-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BI Connector
-
Labels:None
Description
Issue
Our documentation for running BI Connector as a service is missing the sudo command for all the commands used for EL and DEB flavours of Linux. This leads to errors and prevents the user from installing/running the BI Connector service, which can be confusing.
[ec2-user@mongod0 mongodb-bi-linux-x86_64-amzn64-v2.9.0]$ mongosqld install --config /etc/mongosqld.conf open /etc/systemd/system/mongosql.service: permission denied
[ec2-user@mongod0 mongodb-bi-linux-x86_64-amzn64-v2.9.0]$ systemctl start mongosql.service Failed to start mongosql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files See system logs and 'systemctl status mongosql.service' for details.
Recommendation
To improve the user experience I recommend we include the sudo command where required for EL and DEB linux flavours, such as:
sudo mongosqld install --config /etc/mongosqld.conf sudo systemctl start mongosql.service