Previous Topic

Next Topic

Book Contents

Book Index

Configuring NexusDB Server as a Windows Service

Only a user with full administrator rights to the server can perform these steps to completion. He should have familiarity with System Administration on the network. If not then he should contact his IT representative to run this setup.

Why run NexusDB Server as a service? When NexusDB Server is run as a regular application in Windows' startup folder, it does not start until someone has logged into the machine, and stops when that user logs out. Running it as a service allows it to run as soon as Windows starts up, and it can remain running until the machine is turned off.

NexusDB cannot refer to data on mapped network drives when running as a service. It must either be on a local drive or referenced via a UNC path, e.g. \\YOURSERVER\NexusDBData, not b:\NexusDB.

Getting Started

Before you can set the NexusDB server as a service, you must have it configured correctly to connect to the data in your office. Once the service is running, you cannot reconfigure it to change network settings, database aliases or other values without stopping the service.

Installing the service

First, add a new user on the server, setting the password so that it never expires (NexusDB Server will log in with the rights of this user). Once that user is created, you need to enable that account to run services. Open the Local Security Policy, then go under Local Policies, User Rights Assignment and open Log on as a service from the list. Add the new user to this list and save.

Install the service itself by opening a command prompt in the directory of where nxServer.exe is located. You can do this by clicking on Start, then Run and entering cmd then pressing Enter. Change to where nxserver.exe is located. Type the following then hit Enter:

nxServer.exe /install /username:.\account /password:password

An information window should appear "Service installed successfully", click OK. Then a confirm window will appear asking if you want to start the service, click No. From the next reboot of the Windows server forward, NexusDB should load as a service. Verify this in the next section of the documentation, or if the users rights were not configured properly.

Configure the Windows service

This section is not necessary if the user has the proper rights assigned.

  1. Open the Control Panel's Administrative Tools and click Services, then double click NexusDB Server. Go to the Log On tab and select the user created earlier and enter their password. This information might already be listed, but enter it again anyway. Click OK when finished.
  2. Right-click on NexusDB Server and start the service.
  3. Go and start VSys, it should open to the NexusDB server copy of data. Restart the server and start VSys to verify it opens as expected.

See Also

Database-Specific Notes

SQL Server

Oracle

NexusDB

Installing NexusDB Server

Table rebuild tool