contents.gifindex.gifprev1.gifnext1.gif

5.1 Installing the Server

To install AcuServer on a Windows NT (Intel) server:

1. Install and configure TCP/IP before installing AcuServer.

2. Log in using the Administrator account or an account that belongs to the Administrators group.

NOTE: If you are using an earlier release of AcuServer and the acuserve daemon and Portmap services are running, you have the choice of installing the new release while AcuServer is running, or you can stop AcuServer and then install the new software. If you install the new release while AcuServer is running, you must reboot the machine before the new software will take effect.

3. Insert the ACUCOBOL-GT Development Suite CD-ROM into your disk drive. If the installation program does not start automatically, click the Start button, select Run, and enter:

D:\setup.exe

replacing "D" with the device designation of your CD-ROM drive.

Follow the instructions on the screen. During the installation procedure you will be prompted to specify an installation directory, or to accept the default location. Do not specify a directory name that has embedded spaces. Embedded spaces prevent the PATH variable from being set properly and can cause other problems under Windows.

You will also be prompted to select a component to install. Select Custom and then select AcuServer.

4. If you already have the files "\etc\AcuAccess" and "\etc\a_srvcfg", the setup utility will detect them and will ask you if you want to overwrite them. Do not overwrite them unless you have a backup copy. The "AcuAccess" file (as delivered from Acucorp) contains one access record that gives all users access to AcuServer. You can modify this file later, if desired. The file "a_srvcfg" contains the server configuration variables; when the file is first installed, these are all commented out. You can modify this file later if desired.

If you have the Acuserve and Portmap services running from a previous installation of the product, you will see a message that says "Read Only File Detected". This should not be cause for alarm. All such files are marked by the installation procedure and updated automatically the next time the the system is rebooted (see the NOTE under installation step 2, above).

5. Both acuserve and the portmap or rpcbind programs must be installed and started as Windows NT services. The setup program will create a sample Start Menu folder, if desired, and will ask if you want to install and start these services.

The Start Menu folder contains icons that can run the various programs needed for AcuServer, along with icons to display the release notes and the AcuServer configuration file.

The Start Menu folder is not required to run AcuServer. You can safely remove it. All of the AcuServer commands may be run in a DOS window from the command line as described in Chapter 7.

6. If you choose to start AcuServer during the installation process, a DOS window is displayed showing the status of the Windows NT services being started or restarted automatically. You may see some error messages that can be ignored if the Windows NT services are not already installed and running. For example, you might see:

   sc.exe stop Acuserve
    [SC] Open/Control Service failed

  sc.exe delete Acuserve
    [SC] Open/Control Service failed

  sc.exe stop Portmap
    [SC] Open/Control Service failed

  sc.exe delete Portmap
    [SC] Open/Control Service failed

  inst_pm.exe portmap.exe
    Create Service SUCCESS

  sc.exe start Portmap
    STATE: START PENDING

  acuserve.exe -install
    AcuServer service installed.

  sc.exe start Acuserve
    STATE: START PENDING

7. The Windows NT services (Acuserve and Portmap) that are needed for AcuServer can also be started manually. Be sure to start the Portmap service before the Acuserve service, because AcuServe depends on the Portmap service. Here are two methods for starting the required Windows NT services:

From the icons:

   Install Portmap Service

   Start Portmap Service

   Install Acuserve Service

   Start Acuserve Service

From the command line:

   inst_pm <full pathname>\portmap.exe

   sc start Portmap

   acuserve -install

   sc start Acuserve 

8. After the services are installed and running, there should be no reason to stop them. However, if you decide to stop the services, be sure to stop the Acuserve service first:

From the icons:

   Stop Acuserve Service

   Stop Portmap Service 

From the command line:

   sc stop Acuserve 

sc stop Portmap

The start and stop operations may also be done from the Start/Settings/Control Panel/Services menu.

After the services are installed, there should be no reason to delete them. However, if you decide to delete them, use the following commands from the command line:

   sc delete Acuserve 
   sc delete Portmap 

This deletes only the services and does not delete the executables.

To help in resolving service problems, we display some messages from these services in the Microsoft Event Viewer:

   Start/Programs/Administrative Tools/Event Viewer/Log/Application