Seite 1 von 2

opsi-deploy-client-agent

Verfasst: 08 Nov 2011, 11:52
von UWegmann
Bei dem Versuch die Clients von 3.1 nach Opsi 4 über ein Textfile mit opsi-deploy-client-agent einzulesen, tritt eine Fehlermeldung auf, die auch nach der Aktualisierung auf den opsi-client-agent_4.0.1-20 erhalten bleibt:

Bild

Re: opsi-deploy-client-agent

Verfasst: 08 Nov 2011, 17:41
von d.oertel
Hi,

das ist mit dem Screenshot ein wenig schwer zu lesen - sieht aber so aus als würde der administrative Zugang fehlschlagen.

Bitte mal mit nur einem Client auspropieren (der Übersichtlichkeit der Meldungen wegen).
Die Meldungen per cut&paste posten.
Evtl. neueren opsi-client-agent aus probieren.

Evtl paket 'winexe' (aus stable) installieren.

gruss
d.oertel

Re: opsi-deploy-client-agent

Verfasst: 17 Nov 2011, 15:40
von UWegmann
Nach Installation des opsi-client-agent_4.0.1-23 bleibt als Fehlermeldung:

[notice] Starting deployment to host 'a00110.schulung.krzn.de'
[notice] Querying for ip address of host 'a00110.schulung.krzn.de'
[notice] Got ip address '10.254.16.173' from syscall
[notice] Pinging host 10.254.16.173 ...
[notice] Host 10.254.16.173 is up
[notice] Getting hardware ethernet address of host 'a00110.schulung.krzn.de'
[notice] Found hardware ethernet address '00:1e:37:48:a2:d4'
[notice] Creating client 'a00110.schulung.krzn.de'
[notice] Testing winexe
[error] Deployment to 'a00110.schulung.krzn.de' failed: Failed to execute command on host 'a00110': winexe error: Command './winexe -U 'Administrator%*** confidential ***' //a00110 '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 (1):
ERROR: Failed to open connection - NT_STATUS_IO_TIMEOUT

Re: opsi-deploy-client-agent

Verfasst: 17 Nov 2011, 15:44
von ueluekmen
Hi,
d.oertel hat geschrieben:Evtl paket 'winexe' (aus stable) installieren.
wurde dieser Rat befolgt?

Re: opsi-deploy-client-agent

Verfasst: 17 Nov 2011, 21:36
von UWegmann
Winexe aus stable habe ich nichtgefunden, sondern nur winexe.86 und winexe.64 in experimental. Wo liegt die Datei nun?

Re: opsi-deploy-client-agent

Verfasst: 17 Nov 2011, 22:07
von ueluekmen
kommt drauf an, welches OS und welche Architektur auf dem opsi-server läuft, zum beispiel hier:

http://download.opensuse.org/repositori ... 0.04/i386/

Für Ubuntu Lucid 32 Bit.

Man kann auch einfach über den Paketmanager vom OS das Paket winexe installieren, wenn man das oben genannte Stable-Repo von opsi eingetragen hat.

Re: opsi-deploy-client-agent

Verfasst: 12 Dez 2011, 16:55
von w42k
Hallo,

könnte mir jemand sagen warum lauft das script nicht richtig weiter läuft?


opsi:/var/lib/opsi/depot/opsi-client-agent # ./opsi-deploy-client-agent -x -v -u "domain\domainadminuser" 192.168.1.145
Password:
[notice] Modules file signature verified (customer: company)
[notice] Starting deployment to host '192.168.1.145'
[notice] Querying for ip address of host '192.168.1.145'
[notice] Got ip address '192.168.1.145' from syscall
[notice] Pinging host 192.168.1.145 ...
[error] Command 'ping -q -c2 192.168.1.145' failed (1):
PING 192.168.1.145 (192.168.1.145) 56(84) bytes of data.

--- 192.168.1.145 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms

[warning] No ping response received from192.168.1.145
[notice] Getting hardware ethernet address of host '192.168.1.145'
[warning] Failed to get hardware ethernet address for host '192'
[notice] Creating client '192.168.1.145'
[notice] Testing winexe
[error] Deployment to '192.168.1.145' failed: Failed to execute command on host '192': winexe error: Command './winexe -U 'domain\domainadminuser%*** confidential ***' //192 '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 (1):
ERROR: Failed to open connection - NT_STATUS_INVALID_PARAMETER




... und wenn das script nicht mit ip sondern hostname (welcher im dns bekannt ist) starte, kommt ein etwas anderer Fehler.

[notice] Testing winexe
[error] Deployment to 'dvd-brenner.domain.de' failed: Failed to execute command on host 'dvd-brenner': winexe error: Command './winexe -U 'domain\domainadminuser%*** confidential ***' //dvd-brenner '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 (1):
ERROR: Failed to open connection - NT_STATUS_DUPLICATE_NAME

Re: opsi-deploy-client-agent

Verfasst: 12 Dez 2011, 16:59
von d.oertel
Hi,

immer den Full qualified Hostnamen verwenden.

Evtl. mal die 'Old-Version' probieren.... (im selben Verzeichnis).

gruss
d.oertel

Re: opsi-deploy-client-agent

Verfasst: 13 Dez 2011, 10:34
von w42k
d.oertel hat geschrieben:Hi,

immer den Full qualified Hostnamen verwenden.

Evtl. mal die 'Old-Version' probieren.... (im selben Verzeichnis).

gruss
d.oertel
Hallo,

Ihre Empfehlung habe ich auch gemacht.
Jetzt kommt eine andere Fehlermeldung.
Der Client wird kopiert, kann aber nicht ausgeführt werden...
Der User und Passwort funktioniert definitiv, sonnst würden die shares ja nicht gemountet werden können.

Wie wird die hardware ethernet addresse ermittelt? (ICMP..?)

Fehlermeldung sieht so aus:

server:/var/lib/opsi/depot/opsi-client-agent # ./opsi-deploy-client-agent-old -x -v -u "super" -c 10.10.240.84
Password:
[notice] Modules file signature verified (customer: xxxxxx)
[notice] Starting deployment to host '10.10.240.84'
[notice] Querying for ip address of host '10.10.240.84'
[notice] Got ip address '10.10.240.84' from syscall
[notice] Pinging host 10.10.240.84 ...
[notice] Host 10.10.240.84 is up
[notice] Getting hardware ethernet address of host '10.10.240.84'
[warning] Failed to get hardware ethernet address for host '10'
[notice] Creating client '10.10.240.84'
[notice] Mounting c$ share
[notice] Copying installation files
[notice] Patching config.ini
[notice] Installing opsi-client-agent
[error] Deployment to '10.10.240.84' failed: Failed to install opsi-client-agent: Command './winexe -U 'super%*** confidential ***' //10.10.240.84 'c:\opsi_zxgeU4KqkY\files\opsi\opsi-winst\winst32.exe /batch c:\opsi_zxgeU4KqkY\files\opsi\setup.ins c:\tmp\opsi-client-agent.log /PARAMETER REMOTEDEPLOY'' failed (1):
ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE
server:/var/lib/opsi/depot/opsi-client-agent #

Re: opsi-deploy-client-agent

Verfasst: 13 Dez 2011, 10:53
von d.oertel
Hi,
w42k hat geschrieben:
d.oertel hat geschrieben:Hi,

immer den Full qualified Hostnamen verwenden.

gruss
d.oertel
10.10.240.84 ist kein Full qualified Hostnamen !

Was sagt
which winexe
?

gruss
d.oertel