ausnahmsweise mal eine Lösung statt einer Frage ,-)
ich hab mich immer gewundert, warum das deployment vie python script bei machne opsi servern ging, bei manchen NIE. Da kam dann z.B so eine Fehlermeldung:
Code: Alles auswählen
root@install2:/var/lib/opsi/depot/opsi-client-agent# ./opsi-deploy-client-agent -u"DOMAIN\\admin2" -p"xxxxx" -c host123.domain.de -v -o
Starting deployment to host u'host123.domain.de'
Querying for ip address of host u'host123.domain.de'
Got ip address '10.0.1.36' from syscall
Pinging host '10.0.1.36' ...
Host 10.0.1.36 is up
Testing winexe
Failed to get version: Command './winexe -V' failed (2):
./winexe: 1: ./winexe:ELF: not found
./winexe: 2: ./winexe: Syntax error: Unterminated quoted string
Failed to get version: Command './winexe -V' failed (2):
./winexe: 1: ./winexe:ELF: not found
./winexe: 2: ./winexe: Syntax error: Unterminated quoted string
Deployment to 'host123.domain.de' failed: Failed to execute command on host u'host123.domain.de': winexe error: Command './winexe -U 'DOMAIN\admin2%*** confidential ***' //host123.domain.de 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'' failed (2):
./winexe: 1: ./winexe:ELF: not found
./winexe: 2: ./winexe: Syntax error: Unterminated quoted string
Code: Alles auswählen
apt install opsi-windows-support
Danach lief es sofort!