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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • BI Connector
    • None
    • KANBAN BUCKET
    • true

    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

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

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 22 weeks, 4 days ago