---
title: "Gateway Installation Guide"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway_installation_guide/index.html"
---
## Overview

This document describes the prerequisites for a Geneos Gateway, how to install and how to start using a Gateway.

For information describing the features of a Gateway, see [Gateway Introduction](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway_introduction/index.html). For more information on configuring Gateway, see [Centralised Gateways User Guide](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-hub/gateway-centralised-config/index.html).

## Prerequisites

### Gateway System Requirements

When Security-Enhanced Linux (SELinux) is running in `Enforcing mode`, it may deny certain functions of Geneos depending on the implemented configurations and policies.

To see which functions SELinux denies, check the audit log. The log is typically located in `/var/log/audit.log`, where the log type entry is `AVC`. The audit log provides the details of any denied access. For example, denied connection to the TCP port.

If you experience issues related to this mode,  you may opt to disable SELinux, or create policy modules to grant the required access. Please contact your administrator or security team for assistance.

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <thead>
                            <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Prerequisite</th>
                                <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                            </tr>
                        </thead>
                        <tbody valign="top">
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Gateway Machine</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                    <div class="first last line-block">
                                        <div class="line"><strong>OS:</strong> RedHat Linux
											(Preferred), Suse Linux</div>
                                        <div class="line"><strong>CPU:</strong> Dual CPU, Dual Core
										</div>
                                        <div class="line"><strong>Memory:</strong> 8GB
											(64-bit)
										</div>
                                        <div class="line"><strong>Network:</strong> 1 Network Card or
											2 bonded Network cards (100 mbps)
										</div>
                                        <div class="line"><strong>Disk:</strong> 500 MB* software
											only, does not include database table space
										</div>
                                        <div class="line"><strong>Hardware:</strong> Virtual or
											Physical
										</div>
                                    </div>
                                </td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">SSH Access</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">SSH access to the Gateway server is
									required for initial installation and
								configuration of the Geneos software.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">SCP Access</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The Geneos software is installed in a
									nominated directory (/opt/geneos) or a user's
									home directory. This should be a common directory
									across all machines. SCP access to
									each server and directory is required to copy the Gateway
								binaries.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Port 7039</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Default port for communication between the
Gateway server and Active Console.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">SendMail</td>
                                <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">In order to perform actions such as e-mail alerts
		 the Gateway server requires a
									sendmail daemon to be running so that outgoing messages can
								be properly routed.</td>
                            </tr>
                        </tbody>
                    </table>      
</div>
<p>When Security-Enhanced Linux (SELinux) is running in Enforcing mode, it may deny certain functions of Geneos depending on the implemented configurations and policies. </p>
<p>To see which functions SELinux denies, check the audit log. The log is typically located in /var/log/audit.log, where the log type entry is AVC. The audit log provides the details of any denied access. For example, denied connection to the TCP port. </p>
<p>If you experience issues related to this mode,  you may opt to disable SELinux, or create policy modules to grant the required access. Please contact your administrator or security team for assistance.</p>

### Gateway licensing

For the Gateway to function, an appropriate licensing method must be in place.

See [Gateway Licensing](/processing/../administration/gateway_licensing/#gateway-licensing).

### Prerequisite considerations

Beginning Geneos version 5.0.0, this component is only compatible with other Geneos components that are version 3.6.0 or higher. For more information, see the [Geneos Compatibility Matrix](https://docs.itrsgroup.com/docs/all/geneos/7x-release/compat-matrix/).

#### Installation directory

The Gateway files are installed into a directory. For new installations the following
 directory is recommended:

```sh
/usr/local/geneos/gateway
```

#### Port numbers

Each installed Gateway must have a unique port
 to listen for client connections. The
 default gateway ports are:

- `7039` for insecure channel.
- `7038` for secure channel.

If these ports are unavailable or you are
 hosting multiple Gateways on a single machine, then
 you need to select available unique ports
 for the Gateway. See [operatingEnvironment > listenPorts](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_operating_environment/index.html#operatingenvironment--listenports).

#### Gateway name

Each installed Gateway must have a unique name. The name is important as it is used when selecting data and defining rules. Select a unique name that can be used to identify this Gateway's purpose within your organisation.


**Note**

  Changing the Gateway name once monitoring has begun is not recommended. You must select a suitable name from the  outset.


#### Select log file and setup directories

The Gateway generates a log file and requires at least one master setup file per running instance. As it is common to have multiple Gateway instances running on a single host, it is useful to organise these files.

Geneos can accommodate if your organisation has specific guidelines as to where configuration and log files must reside.

See [Gateway Log File](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-administration/gateway_log_file/index.html), [Centralised Gateways User Guide](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-hub/gateway-centralised-config/index.html).

#### Gateway resources

The Gateway is shipped with a set of `xslt` resource files and a timezone file. The resources directory, or a symbolic link to it, must exist in the working directory of the Gateway at startup time because these files are part of the runtime source code.

The files should not be edited by users and doing so may result in unexpected behaviour. When a Gateway binary is upgraded the resource files must also be upgraded to the version supplied with the new Gateway.

The Gateway time zone resources file is also available separately as a package from [ITRS Resources](https://resources.itrsgroup.com/downloads/gateway-2-timezones). The package contains the time zone file and a README file with installation instructions.

## Procedure

This section describes how to install a Gateway up to the point where the setup can be edited by a connected Gateway Setup Editor.

### How to download and unpack Gateway

Ensure you have machine set up with the prerequisites before installing the Gateway.

To download and unpack the Gateway Hub on to your installation machine, follow these steps:

1. Download the Gateway binaries from the [ITRS group website](https://resources.itrsgroup.com/downloads/gateway-2):
        - The binaries are named `geneos-gateway-<version number>.<platform>.tar.gz`.
2. Move the Gateway .tar.gz file into the desired installation directory.
3. Unpack the Gateway binary using the command line.

- The binary contains the following:

<div class="table-container">
<table class="legacy-table"  class="TableStyle-ref_2_col_table" cellspacing="0">
  <col class="TableStyle-ref_2_col_table-Column-Column1"/>
  <col class="TableStyle-ref_2_col_table-Column-Column1"/>
  <thead>
    <tr class="TableStyle-ref_2_col_table-Head-Header1">
      <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">File</th>
      <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
    </tr>
  </thead>
  <tbody>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">gateway2.&lt;platform&gt;</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Executable binary file for the Gateway process</td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">kafkacat</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/data-access-and-publishing/geneos_publishingdata_tr/index.html#kafkacat">kafkacat in Gateway Publishing to Kafka and Nanomsg</a>.</td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">lib64</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Contains required libraries. </td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">LICENCE</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1"> </td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">LICENCE_README.txt</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1"> </td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">NOTICES</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1"> </td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">
resources</td>
      <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
        <p>Contains resources files for this version.</p>
      </td>
    </tr>
    <tr class="TableStyle-ref_2_col_table-Body-Body1">
      <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">templates</td>
      <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Contains template start up and files and scripts.</td>
    </tr>
  </tbody>
</table>
</div>

### How to create a start script for Gateway

1. Copy `gateway.setup.xml.tmpl` from the `templates/` folder to the working directory.
2. Rename the copy of `gateway.setup.xml.tmpl` to `gateway.setup.xml`.
3. Edit `gateway.setup.xml` to add a Gateway name:

```xml
<operatingEnvironment>
        <!--The gateway name must be set, the listen port should be set-->
        <gatewayName>exampleGatewayName</gatewayName>
        <listenPorts>
                <insecure>
                        <listenPort>7039</listenPort>
                </insecure>
                </listenPorts>
</operatingEnvironment>
 ```

4. Copy `start_gateway2.tmpl` from the `templates/` folder to the working directory.
5. Rename the copy of `start_gateway2.tmpl` to `start_gateway2`.
6. Edit `start_gateway2` so that the Gateway runs in the background:
        ```
        ### Run the gateway in the foreground
        #./gateway2.linux\_64 ${SECURE_PARAMS}

        ### Run the gateway in the background with logging
        nohup ./gateway2.linux\_64 ${SECURE_PARAMS} -log gateway2.log &
        ```

See [Command line options](#command-line-options) for other command line options when starting the Gateway.

### How to start and configure the Gateway

1. Run the `start_gateway2` script to start the Gateway process.
2. Connect an Active Console to the Gateway.
3. Open the Gateway Setup Editor.

You can now start adding monitoring configuration via the Gateway Setup Editor.

### How to upgrade to a new Gateway version

To upgrade to a later Gateway binary from an existing installation:

1. Stop the current Gateway process.
2. Copy the new binary and resources files into the installation directory.
3. Restart the Gateway process.

### How to install using Helm

The Gateway can also be deployed via Helm. Refer to [Gateway deployments](https://docs.itrsgroup.com/docs/geneos/7.11.0/administration/orchestrated-environments/installation-using-helm/index.html#gateway-deployments) for more information.

### Command line options

The Gateway can be started with command line options. These options can be entered on the command line or read from a file.

By default, the Gateway attempts to read command line options from a file called `gateway2.gci` in the Gateway's working directory. This file is not supplied with the Gateway and you must create it yourself. For example:

```
-<command line option>
-<command line option> <argument>
```

Alternatively, you can specify the file for the Gateway to read using the `-config-file` command line option.

Command line options in the file are processed before any on the command line, except for `-config-file` which is always processed first.

The following command line options are available:

<div class="table-container">
<table class="legacy-table" style="width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');margin-left: 0;margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                            <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">
                                        <p>Option</p>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Use</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-aes-key-script </code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Runs the specified script once at Gateway startup and uses its standard output as the main AES key. This option allows the Gateway to retrieve the key from an external provider without storing it on disk.</p>
                                        <p>A non-zero exit status or timeout is fatal. Standard error is not used as key material. If standard output is blank, the option is treated as unset and the Gateway uses its built-in key.</p>
                                        <p>This option is mutually exclusive with <code>-key-file</code>.</p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html#how-to-retrieve-an-aes-key-from-an-external-provider">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-app-key</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the path to the  file that contains the API key used to connect securely to SSO Agent, Gateway Hub, or ITRS Analytics.</p>
                                        <p>For more information about using an API key, refer to <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/sso/sso-agent-ug/index.html">SSO Agent User Guide</a> and <a href="https://docs.itrsgroup.com/docs/geneos-gateway-hub/current/webconsole/application-keys/index.html">Application Keys </a></a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-ase256-encrypt
</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">This option relates to storing passwords in the
Gateway setup. It is explained in <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html">Secure Passwords</a>.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-autolock</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Forces a GSE
connected to the Gateway to lock setup files
						(or include files) if a user wants to update them.
						Other connected GSEs are notified when a lock on a
						file becomes available and will have a chance to lock
						it. </p>
                                        <p>If GSE's are connected to different gateways that
						share an include file, they are only be prevented from
						updating the include file at the same time. For more
	information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gse_user_guide/index.html#autolock">Autolock</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-config-file &lt;path&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p> Path to configuration file containing command line options. By default, the Gateway attempts to read from a file called <code>gateway2.gci</code> in Gateway's working directory. This file is not supplied with the Gateway and you must create it yourself.</p>
                                        <p>Command line options in the file are processed before any on the command line, except for <code>-config-file</code> which is always processed first. </p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-demo</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Run the Gateway in a demo mode, without a license daemon, to trial the software. For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/administration/gateway_licensing/index.html#demo-mode">Demo mode in Gateway Licensing</a>.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-display-timezone-defaults</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Prints the default timezone for
						timezone abbreviations by reading the timezone
						resources file. The defaults are mentioned in <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-administration/geneos_timeformats_tr/index.html">Time Zones and Time Formats</a>.
					and marked with asterisk(*).</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-dump-xml</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Print the contents of the merged
						xml tree (Gateway setup) to the log file or stdout,
						then exit. Can be used with <code>-setup</code>, <code>-log</code> or <code>-nolog</code> as
					required.</p>
                                        <p>The merged nodes have an additional attribute to
						specify which setup file this node came from. A node
						coming from main file has the attribute <code class="docutils literal">main="true"</code>, whereas a node coming
						from include file has the attribute <code class="docutils literal">include="/path/to/include/file/as/specified/in/the/setup"</code>.
						It is implicit that child nodes not having such
						attribute inherit it from their ancestor node. For
						illustration, see Merged Setup
 example.</p>
                                        <p>This mode is intended for testing/debugging
					purposes.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-en
</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>This option relates to storing passwords in the
Gateway setup. It is explained in <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-gateway-hub &lt;URL&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>URL of the Gateway Hub.</p>
                                        <p>Only one URL is supported.</p>
                                        <div xmlns="">
                                            <p>Example: <code>https://hub.example.com:8080</code></p>
                                            <p>If provided, this takes precedence over the REST address provided in the Gateway Hub section in the GSE. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/data-access-and-publishing/gateway-hub-config-tr/index.html">Gateway Hub Connection</a>.</p>
                                        </div>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-gateway-hub-timeout</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Number of seconds that the Gateway waits for a response from Gateway Hub after sending a validation or save request before timing out. The request may time out if the Gateway Hub is responding to other requests. </p>
                                        <p>Default value: 5 seconds.</p>
                                        <p>See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/docs/geneos/current/processing/gateway-hub/gateway-centralised-config/index.html">Centralised Gateways User Guide</a> for more information.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-gateway-name &lt;name&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Name of the Gateway setup.</p>
                                        <p>If no setup file is specified, then Gateway fetches the named setup from Gateway Hub. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/docs/geneos/current/processing/gateway-hub/gateway-centralised-config/index.html">Centralised Gateways User Guide</a> for more information.</p>
                                        <p>However, if a local setup file is specified then the Gateway starts using that setup and with the name specified on the command line. If the setup file specifies a Gateway name, it must match the name specified using the <code>-gateway-name</code> command line option, otherwise the setup file will be rejected. This means that by omitting a Gateway name, you can use a single setup file for multiple Gateways. This is often useful in orchestrated environments, such as Kubernetes. </p>
                                        <p>If the <code>-demo</code> command line option is also used, then the Gateway name set on the command line must be <code>Demo Gateway</code> otherwise the Gateway will fail to start. </p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-help [topic]</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Displays help about the topic if specified, or this
						help message. Topic can be any of the parameters shown
					below.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-hooks-dir &lt;resource-dir&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the location of the hooks
						directory. This directory contains the user defined
						hooks that are run at setup validation and after a
						setup change is applied by the Gateway. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/administration/geneos_advancedfeatures_tr/index.html#gateway-hooks">Gateway Hooks</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-hooks-timeout</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Changes the hooks timeout from the default of 2 minutes to the value specified. Values greater than the default result in a warning that Gateway performance may be degraded. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/administration/geneos_advancedfeatures_tr/index.html#gateway-hooks">Gateway Hooks</a>.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-kerberos-keytab &lt;path&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1"> Path to the keytab file. The principal must also be specified.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-kerberos-credential-cache &lt;path&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Path to the credential cache file. You can use the <code>-kerberos-principal</code> command line option with this option to specify the principal.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-kerberos-principal &lt;principal&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>A unique identity that Kerberos can assign tickets to. </p>
                                        <p>Examples: <code>user@REALM</code> or <code>user/admin@REAL</code>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">
                                        <p><code>-key-file
</code>
                                        </p>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specify a key file to encrypt all the AES passwords in your
Gateway setup. </p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-licence</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the location of the temporary
						licence file that the Gateway uses in absence of a
Licence Daemon.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-licd-host</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the host name or IP address of
						the Licence Daemon the Gateway uses when
						requesting licences. </p>
                                        <p>Default: <code>localhost</code>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-licd-port</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the port where the Licence
	Daemon is listening on. </p>
                                        <p>Default is 7041.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-licd-secure</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies that the Gateway connects
						to the Licence Daemon using TLS. </p>
                                        <p>If this is not used
						then an insecure protocol is used to transfer licences
						from the Licence Daemon to the Gateway. </p>
                                        <p>The Gateway and Licence Daemon must be identically configured.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-log &lt;logfile&gt; | -nolog</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Used to specify the name of the
						Gateway log file. </p>
                                        <p>The <code class="docutils literal">LOG_FILENAME</code> environment variable
						can also be used to configure this, however the command
					line option overrides the environment setting.</p>
                                        <p>Running the Gateway with the <code class="docutils literal">-nolog</code> option overrides
					all other log settings and prints output to stdout.</p>
                                        <p>The Gateway sends
					its output to stdout if this option is not set.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-logMaskingRules &lt;path&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies a YAML or JSON file that defines <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/administration/log-masking/index.html">log masking</a> rules applied to Gateway log lines before they are written. A starter file is packaged as <code>templates/log-masking-rules.yaml</code> in the Gateway package.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-manual-failback</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Prevents a primary Gateway from automatically taking over from a secondary Gateway upon restart.</p>
                                        <p>A Gateway command is available on the secondary Gateway to return control to the primary. This allows you to restart your Gateway and transfer control at a convenient time.</p>
                                        <p>Both Gateways must be started with this option to enable manual failback functionality.</p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/gateway-administration/gateway_hot_standby/index.html#manual-failback">Manual failback in Hot Standby</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-max-severity &lt;none|warn|error&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Used to specify the maximum
						allowable setup severity. The maximum severity controls
						whether the Gateway allows a setup to be
					applied.</p>
                                        <p>For example, if the maximum severity is set to warn,
						and the setup file contains problems with a severity of
						warning or less, then the setup is applied,
					otherwise it is rejected.</p>
                                        <p>Possible severity settings are:</p>
                                        <ul class="simple">
                                            <li><code class="docutils literal">none</code> &#8212; setup is applied only if there are no
								problems.</li>
                                            <li><code class="docutils literal">warn</code> &#8212; setup is applied only if any problems
								are warnings.</li>
                                            <li><code class="docutils literal">error</code> &#8212; setup is applied only if any problems
								are errors or warnings.</li>
                                        </ul>
                                        <p>Default if not specified: <code class="docutils literal">error</code>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-minTLSversion</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <div>
                                            <p>Specifies the minimum TLS version. The accepted values are:</p>
                                            <ul>
                                                <li><code>1</code>
                                                </li>
                                                <li><code>1.0</code>
                                                </li>
                                                <li><code>1.1</code>
                                                </li>
                                                <li><code>1.2</code>
                                                </li>
                                                <li><code>1.3</code>
                                                </li>
                                            </ul>
                                            <p> For more details, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/secure-communications/ssl_ug/index.html">Secure Communications</a>.</p>
                                        </div>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-iax &lt;URL&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>URL of ITRS Analytics.</p>
                                        <p>Required when using Centralised Configuration in ITRS Analytics.</p>
                                        <p>Example: <code>https://itrs-analytics.example.com</code></p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-iax-timeout</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Number of seconds that the Gateway waits for a response from ITRS Analytics after sending a validation or save request before timing out. The request may time out if ITRS Analytics is responding to other requests.</p>
                                        <p>Default value: 5 seconds</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-openssl-cipher &lt;ciphers&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        To set the available TLS ciphers use the `-openssl-cipher <ciphers>` command line option, replacing `<ciphers>` with a comma separated list of ciphers.

For more information, see  <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/secure-communications/ssl_ug/index.html#tls-ciphers">TLS ciphers in Secure Communications</a>.
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-port &lt;number&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Used to specify the port the
						Gateway listens on for other components. </p>
                                        <p>The option must be followed by the listen
						port, a positive integer in the range 1-65535
					inclusive.</p>
                                        <div>
                                            <p class="note">Note: On some systems ports in the range
							1-1024 are reserved, and the Gateway requires special
						permissions to listen on a port in this range.</p>
                                        </div>
                                        <p>If <code class="docutils literal">-port</code> is not specified, the default ports are :</p>
                                        <ul>
                                            <li>7039
 for insecure channel.</li>
                                            <li>7038 for
					secure channel.</li>
                                        </ul>
                                        <p>If only the secure listen port is configured in the
						Gateway setup file, then <code class="docutils literal">-port</code> overrides this
						configuration. </p>
                                        <p>If only insecure listen port is
						configured in the Gateway setup file, then <code class="docutils literal">-port</code> 						overrides this configuration. </p>
                                        <p>If both secure and
						insecure listen ports are configured in the Gateway
						setup file, then <code class="docutils literal">-port</code> overrides the secure listen
					port.</p>
                                        <p class="note">Note: If you specified a port using <code>-port</code> that is already in use, the Gateway uses the port specified in the Gateway setup file. If no port is specified in the setup file, the default is used. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_operating_environment/index.html#operatingenvironment--listenports">operatingEnvironment &gt; listenPorts</a>.
                                        </p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-previous-aes-key-script </code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Runs the specified script once at Gateway startup and uses its standard output as the previous AES key during key rotation.</p>
                                        <p>A non-zero exit status is logged as an error and the Gateway continues without a previous key. Standard error is not used as key material. Blank standard output is treated as unset.</p>
                                        <p>This option requires either <code>-key-file</code> or <code>-aes-key-script</code>, and is mutually exclusive with <code>-previous-key-file</code> and <code>-previous-key-geneos</code>.</p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html#how-to-retrieve-an-aes-key-from-an-external-provider">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-previous-key-file </code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specify a fallback keyfile to encrypt AES passowrds.  Allows Gateway to use two keys while you  transition to a new key. </p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html">Secure Passwords</a></p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-previous-key-geneos</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Uses the Geneos built-in AES key as the previous key while migrating to a custom main key.</p>
                                        <p>This option requires either <code>-key-file</code> or <code>-aes-key-script</code>, and is mutually exclusive with <code>-previous-key-file</code> and <code>-previous-aes-key-script</code>.</p>
                                        <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html#how-to-retrieve-an-aes-key-from-an-external-provider">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-process-dump-files</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Starts a process to read all the
						database dump files that have been created by the
						Gateway and inserts them into the database. See
						<a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/data-access-and-publishing/geneos_dblogging_tr/index.html#database-cache-dump-file-configuration">Database dump
 files</a> section.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-pw</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>This option relates to storing passwords in the
Gateway setup. It is explained in <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html">Secure Passwords</a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-resources-dir &lt;resource-dir&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the location of the resource
						directory. This directory is provided as part of the
						Gateway package. </p>
                                        <p>By default it is the directory
						resources in the current working directory of the
						Gateway. If running multiple Gateways in multiple
						working directories from the same package, this is
						option can be used to provide access to the shared
					resource.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-roll-time &lt;HH:MM&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Sets a
						predetermined file rollover time for the Gateway log
						file. When set, the log file roll over occurs when
						the first log message comes in after the requested
					rollover time.</p>
                                        <p>The format must be <code>HH:MM</code> for example 6					am would be specified as <code>-roll-time 06:00</code>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-setup &lt;filename&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Used to specify the setup file
						Gateway should use. The option must be followed by the
						filename, which should not start with a - (dash)
					character.</p>
                                        <p>If <code class="docutils literal">-setup</code> is not specified, the default file of
					<code class="docutils literal">gateway.setup.xml</code> is used.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-setup-comments &lt;none|optional|required&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Controls if the Gateway Setup
						Editor (GSE)
						asks for comments when you change the setup file.
There are three options: 						</p>
                                        <ul>
                                            <li><code class="docutils literal">none</code> &#8212; The  GSE does not ask for a comment when you press
						Save on a Gateway setup. 						</li>
                                            <li><code class="docutils literal">optional</code> &#8212; The GSE
						asks for a comment when you press Save on a
						Gateway setup. However, you are not
						required to enter any text. Warnings present.
							</li>
                                            <li><code class="docutils literal">required</code> &#8212; the GSE asks for a
						comment when you press Save on a Gateway setup,
						and the system will not save the file until you
						have entered some text. Errors present.</li>
                                        </ul>
                                        <p>Default if not specified: <code class="docutils literal">optional</code>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-skip-cache</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Loads setup from files on disk instead of cache even
						if some setups are inactive (outside their active
						time). The cache contains setup files that the Gateway
					was running before shutdown.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-sso-agent &lt;URL&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>URL of the SSO Agent that is providing an SSO Token to use with Gateway Hub. </p>
                                        <p>
                                    This is only required if you are not using the SSO Agent on the default port of the Gateway Hub.
                                </p>
                                        <p>See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/docs/geneos/current/processing/gateway-hub/gateway-centralised-config/index.html">Centralised Gateways User Guide</a> for more information.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-ssl-certificate</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the file that contains the
						signed SSL server certificate in PEM (Privacy-enhanced
					Electronic Mail) format.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-ssl-certificate-chain</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the file that contains the
					trusted certificate authority.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-ssl-certificate-key</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Specifies the file that contains the
						signed SSL server private key in PEM (Privacy-enhanced
						Electronic Mail) format. If this is option is not
						specified, but <code>-ssl-certificate</code> is then the Gateway searches for the private key in the same file as the server
					certificate.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-stats</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Enables <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/geneos_gateway_plugins_tr/index.html#gateway-load">Gateway load
						monitoring</a> statistics collection from
						start-up. </p>
                                        <p>This flag can be useful in diagnosing gateway
						performance issues only seen on start-up, rather than
					those occurring during normal gateway operation.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-store-app-key</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Generates an API key file from a provided <code>client_id</code> and <code>client_secret</code>. </p>
                                        <p>The command uses the format <code>./gateway2.linux_64 -store-app-key &lt;filename&gt; &lt;client_id&gt; &lt;client_secret&gt;</code>.</p>
                                        <p>For more information about using an API key, see  <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/docs/geneos/current/processing/gateway-hub/gateway-hub-quick/index.html#connect-securely-using-sso-or-api-keys">Connect securely using SSO or API keys</a>,  <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/sso/sso-agent-ug/index.html">SSO Agent User Guide</a>,  <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/docs/geneos/current/processing/gateway-hub/gateway-hub-sso-agent/index.html">Gateway Hub SSO Agent </a>, and <a href="https://docs.itrsgroup.com/docs/geneos-gateway-hub/current/webconsole/application-keys/index.html">Application Keys </a>.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-validate</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>Used to validate setup files without
						using ActiveConsole. It performs Gateway validation, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gse_user_guide/index.html#validation-types">Validation types</a> for more information. By default it validates the
						default Gateway setup file <code class="docutils literal">gateway.setup.xml</code> unless the
					<code class="docutils literal">-setup &lt;filename&gt;</code> option is also used. Use with:</p>
                                        <table   style="width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');margin-left: 0;margin-right: auto;" cellspacing="0">
                                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                                            <tbody valign="top">
                                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code class="docutils literal">-setup &lt;filename&gt;</code>
                                                    </td>
                                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Specifies the filename to validate.</td>
                                                </tr>
                                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code class="docutils literal">-silent</code>
                                                    </td>
                                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Prevents the Gateway from producing any
									output. Check the return code for indication of
									success. This may be useful for automated
								checking scripts.</td>
                                                </tr>
                                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"><code class="docutils literal">-strict</code>
                                                    </td>
                                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Performs stricter validation by
								validating against the schema. See <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gse_user_guide/index.html#validation-types">Validation types</a> for more information.</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <p>Returns:</p>
                                        <ul>
                                            <li><code class="docutils literal">0</code> &#8212; Success.							</li>
                                            <li><code class="docutils literal">1</code> &#8212; Warnings present.
							</li>
                                            <li><code class="docutils literal">2</code> &#8212; Errors present.
							</li>
                                            <li><code class="docutils literal">3</code> &#8212; Critical errors present.
							</li>
                                            <li><code class="docutils literal">4</code> &#8212; Fatal errors present.
							</li>
                                        </ul>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>-validate-json-output &lt;filename&gt;</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        <p>This option (which implicitly selects the
						<code class="docutils literal">-validate</code> option) causes the
						validation results to be written to the specified file,
					in JSON syntax.</p>
                                    </td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"><code>-v, -version</code>
                                    </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">
                                        <p>Used to display version information
                                for the Gateway. It contains information about the
                                exact version of the Gateway and all the libraries
                                contained within. </p>
                                    </td>
                                </tr>
                            </tbody>
                        </table>                    
</div>

## Required libraries

#### RHEL 10

| Library Name | Package Name |
| --- | --- |
| libssl.so.3 | openssl-libs |
| libcrypto.so.3 | openssl-libs |
| libcrypt.so.2 | libxcrypt |
| libresolv.so.2 | glibc |
| libz.so.1 | zlib |
| libm.so.6 | glibc |
| libc.so.6 | glibc |

#### RHEL 9

| Library Name | Package Name |
| --- | --- |
| libssl.so.3 | openssl-libs |
| libcrypto.so.3 | openssl-libs |
| libcrypt.so.2 | libxcrypt |
| libresolv.so.2 | glibc |
| libz.so.1 | zlib |
| libm.so.6 | glibc |
| libc.so.6 | glibc |

#### RHEL 8

For Geneos 7.11.2 and later, use the generic Linux x86-64 package.

| Library Name | Package Name |
| --- | --- |
| libutil.so.1 | glibc |
| libnsl.so.1 | libnsl |
| libpthread.so.0 | glibc |
| libdl.so.2 | glibc |
| libcrypt.so.1 | libxcrypt |
| libresolv.so.2 | glibc |
| libz.so.1 | zlib |
| librt.so.1 | glibc |
| libm.so.6 | glibc |
| libc.so.6 | glibc |

For Geneos 7.11.1 and earlier, use the dedicated RHEL 8 package.

| Library Name | Package Name |
| --- | --- |
| libssl.so.1.1 | openssl-libs |
| libcrypto.so.1.1 | openssl-libs |
| libutil.so.1 | glibc |
| libnsl.so.2 | libnsl |
| libpthread.so.0 | glibc |
| libdl.so.2 | glibc |
| libcrypt.so.1 | libxcrypt |
| libresolv.so.2 | glibc |
| libz.so.1 | zlib |
| librt.so.1 | glibc |
| libm.so.6 | glibc |
| libc.so.6 | glibc |

#### SUSE 12 and 15 (64-bit)

|Library Name |Package Name|
| ----|----|
|libutil.so.1 |glibc|
|libnsl.so.1 |glibc or libnsl-2 on RHEL 8 and CentOS 8|
|libpthread.so.0 |glibc|
|libdl.so.2 |glibc|
|libcrypt.so.1 |glibc|
|libresolv.so.2 |glibc|
|librt.so.1 |glibc|
|libm.so.6 |glibc|
|libc.so.6 |glibc|
|ld-linux.so.2 |glibc|
|libz.so.1 |libz1|
|libstdc++.so.6 |libstdc++|
|libgcc_s.so.1 |libgcc-4|

#### Ubuntu 18

|Library Name |Package Name|
| ----| ----|
|libutil.so.1 |libc6|
|libnsl.so.1 |libc6|
|libpthread.so.0 |libc6|
|libdl.so.2 |libc6|
|libcrypt.so.1 |libc6|
|libresolv.so.2 |libc6|
|libz.so.1 |zlib1g|
|librt.so.1 |libc6|
|libm.so.6 |libc6|
|libgcc_s.so.1 |libgcc1|
|libc.so.6 |libc6|

#### Ubuntu 20 and 22

|Library Name |Package Name|
|:----|:----|
|libutil.so.1 |libc6|
|libnsl.so.1 |libc6|
|libpthread.so.0 |libc6|
|libdl.so.2 |libc6|
|libcrypt.so.1 |libcrypt1|
|libresolv.so.2 |libc6|
|libz.so.1 |zlib1g|
|librt.so.1 |libc6|
|libm.so.6 |libc6|
|libgcc_s.so.1 |libgcc-s1|
|libc.so.6 |libc6|

