contents.gifindex.gifprev1.gif

acuconnect Command Formats

When entered with no options, acuconnect displays a list of options.

Usage:
acuconnect
acuconnect
-access
acuconnect -info [-p portnum]
acuconnect -install [-p portnum] *
acuconnect -kill [-p portnum] [-f]
acuconnect -remove [-p portnum] *
acuconnect -start [-p portnum] [-c config_file] [-d] [-l] [-e error_file] [-f] [-t#]
acuconnect -version
(run-time option)

* indicates an option that is available only on Windows NT (Intel) servers.

-accessStarts the server access file manager utility. The access file manager is used to create and maintain the database of authorized AcuConnect clients and users. To use "-access" you must be logged onto a UNIX server as root or superuser or onto a Windows NT (Intel) server from the Administrator account or from an account that belongs to the Administrators group. For a description of this tool, see "Using the Access File Manager ".
-infoThis option tells you whether or not acuconnect is running on the specified port.

Optional arguments to "-info" include:

-p portnumIf you want to know if acuconnect is running on a port other than the default (6996), be sure to include "-p" followed by a space, and then the exact port number.

-installThis option is for Windows NT (Intel) servers only. It installs AcuConnect as a Windows NT service.

Optional arguments to "-install" include:
-p portnumIf you want to install acuconnect on a port other than the default (6996), be sure to include "-p" followed by a space, and then the exact port number.

-killCauses the acuconnect process to be halted (killed). If no portnum is specified, the acuconnect process is halted on the default port (6996); otherwise the process is halted on the named port.

To use "-kill" you must be logged onto a UNIX server as root or superuser or onto a Windows NT (Intel) server from the Administrator account or from an account that belongs to the Administrators group.

acuconnect attempts to close all open files before shutting down.

Unless the "-f" option is specified, acuconnect prompts for confirmation before the halt action is executed.

Shutting down acuconnect on: condor
There are 0 files in use by acuconnect on: condor
Do you really want to shut down acuconnect [N]?

Optional arguments to "-kill" include:

-fCauses the acuconnect process to terminate immediately, without prompting for confirmation. "-f" should be used when "acuconnect -kill" is included in a program or script.
-p portnumIf you want to terminate acuconnect on a port other than the default (6996), be sure to include "-p" followed by a space, and then the exact port number.

The acuconnect process can also be terminated from the command line. For example, on UNIX you could use the command "kill -9" (signal #9). However, a signal #9 prevents acuconnect from performing an orderly shutdown and should never be used when clients are actively using AcuConnect.

Under Windows NT (Intel), you can use the command "sc stop AcuConnect", or you can use the AcuConnect icon titled "Stop AcuConnect Service".

-removeThis option is for Windows NT (Intel) servers only. It shuts down AcuConnect (if it is not already shut down) and removes the Windows NT service for AcuConnect.

Optional arguments to "-remove" include:

-p portnumIf you want to remove acuconnect running on a port other than the default (6996), be sure to include "-p" followed by a space, and then the exact port number.

-startCauses acuconnect to be started. On Windows NT (Intel) servers, this option also installs AcuConnect as a Windows NT service, if it is not already installed.

To use "-start" on a UNIX server, you must be logged in as root or superuser. On a Windows NT (Intel) server, you must use "-start" from the Administrator account or from an account that belongs to the Administrators group.

acuconnect is started in the background unless the "-f" option is specified. If acuconnect is already running, AcuConnect will output the message:

acuconnect is already running on hostname

A new acuconnect process will not be started. If you want to start AcuConnect with new options, you must stop and restart acuconnect.

Optional arguments to "-start" include:

-cSpecifies the name and path of the server configuration file. The "-c" must be followed by a space, and then the path and name of the server configuration file. When "-c" is not used, acuconnect looks for the configuration file in its default location: "/etc/server.cfg" for UNIX or "\etc\server.cfg" for Windows NT (Intel).
-dEnables the remote application to be run in debug mode. When started in debug mode, the AcuConnect server runs in the foreground, and any or all remote programs are displayed in the debugger. This behavior is independent of any settings on the client.
-eCauses error output from acuconnect to be appended to the named file. The "-e" must be followed by a space and the path and name of the error output file.

If "-e" is not specified, acuconnect will attempt to direct error output to /dev/console. If /dev/console cannot be opened, acuconnect will attempt to append to a file named acuconnect.err in the current directory. If that file doesn't exist, or the file append fails, acuconnect will print the message "acuconnect: can't open error output file" to standard output, and acuconnect will terminate.

-fBy default, acuconnect runs in background. Use the "-f" option to run acuconnect in foreground. When run in foreground, the acuconnect process traps normal keyboard signals, such as Control-C.

If combined with the "-t" option, the "-f" option causes acuconnect to display tracing and transaction messages directly to the screen. However, if the "-e" switch is used, all messages are placed in the named log file.

-lCauses a listing of the server configuration file to be printed to standard error output. This can be helpful when you are debugging problems that may be related to configuration variables. When "-l" is combined with the "-e" option, the listing is captured in the error output file.
-p portnumIf you want to start acuconnect on a port other than the default (6996), be sure to include "-p" followed by a space, and then the exact port number.
-t#Turns on file tracing and transaction logging and sets the trace level. When combined with the "-e" option, file trace and transaction messages are placed in the named error file. Valid options are "1", "2", and "3". The default is "1".

"t1" Causes a message to be printed to standard output every time a file operation is performed. The message includes: the type of operation performed, the name of the target file or file ID, and the values of any applicable keys.
"t2"Causes acuconnect to produce a message whenever a connection request is made or a disconnect is performed. It also outputs a message whenever an "acuconnect -kill" command is processed.
"t3"Causes both level 1 and level 2 messages to be output. Values other than 1, 2, or 3, including null, are treated as 1.

-versionCauses the version number of acuconnect to be output. "-version" must be the only argument on the command line.