Using configuration files (AEN 4.2.1)
=====================================

.. raw:: html

    <div class="contents local topic" id="contents">
    <ul class="simple">
    <li><a class="reference internal" href="#aen-configuration-keys" id="id7">AEN configuration keys</a></li>
    <li><a class="reference internal" href="#checking-configuration-file-syntax" id="id8">Checking configuration file syntax</a></li>
    </ul>
    </div>
    <p>The default locations for each component&#8217;s configuration files are:</p>
    <ul class="simple">
    <li>Server&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-server/etc/wakari/config.json</span></code>.</li>
    <li>Gateway&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-gateway/etc/wakari/config.json</span></code>.</li>
    <li>Compute&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/etc/wakari/config.json</span></code>.</li>
    </ul>
    <p>Additionally, service-specific configuration files may also be present in the
    following locations:</p>
    <ul class="simple">
    <li>Server&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-server/etc/wakari/wk-server-config.json</span></code>.</li>
    <li>Gateway&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-gateway/etc/wakari/wk-gateway-config.json</span></code>.</li>
    <li>Compute&#8212;<code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/etc/wakari/wk-compute-config.json</span></code>.</li>
    </ul>
    <p>Each service loads each of the configuration files in the following order and
    updates the AEN configuration at each step:</p>
    <ol class="arabic simple">
    <li><code class="docutils literal"><span class="pre">/etc/wakari/config.json</span></code>.</li>
    <li><code class="docutils literal"><span class="pre">/etc/wakari/wk-gateway-config.json</span></code>.</li>
    <li><code class="docutils literal"><span class="pre">/opt/wakari/wakari-SERVICE/etc/wakari/config.json</span></code>.</li>
    <li><code class="docutils literal"><span class="pre">/opt/wakari/wakari-SERVICE/etc/wakari/wk-SERVICE-config.json</span></code>.</li>
    <li><code class="docutils literal"><span class="pre">./config.json</span></code>.</li>
    <li><code class="docutils literal"><span class="pre">./wk-gateway-config.json</span></code>.</li>
    </ol>
    <div class="section" id="aen-configuration-keys">
    <h2><a class="toc-backref" href="#id7">AEN configuration keys</a><a class="headerlink" href="#aen-configuration-keys" title="Permalink to this headline">¶</a></h2>
    <p>The following is a list of AEN supported configuration keys:</p>
    <table border="1" class="docutils" id="id1">
    <caption><span class="caption-text">Server Configuration Keys</span><a class="headerlink" href="#id1" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">CDN</span></code></td>
    <td><code class="docutils literal"><span class="pre">$WAKARI_SERVER/static/</span></code></td>
    <td>The location of static assets.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">MONGO_DB</span></code></td>
    <td><code class="docutils literal"><span class="pre">wakari</span></code></td>
    <td>The name of the AEN database in mongodb.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">MONGO_URL</span></code></td>
    <td><code class="docutils literal"><span class="pre">mongodb://localhost/</span></code></td>
    <td>The URL of your AEN server&#8217;s mongodb instance. Format:
    <code class="docutils literal"><span class="pre">mongodb://&lt;username&gt;:&lt;password&gt;&#64;&lt;host&gt;:&lt;port&gt;/</span></code></td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">WAKARI_SERVER</span></code></td>
    <td>&nbsp;</td>
    <td>The URL of this AEN server.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">DEFAULT_PRIVACY</span></code></td>
    <td><code class="docutils literal"><span class="pre">public</span></code></td>
    <td>The default project privacy setting&#8212;can be either <code class="docutils literal"><span class="pre">public</span></code> or <code class="docutils literal"><span class="pre">private</span></code>.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">SESSION_COOKIE_NAME</span></code></td>
    <td><code class="docutils literal"><span class="pre">wakari.</span></code> <code class="docutils literal"><span class="pre">enterprise.session</span></code></td>
    <td>The Cookie name used to maintain Anaconda Enterprise Notebooks Enterprise login sessions.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">PERMANENT_SESSION</span></code></td>
    <td><code class="docutils literal"><span class="pre">True`</span></code></td>
    <td>Sets cookie session to permanent. This will keep the session open after the browser is closed. The session will still expire after the number of minutes set in the SESSION_LIFETIME key.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">SESSION_LIFETIME</span></code></td>
    <td><code class="docutils literal"><span class="pre">120</span></code></td>
    <td>Time in minutes until the session expires. The counter resets with each request.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">USE_SES</span></code></td>
    <td><code class="docutils literal"><span class="pre">false</span></code></td>
    <td>Sets whether AEN will use Amazon SES to send emails.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">SMTP</span></code></td>
    <td>&nbsp;</td>
    <td>Sets the SMTP email settings.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">host</span></code></td>
    <td>&nbsp;</td>
    <td>A SMTP subkey&#8212;the SMTP mail server hostname.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">user</span></code></td>
    <td>&nbsp;</td>
    <td>SMTP subkey&#8212;the username for SMTP server authentication.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">password</span></code></td>
    <td>&nbsp;</td>
    <td>SMTP subkey&#8212;the password for SMTP server authentication.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">from_addr</span></code></td>
    <td>&nbsp;</td>
    <td>SMTP subkey&#8212;the From address for emails sent through SMTP.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">verify_gateway</span></code> <code class="docutils literal"><span class="pre">_certificate</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean setting that indicates whether your AEN server should verify the gateway SSL certificate.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">accounts</span></code></td>
    <td><code class="docutils literal"><span class="pre">wk_server.plugins</span></code> <code class="docutils literal"><span class="pre">.accounts.cloud</span></code></td>
    <td>The account provider class. For LDAP, this should be set to <code class="docutils literal"><span class="pre">wk_server.plugins.accounts.ldap_accounts</span></code>.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">uniqueEmail</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean setting that indicate whether unique user email addresses are required.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">has_internet</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>Boolean for retrieving the avatar from the gravatar URL. If false a local default is used instead.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">LDAP</span></code></td>
    <td><code class="docutils literal"><span class="pre">389</span></code></td>
    <td>LDAP configurations.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">SERVER</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;A list of LDAP servers. At least one server name must be listed. The primary server should be listed first. All secondary or fail-over servers should be listed after the primary.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">PORT</span></code></td>
    <td><code class="docutils literal"><span class="pre">389</span></code></td>
    <td>LDAP subkey&#8212;The LDAP port on the LDAP server.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">AUTH_TYPE</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;LDAP Authentication types. <code class="docutils literal"><span class="pre">simple</span></code>&#8212;no encryption not secure.``TLS``&#8211;encrypted secure requires the <code class="docutils literal"><span class="pre">TLS_CERT</span></code> to be set.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">TLS_CERT</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;the full path to the TLS certificate file. The certificate file must also be provided by the Enterprise.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">BASEDN</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;the LDAP Base DN value.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">OU</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;a list of Organizational Units. Some Enterprises group users by OUs in their LDAP server records. AEN will loop over the list of OUs when authenticating a user. The OU value is a list of lists to support multiple OUs where each OU is a single name or a hierarchy of names.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">ANON_USER</span></code></td>
    <td>&nbsp;</td>
    <td>LDAP subkey&#8212;the username&#8212;such as <code class="docutils literal"><span class="pre">public</span></code> or <code class="docutils literal"><span class="pre">anonymous</span></code>&#8211; assigned users who are not logged in to access projects. For more information, see <a class="reference internal" href="config-sudo-customizations.html"><span class="doc">Configuring sudo customizations</span></a>. Also used for <a class="reference internal" href="config-remote-mongodb.html"><span class="doc">MongoDB configuration</span></a>.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">SEARCH_ENABLED</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>Boolean indicating whether ElasticSearch is enabled</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">SEARCH_SERVER</span></code></td>
    <td><code class="docutils literal"><span class="pre">'localhost:9200'</span></code></td>
    <td>IP address or domain name and port of ElasticSearch server</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">LOG_LEVEL</span></code></td>
    <td><code class="docutils literal"><span class="pre">'DEBUG'</span></code></td>
    <td>Log verbosity. One of: &#8216;ERROR&#8217; &#8216;WARN&#8217; &#8216;INFO&#8217; &#8216;DEBUG&#8217;</td>
    </tr>
    </tbody>
    </table>
    <table border="1" class="docutils" id="id2">
    <caption><span class="caption-text">Gateway Configuration Keys</span><a class="headerlink" href="#id2" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">WAKARI_SERVER</span></code></td>
    <td>&nbsp;</td>
    <td>The URL of the AEN <code class="docutils literal"><span class="pre">WAKARI_SERVER</span></code>.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">port</span></code></td>
    <td>8089</td>
    <td>The Port number used by the gateway application. Must be a non-privileged port (&gt;= 1024).</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">client_id</span></code></td>
    <td>&nbsp;</td>
    <td>The client ID assigned to this gateway by the server during <code class="docutils literal"><span class="pre">wk-gateway-configure</span></code>.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">client_secret</span></code></td>
    <td>&nbsp;</td>
    <td>The Client secret assigned to this gateway by the server during <code class="docutils literal"><span class="pre">wk-gateway-configure</span></code>.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">httpTimeout</span></code></td>
    <td>600</td>
    <td>Timeout in seconds. The default is 10 minutes to allow project creation.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">logLevel</span></code></td>
    <td><code class="docutils literal"><span class="pre">info</span></code></td>
    <td>Log verbosity. One of: &#8216;error&#8217; &#8216;warn&#8217; &#8216;info&#8217; &#8216;debug&#8217;</td>
    </tr>
    </tbody>
    </table>
    <table border="1" class="docutils" id="id3">
    <caption><span class="caption-text">Compute Node Configuration Keys</span><a class="headerlink" href="#id3" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">WAKARI_SERVER</span></code></td>
    <td>&nbsp;</td>
    <td>The URL of the AEN <code class="docutils literal"><span class="pre">WAKARI_SERVER</span></code>.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">MANAGE_ACCOUNTS</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean setting that indicates whether AEN should manage system user accounts. Set to false for LDAP installations.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">port</span></code></td>
    <td>2227</td>
    <td>The port number used by the compute-launcher application. Note that individual applications use dynamic ports.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">projectRoot</span></code></td>
    <td><code class="docutils literal"><span class="pre">/projects</span></code></td>
    <td>The location of project file storage.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">logLevel</span></code></td>
    <td><code class="docutils literal"><span class="pre">info</span></code></td>
    <td>Log verbosity. One of: &#8216;error&#8217; &#8216;warn&#8217; &#8216;info&#8217; &#8216;debug&#8217;</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">logMaxSize</span></code></td>
    <td>10000000</td>
    <td>Max size in bytes of the logfile. Default is 10 MB. If the size is exceeded then a new file is created and a counter will become a suffix of the log file.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">logMaxFiles</span></code></td>
    <td>30</td>
    <td>Limit the number of files created when the size of the logfile is exceeded</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">appIdleTime</span></code></td>
    <td>172800000 (48 hours)</td>
    <td>The amount of idle time before applications will be auto-terminated (in msec).</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">idleCheckInterval</span></code></td>
    <td>3600000 (1 hour)</td>
    <td>The frequency of idle checks.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">numericUsernames</span></code></td>
    <td><code class="docutils literal"><span class="pre">false</span></code></td>
    <td>A boolean setting that indicates whether numeric usernames are permitted.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">httpTimeout</span></code></td>
    <td>600</td>
    <td>The time before a timeout&#8212;in seconds. The default is 10 minutes&#8212;600 seconds&#8212;to allow time for project creation.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">-</span> <span class="pre">ANON_USER</span></code></td>
    <td>&nbsp;</td>
    <td>Username such as <code class="docutils literal"><span class="pre">public</span></code> or <code class="docutils literal"><span class="pre">anonymous</span></code> for users who are not logged in to access projects. For more information, see, <a class="reference internal" href="config-sudo-customizations.html"><span class="doc">Configuring sudo customizations</span></a>. Also used for <a class="reference internal" href="config-remote-mongodb.html"><span class="doc">MongoDB configuration</span></a>.</td>
    </tr>
    </tbody>
    </table>
    <table border="1" class="docutils" id="id4">
    <caption><span class="caption-text">Server Internal Configuration Keys - Do not change</span><a class="headerlink" href="#id4" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">PROVIDERS</span></code></td>
    <td><code class="docutils literal"><span class="pre">[&quot;wk_server.plugins</span></code> <code class="docutils literal"><span class="pre">.providers.enterprise&quot;]</span></code></td>
    <td>A list of compute provider classes.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">MONGO_ACTION</span></code> <code class="docutils literal"><span class="pre">_LOG_SIZE</span></code></td>
    <td>262144000</td>
    <td>The size of the Mongo action log in bytes.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">SITE_ADMINS</span></code></td>
    <td>&nbsp;</td>
    <td>A list of site administrator email addresses&#8212;used for crash notifications and LDAP password reset requests.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">FROM</span></code> <code class="docutils literal"><span class="pre">_EMAIL_ADDR</span></code></td>
    <td>&nbsp;</td>
    <td><blockquote class="first last">
    <div>The From address for notification emails sent by AEN.</div></blockquote>
    </td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">uniqueUserName</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean setting that indicates whether unique usernames are required.</td>
    </tr>
    </tbody>
    </table>
    <table border="1" class="docutils" id="id5">
    <caption><span class="caption-text">Gateway Internal Configuration Keys - Do not change</span><a class="headerlink" href="#id5" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">CDN</span></code></td>
    <td><code class="docutils literal"><span class="pre">$WAKARI_SERVER/static/</span></code></td>
    <td>The location of static assets.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">SUBDOMAIN_ROUTING</span></code></td>
    <td><code class="docutils literal"><span class="pre">false</span></code></td>
    <td>A boolean that indicates whether subdomains are being used.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">refreshTokenExpiration</span></code></td>
    <td><code class="docutils literal"><span class="pre">600000</span></code></td>
    <td>Idle time in milliseconds before the Gateway session expires.</td>
    </tr>
    </tbody>
    </table>
    <table border="1" class="docutils" id="id6">
    <caption><span class="caption-text">Compute Node Internal Configuration Keys - Do not change</span><a class="headerlink" href="#id6" title="Permalink to this table">¶</a></caption>
    <colgroup>
    <col width="21%" />
    <col width="21%" />
    <col width="57%" />
    </colgroup>
    <thead valign="bottom">
    <tr class="row-odd"><th class="head">Key</th>
    <th class="head">Default</th>
    <th class="head">Description</th>
    </tr>
    </thead>
    <tbody valign="top">
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">CDN</span></code></td>
    <td><code class="docutils literal"><span class="pre">$WAKARI_SERVER/static/</span></code></td>
    <td>The location of static assets.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">USE_SES</span></code></td>
    <td><code class="docutils literal"><span class="pre">false</span></code></td>
    <td>Sets whether AEN will use Amazon SES to send emails.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">multiUser</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean that indicates whether multi-user support is enabled.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">multiProject</span></code></td>
    <td><code class="docutils literal"><span class="pre">true</span></code></td>
    <td>A boolean that indicates whether multi-project support is enabled.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">ANACONDA_ROOT</span></code></td>
    <td><code class="docutils literal"><span class="pre">/opt/wakari/anaconda</span></code></td>
    <td>The location of your Anaconda installation.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">appLogs</span></code></td>
    <td><code class="docutils literal"><span class="pre">/opt/wakari/wakari-</span></code> <code class="docutils literal"><span class="pre">compute/var/log/wakari/</span></code> <code class="docutils literal"><span class="pre">compute-launcher-apps</span></code></td>
    <td>The directory where application logs are stored.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">appPIDs</span></code></td>
    <td><code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/</span></code> <code class="docutils literal"><span class="pre">var/run/compute-launcher-apps</span></code></td>
    <td>The directory where application PID files are stored.</td>
    </tr>
    <tr class="row-odd"><td><code class="docutils literal"><span class="pre">applicationLog</span></code></td>
    <td><code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/</span></code> <code class="docutils literal"><span class="pre">var/log/wakari/</span></code> <code class="docutils literal"><span class="pre">compute-launcher.application.log</span></code></td>
    <td>The path to the compute launcher log.</td>
    </tr>
    <tr class="row-even"><td><code class="docutils literal"><span class="pre">accessLog</span></code></td>
    <td><code class="docutils literal"><span class="pre">opt/wakari/wakari-compute/</span></code> <code class="docutils literal"><span class="pre">var/log/wakari/</span></code> <code class="docutils literal"><span class="pre">compute-launcher.access.log</span></code></td>
    <td>Path to compute launcher access log</td>
    </tr>
    </tbody>
    </table>
    </div>
    <div class="section" id="checking-configuration-file-syntax">
    <span id="check-config-syntax"></span><h2><a class="toc-backref" href="#id8">Checking configuration file syntax</a><a class="headerlink" href="#checking-configuration-file-syntax" title="Permalink to this headline">¶</a></h2>
    <p>To verify that the configuration file contains valid JSON, run:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>root@server  <span class="c1"># python -m json.tool /opt/wakari/wakari-server/etc/wakari/*.json</span>
    root@gateway <span class="c1"># python -m json.tool /opt/wakari/wakari-gateway/etc/wakari/*.json</span>
    root@compute <span class="c1"># python -m json.tool /opt/wakari/wakari-compute/etc/wakari/*.json</span>
    </pre></div>
    </div>
    <p>If the file is correct, the contents are displayed.</p>
    <p>If there is a syntax error in the file, a &#8220;No JSON object could be decoded&#8221;
    message is displayed instead.</p>
    <p>To fix any errors, edit the configuration file and verify that it contains the
    correct JSON syntax.</p>
    </div>
