none
Не ставится msi на контроллеры домена RRS feed

  • Вопрос

  • Добрый день.

    В сети развернуто 8 серверов под управлением Win2012R2. С помощью GPO растпространяю скрипт установки Zabbix Agent 3.0.5 через автозагрузку.

    Скрипт:

    if (!(Test-Path "$env:ProgramFiles\Zabbix Agent"))
    {
        $systeminfo = Get-WmiObject -Class Win32_ComputerSystem
        $name = "{0}.{1}" -f $systeminfo.DNSHostName, $systeminfo.Domain
    
        msiexec /i \\mydomain.ru\share\Service\Programs\zabbix_agent-3.0.5_x64.msi `
        HOSTNAME=$name `
        SERVER=srv-zab001.mydomain.ru `
        LPORT=10050 `
        SERVERACTIVE=192.168.102.121:10051 `
        RMTCMD=1 `
        /qn
    }

    Проблема в том, что на всех серверах кроме двух контроллеров домена скрипт отрабатывается на ура. А на DC не хочет. В журнале пишет:

    Установщик Windows выполнил установку продукта. Продукт: Zabbix Agent. Версия: 3.0.5.0. Язык: 1033. Изготовитель: Zabbix SIA. Установка завершена с состоянием: 1602.

    В логе установке тоже ошибки:

    === Verbose logging started: 27.12.2016  11:49:04  Build type: SHIP UNICODE 5.00.9600.00  Calling process: C:\Windows\system32\msiexec.exe ===
    MSI (c) (D0:30) [11:49:04:348]: Resetting cached policy values
    MSI (c) (D0:30) [11:49:04:348]: Machine policy value 'Debug' is 0
    MSI (c) (D0:30) [11:49:04:348]: ******* RunEngine:
               ******* Product: \\mydomain.ru\share\Service\Programs\zabbix_agent-3.0.5_x64.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (c) (D0:30) [11:49:04:363]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (D0:30) [11:49:04:363]: Grabbed execution mutex.
    MSI (c) (D0:30) [11:49:04:441]: Cloaking enabled.
    MSI (c) (D0:30) [11:49:04:441]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (D0:30) [11:49:04:441]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (C8:C4) [11:49:04:488]: Running installation inside multi-package transaction \\mydomain.ru\share\Service\Programs\zabbix_agent-3.0.5_x64.msi
    MSI (s) (C8:C4) [11:49:04:488]: Grabbed execution mutex.
    MSI (s) (C8:9C) [11:49:04:488]: Resetting cached policy values
    MSI (s) (C8:9C) [11:49:04:488]: Machine policy value 'Debug' is 0
    MSI (s) (C8:9C) [11:49:04:488]: ******* RunEngine:
               ******* Product: \\mydomain.ru\share\Service\Programs\zabbix_agent-3.0.5_x64.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (s) (C8:9C) [11:49:05:176]: Note: 1: 2203 2: \\mydomain.ru\share\Service\Programs\zabbix_agent-3.0.5_x64.msi 3: -2147287035 
    MSI (s) (C8:9C) [11:49:05:176]: MainEngineThread is returning 1619
    MSI (s) (C8:C4) [11:49:05:191]: User policy value 'DisableRollback' is 0
    MSI (s) (C8:C4) [11:49:05:191]: Machine policy value 'DisableRollback' is 0
    MSI (s) (C8:C4) [11:49:05:191]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (C8:C4) [11:49:05:191]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (C8:C4) [11:49:05:191]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (C8:C4) [11:49:05:191]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (D0:30) [11:49:05:394]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (D0:30) [11:49:05:394]: MainEngineThread is returning 1619
    === Verbose logging stopped: 27.12.2016  11:49:05 ===
    


    • Изменено zedsym 27 декабря 2016 г. 9:06
    27 декабря 2016 г. 9:05

Все ответы