34.4.5. Start the repository server


<< Prev   Next >>

With Windows operating system, the configuration repository server can be started as an application or installed as a service.

With Linux operating system, the configuration repository server can be started as a process or as a daemon.

34.4.5.1. On Windows

The repository server is started from the command line:

crserver.exe instsrvc | rmsrvc usr <user> pwd <password>
 start | stop
 port <port> d <directory>

If you install the repository server as a service, it is named 1C:Enterprise 8 Configuration Repository Server.

-start

Start the repository server service.

-stop

Stop the repository server service.

-instsrvc

Register the repository server as a service.

-rmsrvc

Unregistering the repository server as a service.

-usr

Name of the user on whose behalf the service is registered. This user must have the Log on as a service right. In addition, they must have permissions to read the directory of executable files of the corresponding version of 1C: Enterprise system and full rights to the root directory of the configuration repository (directory %APPDATA%\1C\1Cv8\ or the directory specified in -d parameter).

-pwd

Password of the user on whose behalf the service is registered.

-port

The working port of the repository server. The default port is 1542.

-d

The root directory for configuration repositories. The default directory is %APPDATA%\1C\1Cv8\.

34.4.5.2. On Linux

The repository server is started from the command line:

./crserver daemon port <port> d <directory>
-daemon

Start the server as a daemon.

-port

The working port of the repository server. The default port is 1542.

-d

The root directory for configuration repositories. The default directory is /home/usr1cv8/.1cv8 или ~/.1cv8.

When working with the repository server, an error <FullFileName> too many open files may occur. In this case, you need to increase the maximum number of opened files for the process using the /etc/security/limits.conf file (you need root privileges (root)). For the user, on behalf of which the repository server is started, change the value of the nofile parameter. The value is chosen empirically and depends on the size of the configuration and the number of users working with the repository. It is recommended to use 100,000 as the initial value. If the error persists, then the value of the parameter nofile should be increased.

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002