The full set of command line options for starting the AllegroGraph server are described here.
Some of the Learning Center examples require a server running with non-default options. The following examples start the AllegroGraph server listening on (a non-default) port 4126 and using the specified file for eval-in-server permissions.
To start AllegroGraphServer running as a service:
% cd [AllegroGraphInstallation] % .\AllegroGraphServer.exe --port 4126 --eval-in-server-file evalinserver.cfg
The file agraph.cfg in this directory specifies the startup options for the service. Edit the configuration in this file to specify non-default port, eval-in-server-file, or other options.
% cd [AllegroGraphInstallation] % .\AllegroGraphServer.exe --service-start
On Windows, the AllegroGraph Server is installed as a service during installation and is started by default. The Services control panel applet can also be used to start/stop/restart the service.
$ cd [AllegroGraphInstallation] $ ./AllegroGraphServer --port 4126 --eval-in-server-file evalinserver.cfg
The default behavior (without the
command line argument) is to run in the background, as a daemon.
In this case, it is recommended that you use the
line argument to specify a log file for the various messages printed by the server.
$ /etc/rc.d/init.d/agraph start
|Copyright © 2013 Franz Inc., All Rights Reserved | Privacy Statement||