arsystem
The arsystem script starts the and sets the system environment appropriately. The script launches the armonitor process which, in turn, launches the arserverd process. Normally, you do not need to start armonitor or arserverd manually.
Using the arsystem script ensures that the server starts with the correct environment variables, such as those representing library search path and locale.
The script is in the ARSystemServerInstallDir/bin directory.
Synopsis
{start | stop | restart | env [ <ARSystemCommandAndOptions> ] | setenv [ <ARSystemCommandAndOptions> ]}
Options
You can specify one of the following options on the command line:
- start—Starts the and sets the environment accordingly.
- stop—Stops the .
- restart—Stops the , and then starts it and resets the environment.
- env—Calls the UNIX env command, and runs the specified command in a subshell. The env option can be used to invoke
commands, including arserverd, arsignal, and produse, as follows:
To display environment settings that pertain to the , use the following syntax:
setenv
Equivalent to the env option.
Environment
ARCONFIGDIR
Specifies the directory in which the ar.conf file is stored. The arsystem script sets ARCONFIGDIR to ARSystemServerInstallDir/conf, and you should not need to change this value. However, arsystem does not modify ARCONFIGDIR if a preset value is found.
LD_LIBRARY_PATH
(Solaris and Linux only) Specifies the location of one or more shared libraries. API libraries, database client libraries, and other third-party libraries are included. Normally, this variable is managed by the arsystem script.
LIBPATH
(IBM AIX only) Specifies the location of one or more shared libraries. API libraries, database client libraries, and other third-party libraries are included. Normally, this variable is managed by the arsystem script.
SHLIB_PATH
(HP-UX only) Specifies the location of one or more shared libraries. API libraries, database client libraries, and other third-party libraries are included. Normally, this variable is managed by the arsystem script.