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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BI Connector
    • Labels:
      None
    • Last comment by Customer:
      true
    • Sprint:
      KANBAN BUCKET

      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.)

        Attachments

          Activity

            People

            Assignee:
            tony.sansone Anthony Sansone
            Reporter:
            brett.gray Brett Gray
            Participants:
            Last commenter:
            Anthony Sansone Anthony Sansone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              2 years, 50 weeks, 4 days ago