Admin Scripts

Some CORE Server administration actions are done by the dedicated programs that are wrapped by OS-dependent scripts. The scripts are ln the following folders:

  • Linux: /opt/ekm/bin
  • Windows: C:\Program Files\Dyadic\ekm\tomcat\bin

These scripts and the related programs are installed during the CORE server software installation.


Running CORE Admin Scripts on Linux

Running CORE Admin Scripts on Windows

The CORE admin scripts (.bat files) are executed by the Windows service user UnboundTech.

The files and folders referred to by these scripts must be accessible by this user. For example, a database backup folder specified to the ekm_backup tool must be writable by user UnboundTech.

Default Parameters

By default, all scripts except the Bootstrapping Scripts assume the following:

  • The target IP: localhost. To customize it, use the -s <IP> option.
  • The target TCP/IP port: 443. If your server has been bootstrapped with a different port (for example, port 8443), use the -o <Bootstrap-PortClosedTCP/IP port specified in the UKC server's bootstrap procedure. Default: 443.> option.
  • Note
    Before the 1806 release, servers were bootstrapped using port 8443. This port (8443) remains the main server port even on upgraded servers. (Software upgrade does not modify the server's port). Use this port in scripts that address such a server and require its bootstrap port among the parameters.

Inline Password Options

Admin scripts that require --password(-w) parameter allow providing the password interactively or inline using the following options:

  • -w <Password>
  • -w pass:<Password>
  • -w env:<environmental variable that contains the password>

    If a script is executed using sudo, the variable must be defined among its environmental variables.

  • -w file:<absolute path to the file that contains the password>

    The file must not contain LineFeed (LF) or CarriageReturn (CR) characters unless they indeed belong to the password.


This a quick reference to CORE scripts: