Start, Stop, or Restart Tenable Security Center

Required User Role: Root user

When Tenable Security Center is installed, the required services are started by default.

To change the status of Tenable Security Center:

  1. Log in to Tenable Security Center via the command line interface (CLI).

  2. In the CLI in Tenable Security Center, run the following command to check the status of your Tenable Security Center:

    Copy
    # service SecurityCenter status

    The system indicates whether Tenable Security Center is running or stopped.

  3. Run one of the following commands to change the status of your Tenable Security Center:

    • To start Tenable Security Center, run:

      Copy
      # /bin/systemctl start SecurityCenter
    • To stop Tenable Security Center, run:

      Copy
      # /bin/systemctl stop SecurityCenter
    • To restart Tenable Security Center, run:

      Copy
      # /bin/systemctl restart SecurityCenter
  4. If you are running Tenable Security Center 6.5.x or later with a managed PostgreSQL database on the same server, then run the following commands to start and stop the PostgreSQL database:

    • To start the PostgreSQL database, run:

      Copy
      # su -tns -c "/opt/sc/support/bin/pg_ctl -D opt/sc/data/postgresql/ -l /opt/sc/admin/logs/postgresql.log start"
    • To stop the PostgreSQL database, run:

      Copy
      # su -tns -c "/opt/sc/support/bin/pg_ctl -D opt/sc/data/postgresql/ stop"

    Note: These commands assume the install path for the PostgreSQL database is /opt/sc/. Replace /opt/sc/ with your install path if necessary. For more information about managed PostgreSQL databases, see Connect an External PostgreSQL Server.