Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12418

[BIC] Correct commands to include {{sudo}}

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
      

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

            Assignee:
            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            Reporter:
            brett.gray@mongodb.com Brett Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 13 weeks, 1 day ago