
1C Server, Part 4: Security and Common Errors — What to Do If It Won't Connect
🌐 Machine-translated from Russian. Show original
In this part:
Minimum security#
- Do not open ports 1540, 1541, 1560–1591, 1545 or the DBMS port to the internet. Remote employees — VPN or web publishing via HTTPS.
- Set the central server and cluster administrators — without them, anyone with a console can manage the cluster.
- All 1C users must have passwords, administrators must have complex ones. Disable users of dismissed employees.
- Keep debugging on the server (
-debug) on the production server turned off. - The DBMS is accessible only from the 1C server; DBMS passwords are not used by people for everyday work.
- Backups — off-server and with restricted access (see the section about backups).
- Update the OS, DBMS, and platform. Before updating the platform — a copy test.
"1C:Enterprise Server Not Found" or unable to connect#
Check in order:
- Is the service running? Windows: "Services" → the 1C server agent. Linux:
systemctl status srv1cv8-*. - Is the server name resolved for the client?
ping srv1cfrom the client computer. If not — DNS or the hosts file. - Are ports open? From client: Windows —
Test-NetConnection srv1c -Port 1541, Linux —nc -zv srv1c 1541. Check the workflow range (1560–1591). - On Linux: in /etc/hosts, the server name should not point to 127.0.1.1 (see Linux preparation).
"Client version does not match the server version"#
The client and server must be the same version up to the last digit. Update the platform on the client or use the "1C:Enterprise Version" parameter in the database list and keep the required version installed.
"No free license found"#
- All licenses are taken: view sessions in the console or
rac session list, close the frozen ones. - Is "Allow server license issuance" enabled in the database properties?
- The software license "crashed" after changing the hardware or server name — reactivation is needed (see the section about licenses).
- USB dongle: check the driver and make sure the dongle is visible to the system.
Errors when creating a database in PostgreSQL#
- Locale or sorting error — the PostgreSQL cluster was not created with ru_RU. UTF-8. Recreate the cluster with the correct locale (see PostgreSQL for 1C).
- No access / authentication error — check pg_hba.conf and user password for 1C.
- No 1C types or functions found — regular PostgreSQL installed instead of the 1C build.
Slow operation#
- Disk first: disk queue and delays (Windows — resource monitor, Linux —
iostat -x 1). - Memory: whether the DBMS is sufficient, whether the server goes into swap.
- Blocks and long requests: tech log with TLOCK, TDEADLOCK, and DBPOSTGRS/DBMSSQL events for the duration of the investigation.
- The antivirus does not check the DBMS and srvinfo directories? (see preparing Windows
- The power scheme on Windows is "High Performance."
The 1C service does not start#
- Windows: does the service account have the right to "Sign in as a service" and access the srvinfo directory? Has its password changed?
- Linux:
journalctl -u srv1cv8-<версия>@default -n 100will show the cause. Common — no usr1cv8 rights to the data directory or the port is occupied by another process. - Port used:
netstat -ano | findstr 1540(Windows) orsudo ss -tlnp | grep 1540(Linux).
Where to look next#
- Database logging log (Configurator or "Administration" in enterprise mode).
- Technological log — setup regarding maintenance.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.