+1 голос
от (35.1 тыс. баллов) в категории Linux
редактировать от

Не запускается агент на Linux, выдает ошибку

root@demo1:/opt/Primo/Agent# systemctl start Primo.Orchestrator.Agent
root@demo1:/opt/Primo/Agent# systemctl status Primo.Orchestrator.Agent
× Primo.Orchestrator.Agent.service - Primo.Orchestrator.Agent service
     Loaded: loaded (/etc/systemd/system/Primo.Orchestrator.Agent.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-10-06 06:27:16 UTC; 2s ago
    Process: 303830 ExecStart=/opt/Primo/Agent/Primo.Orchestrator.Agent --console (code=exited, status=1/FAILURE)
   Main PID: 303830 (code=exited, status=1/FAILURE)
        CPU: 499ms

Oct 06 06:27:16 localhost systemd[1]: Started Primo.Orchestrator.Agent service.
Oct 06 06:27:16 localhost Primo.Orchestrator.Agent[303830]: EnvironmentName=WorkerLinux
Oct 06 06:27:16 localhost systemd[1]: Primo.Orchestrator.Agent.service: Main process exited, code=exited, status=1/FAILURE
Oct 06 06:27:16 localhost systemd[1]: Primo.Orchestrator.Agent.service: Failed with result 'exit-code'.

1 Ответ

+1 голос
от (35.1 тыс. баллов)
выбран от
 
Лучший ответ

Необходимо изменить c true на false в секции Performance  в конфигурационном файле, расположенном:  /opt/Primo/Agent/appsettings.WorkerLinux.json

"Performance": {
    "ThreadSleep": 1500,
    "QueueLength": 50,
    "MaxReturnLength": 50,
    "ScriptExecutionTimeoutSec": 10,
    "PowerShellCommandLocaleRU": false,
    "Enabled": false
  },