Seite 1 von 3

opsi-client-agent funktioniert nicht

Verfasst: 30 Jan 2015, 10:33
von JonasIVA
Hallo zusammen,

nachdem ich keine Probleme mit dem PXE-Booten mehr hatte und eine automatische Windows Installation erfolgreich getestet hatte, wollte ich auf mehreren Testclients die Software Verteilung testen.
Leider kriege ich das Problem sobald ich den opsi-client-agent manuell auf einen ohne opsi installierten Rechner installiere, den Dienst nicht gestartet. Stattdessen muss ich manchmal bis zu 15 Minuten (wenn überhaupt...) warten bis die Anmeldemaske von Windows 7 erscheint. Manuell kann ich den Dienst auch nicht starten hier kriege ich nur den Hinweis das dieser nicht gestartet werden konnte mit dem Fehler 1068 "Der Dienst kann aufgrund von einer Abhängigkeitsgruppe nicht gestartet werden".
Im opsi config center wird der Agent als erfolgreich installiert angezeigt.

Hier den Log vom opsiloginblocker.txt:

Code: Alles auswählen

2015-01-30 10:27:03 [5] ********** Getting config from registry
2015-01-30 10:27:03 [5] LoginBlockerLogLevel is: 5
2015-01-30 10:27:03 [5] Read LoginBlockerLogDir from Registry and switch to Logfile 'C:\opsi.org\log'
2015-01-30 10:27:03 [5] According to LoginBlockerLogDir Logfile='C:\opsi.org\log\opsi_loginblocker.txt'
2015-01-30 10:27:03 [5] ********** LoginBlockerStart is: 1
2015-01-30 10:27:03 [5] LoginBlockerTimeoutConnect is: 120 seconds
2015-01-30 10:27:03 [4] ************************* config read from registry ********************************************
2015-01-30 10:27:03 [4] OS Version: 6.1 (Windows 7)
2015-01-30 10:27:03 [5] Filtering credential providers
2015-01-30 10:27:03 [5] Registry: start of opsiclientd service is enabled, waiting for service to start ...
2015-01-30 10:27:03 [4] Service opsiclientd is not running (SERVICE_STOPPED)
2015-01-30 10:27:06 [4] Service opsiclientd is not running (SERVICE_STOPPED)
2015-01-30 10:27:09 [4] Service opsiclientd is not running (SERVICE_STOPPED)
2015-01-30 10:27:12 [4] Service opsiclientd is not running (SERVICE_STOPPED)
2015-01-30 10:27:15 [4] Service opsiclientd is not running (SERVICE_STOPPED)
Was leider auch nicht funktioniert ist das installieren vom opsi-client-agent über den opsi Server...

Code: Alles auswählen

[root@ivavopsi opsi-client-agent]# ./opsi-deploy-client-agent -x -v -o -c -u "domain\administrator" -p "#####" deployment.iva.ing.tu-bs.de
[notice] Starting deployment to host 'deployment.iva.ing.tu-bs.de'
[notice] Querying for ip address of host 'deployment.iva.ing.tu-bs.de'
[notice] Got ip address '172.26.22.7' from syscall
[notice] Pinging host 172.26.22.7 ...
[notice] Host 172.26.22.7 is up
[notice] Getting hardware ethernet address of host 'deployment.iva.ing.tu-bs.de'
[notice] Found hardware ethernet address '00:15:5d:01:15:18'
[notice] Testing winexe
[error] Deployment to 'deployment.iva.ing.tu-bs.de' failed: Failed to execute command on host 'deployment.iva.ing.tu-bs.de': winexe error: Command './winexe -U 'IVA1\administrator%*** confidential ***' //deployment.iva.ing.tu-bs.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 (1):
ERROR: Failed to open connection - NT_STATUS_NO_MEMORY
Bei den über opsi installierten Testclients funktioniert der opsiclientd ohne Probleme und dort lassen sich auch die Software ohne Probleme verteilen.

Ich hoffe mir kann hierbei jemand weiterhelfen.

Gruß

Jonas

Re: opsi-client-agent funktioniert nicht

Verfasst: 30 Jan 2015, 11:43
von carnauba
Hi,

bei der Verteilung über den opsi-deploy-client-agent kann ich abhilfe schaffen.
domain\\administrator einfach mit doppel backslash. Dann sollte das gehen.

Re: opsi-client-agent funktioniert nicht

Verfasst: 30 Jan 2015, 13:33
von JonasIVA
carnauba hat geschrieben: domain\\administrator einfach mit doppel backslash. Dann sollte das gehen.
Danke für den Tip, aber kriege immer noch

Code: Alles auswählen

./opsi-deploy-client-agent -x -v -o -c -u "C51-05\\administrator" -p "#####" C51-05.iva.ing.tu-bs.de
[notice] Starting deployment to host 'c51-05.iva.ing.tu-bs.de'
[notice] Querying for ip address of host 'c51-05.iva.ing.tu-bs.de'
[notice] Got ip address '172.26.51.5' from syscall
[notice] Pinging host 172.26.51.5 ...
[notice] Host 172.26.51.5 is up
[notice] Getting hardware ethernet address of host 'c51-05.iva.ing.tu-bs.de'
[notice] Found hardware ethernet address '90:e6:ba:d4:0a:70'
[notice] Testing winexe
[error] Deployment to 'c51-05.iva.ing.tu-bs.de' failed: Failed to execute command on host 'c51-05.iva.ing.tu-bs.de': winexe error: Command './winexe -U 'C51-05\administrator%*** confidential ***' //c51-05.iva.ing.tu-bs.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 (1):
ERROR: Failed to open connection - NT_STATUS_NO_MEMORY
:|

Re: opsi-client-agent funktioniert nicht

Verfasst: 30 Jan 2015, 14:14
von n.wenselowski
Hallo,

das Problem könnte auch an der Winexe liegen.
Hier würde ich mal eine neuere verwenden - eventuell selbst bauen.


Gruß

Niko

Re: opsi-client-agent funktioniert nicht

Verfasst: 30 Jan 2015, 16:12
von JonasIVA
Hi,

werde ich demnächst testen, aber das Problem mit der manuellen opsi-Client-Agent funktioniert aber trotzdem weiterhin nicht, nur bei den über opsi neuinstallierten clients funktioniert der opsiclientd problemlos.

Gruß

Re: opsi-client-agent funktioniert nicht

Verfasst: 02 Feb 2015, 11:29
von JonasIVA
Problem mit opsiclientd gelöst, eine Gruppenrichtlinie die standardmäßig den DNS-Client Dienst beim Start deaktiviert ist und bei bedarf gestartet wird.

Gruß

Jonas

Re: opsi-client-agent funktioniert nicht

Verfasst: 03 Feb 2015, 09:54
von Tuborg
Ich habe das Problem das ich immer wenn ich den Befehl :
./opsi-Deploy-client-Agent -u Domäne\\Administrator -p Passwort rechnername
eingebe mir die Fehler Meldung :
Depoymen to 'rechnername' failed.
ERROR: Cannot open control Pipe - NT_Status_INVALID_PARAMETER.

Hat da jemand Erfahrung ? Tipps ? Tricks ?

Ich benutze die neuste OPSI Version und habe Windows 7 Clients.
Mein verdacht ist das es an der Winexe liegt aber hab dafür keine stichhaltigen beweise und weiß leider auch nicht wie ich das beheben kann.

Re: opsi-client-agent funktioniert nicht

Verfasst: 03 Feb 2015, 12:47
von pandel
Wühl dich mal hier durch: http://sourceforge.net/p/winexe/bugs/30/

Es könnte durchaus an winexe liegen. In dem Bugreport gibt's aber ne Beschreibung, wie man sich eine neue kompilieren kann, vielleicht hilft das. Hast du mal psexec probiert? Wenn das durchgeht, dann liegt es wirklich an winexe.

Re: opsi-client-agent funktioniert nicht

Verfasst: 03 Feb 2015, 13:00
von Tuborg
WINDOWS 7
Also mein Fehlercode sieht so aus :

[error] Deployment to 'RECHNERNAME.FIRMA.com' failed: Failed to execute command on host 'RECHNERNAME': winexe error: Command '/usr/bin/winexe -U 'DOMÄNE\Administrator%*** confidential ***' //RECHNERNAME '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 (134):
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 11 in pid 20011 (4.0.0alpha11-GIT-UNKNOWN)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PANIC: internal error
BACKTRACE: 17 stack frames:
#0 /usr/bin/winexe(call_backtrace+0x29) [0x84d76b9]
#1 /usr/bin/winexe(smb_panic+0x91) [0x84d7821]
#2 /usr/bin/winexe() [0x84d7b51]
#3 [0xb7798400]
#4 /usr/bin/winexe() [0x817c9e0]
#5 /usr/bin/winexe(nbt_name_socket_handle_response_packet+0xe8) [0x817ea18]
#6 /usr/bin/winexe() [0x817efd4]
#7 /usr/bin/winexe() [0x84ca3e7]
#8 /usr/bin/winexe(_tevent_loop_once+0xa8) [0x84c7698]
#9 /usr/bin/winexe(composite_wait+0x3f) [0x81a78ff]
#10 /usr/bin/winexe(dcerpc_pipe_connect_recv+0x2e) [0x80cb7de]
#11 /usr/bin/winexe(dcerpc_pipe_connect+0x6a) [0x80cb8ba]
#12 /usr/bin/winexe(svc_pipe_connect+0xa2) [0x80ba622]
#13 /usr/bin/winexe(svc_install+0x5b) [0x80bb0cb]
#14 /usr/bin/winexe(main+0x335) [0x80b8d35]
#15 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb75b3a83]
#16 /usr/bin/winexe() [0x80b8ded]
Aborted (core dumped)

Re: opsi-client-agent funktioniert nicht

Verfasst: 03 Feb 2015, 14:28
von Tuborg
Bei Windows 8

[error] Deployment to RECHNERNAME.FIRMA.com' failed: Failed to execute command on host 'RECHNERNAME': winexe error: Command '/usr/bin/winexe -U 'administrator@FIRMA%*** confidential ***' //RECHNERNAME '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: Cannot open control pipe - NT_STATUS_INVALID_PARAMETER