Server Configuration Variables

The server configuration file is named a_srvcfg. On UNIX servers, it is located in /etc by default. On Windows NT, Windows 2000 to 2008 servers, it is located in the directory c:\etc (where c: is the letter of the drive on which the operating system is installed). If the file is given another name, or located in another directory, you must provide the full location and name of the file.

To specify the name and location of a server configuration file at the command line, use the -c option when you start AcuServer. On a Windows server, you can perform the same function from the Services tab of the AcuServer Control Panel. See the Starting and Stopping acuserve for more information about specifying acuserve startup options.

To change configuration values on the server or local machine without changing the configuration file on disk, use the Config tab. Using the Config tab is equivalent to issuing a SET ENVIRONMENT command from the runtime to modify a runtime configuration value.

ACUSERVUSGU06-low.jpg

Click Query to select the acuserve service whose configuration you want to view or modify, then use the New and Modify buttons to add or change configuration variables in the server's configuration file.

There are several server configuration variables. They are:

Name Default Value
ACCESS_FILE /etc/AcuAccess
ACUSERVER_MASTER_SERVER undefined
AGS_SERVER_SOCKET_RESERVE    0
COUNT_STATISTICS 0 (off, false, no)
DEAD_CLIENT_TIMEOUT -1 (off)
DEFAULT_TIMEOUT* 25
DEFAULT_UMASK 0
DEFAULT_USER undefined
ENCRYPTION_SEED undocumented for increased security
FILE_TRACE * 0
FILE_TRACE_FLUSH 0
FILE_TRACE_TIMESTAMP 0 (off, false, no)
filename_DATA_FMT * decimal extensions
filename_INDEX_FMT * decimal extensions
filename_VERSION * 0
LOCK_ALL_FILES 0
LOCKS_PER_FILE* 10
MAX_ERROR_LINES* 0
MAX_FILES* 32
MAX_LOCKS* 32
MULTIPLE_RECORD_COUNT 10
NO_LOCAL_CACHE 0 (off, false, no)
PASSWORD_ATTEMPTS 3
PROVIDE_PASSWORD_MESSAGES 0 (off, false, no)
SECURITY_METHOD* none
SERVER_IP undefined
SERVER_NAME undefined
SERVER_PORT* 6523
TEXT see entry for TEXT, below
USE_SYSTEM_RESTRICTIONS 0 (off, false, no)
V_BASENAME_TRANSLATION* 1 (on, true, yes)
V_BUFFERS* 64
V_BUFFER_DATA* 1 (on, true, yes)
V_INDEX_BLOCK_PERCENT* 100
V_READ_AHEAD* 1 (on, true, yes)
V_SEG_SIZE* 2147482623
V_STRIP_DOT_EXTENSION* 1 (on, true, yes)
V_VERSION* 0
WINNT-EVENTLOG-DOMAIN undefined
WINNT-LOGON-DOMAIN undefined

Variables marked with an asterisk ("*") can appear in both the runtime (cblconfig) and server (a_srvcfg) configuration files. Those that must appear in both locations are indicated in the descriptions that follow. Note that values assigned to variables contained in the server configuration file are applied solely to operations performed by AcuServer.

Note that when file access is made through AcuServer, the values assigned to the following in the runtime configuration file are ignored: