[DOCS-12418] [BIC] Correct commands to include {{sudo}} Created: 31/Jan/19  Updated: 29/Oct/23  Resolved: 08/Feb/19

Status: Closed
Project: Documentation
Component/s: BI Connector
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Brett Gray Assignee: Anthony Sansone (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 1 week, 6 days ago

 Description   

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

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)


Generated at Thu Feb 08 08:05:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.