Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

📚 GuideСервер 1С на Windows и LinuxПосле установки · часть 14 из 14
Guide contents
После установки
  1. Сервер 1С, часть 3: резервное копирование, обслуживание и технологический журнал
  2. Сервер 1С, часть 4: безопасность и типовые ошибки — что делать, если не подключается
Редакция КоммитРедакция портала
commit 91fcda4 · 19 days ago

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:

  1. Is the service running? Windows: "Services" → the 1C server agent. Linux: systemctl status srv1cv8-*.
  2. Is the server name resolved for the client? ping srv1c from the client computer. If not — DNS or the hosts file.
  3. Are ports open? From client: Windows — Test-NetConnection srv1c -Port 1541, Linux — nc -zv srv1c 1541. Check the workflow range (1560–1591).
  4. 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 100 will 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) or sudo ss -tlnp | grep 1540 (Linux).

Where to look next#

Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.