Starting the AccuRev Server
The following sections describe how to start the AccuRev Server, either automatically at operating system bootstrap time, or manually at a command prompt. (You can also perform a "manual" startup with a UNIX/Linux shell script or a Windows batch file.)
Running the Server Automatically at Operating System Startup
Typically, the Server program is started automatically when the operating system boots on the server machine. On UNIX/Linux systems, an "rc" or "init.d" startup script starts the accurev_server program. The AccuRev installation program does not install the startup script automatically. You must customize and install the sample startup script, named accurev, located in the extras/unix subdirectory of the AccuRev installation directory. See the README file in that subdirectory for complete instructions.
Note: Red Hat Linux will not run an rc.d script at shutdown unless it finds a lock file named
/var/lock/subsys/accurev. Without this lock file, the "acserverctl stop" comand will not run, and the log file will not record a clean shutdown.
On Windows systems, the AccuRev installation program automatically configures the accurev_server.exe program as a Windows service. Use the Services control panel to stop, start, and configure the Server program.
Starting the Server Manually
The AccuRev Server may also be started manually:
Windows systems: If you"ve changed the startup type of the AccuRev service to "Manual", you can start the service from the Services control panel. Alternatively, run the server_start.bat script, located in the AccuRev executables (bin) directory.
UNIX/Linux systems: Start the Server with the acserverctl utility:
The Server will run with your operating-system user identity. (Make sure that the server configuration file's USER and GROUP settings are commented out. See Server Configuration File.)