Navigation:  The Server in depth > Additional Server Information >

Service Settings

Previous pageReturn to chapter overviewNext page

As part of the install the Navigator_nxServer will be installed as a Windows service.

The server can be installed manually if required at a later date. For this you need to be logged in as administrator and type

 

Install service

 

Navigator_nxServer /install

 

Uninstall service

 

Navigator_nxServer /uninstall

 

When installing the server it will prompt you for a user account and password the server should run as. This is expected in the format DomainName\AccountName. Domain Name can be "." for the local domain. Please note the selected account must have the "logon as service" rights. You can assign these to a user account with the Microsoft® policy editor.  To do this in Win XP, go to the Start menu then select Control Panel/Administrative Tools/Local Security Policy. The policy editor will start. In the tree view select Local Policies/User Rights Assignment. On the right hand panel look for "Logon As Service" and double click it. Press "Add User or Group" and add the wanted Account Name to the list of allowed accounts.

The service will be installed as Automatic; this means it will be started on any subsequent machine boot. Once the service is installed the application prompts if the service should be started immediately.

 

Command line parameters

 

We've also added some optional parameters for your convenience. The complete set is:

 

Help, ?                      Shows Help

Install                      Installs the service

Uninstall              Uninstalls the service

Start                      Start Service after installation

Stop                      Stops the Service

Nostart                      Do not ask for starting service

Silent                      No Dialogs at all

Servicename:name        name of the service

Displayname:name        display name of the service

Username:name                User account in "domain\username" form for the service

Password:pw                  password of the service account

Logfile:file                name of an optional logfile

Debug                        enters a 15 second waiting loop for a debugger to attach

Config:configdir        The configuration directory and system database location for the server

NoTriggers                Starts the server with Triggers disabled - for support use ONLY

 

If neither nostart nor start and silent are specified, the installation asks if the service should be started.

 

Examples

 

Navigator_nxServer.exe /config "c:\NexusDB Instances\Instance1\"

 

Will run the server with the settings and system database stored in Instance1. The path is forcefull created if it doesn't exist and a default settings file and system database created.

 

Navigator_nxServer.exe /install

 

Will prompt for account, then install the service and ask if it should be started

 

Navigator_nxServer.exe /install /username:.\test /password:test /silent

 

Will (try to) install the service with the given account. If successful it will not start the service or prompt for it.

 

Navigator_nxServer.exe /install /username:.\test /password:test /start

 

Will (try to) install the service with the given account. If successful it will start the service and tell you that it was installed and started.

 

Navigator_nxServer.exe /install /username:.\test /password:test /nostart

 

Will (try to) install the service with the given account. Will not start or prompt for starting the service and tell you that it was installed.

 

Navigator_nxServer.exe /install /username:.\test /password:test /start /silent

 

Will (try to) install the service with the given account. If successful it will start the service. No messages will appear.

 

Navigator_nxServer.exe /install /username:.\test /password:test /start /silent

 

Will (try to) install the service with the given account. If successful it will start the service. No messages will appear.