Seite 1 von 1

[GELÖST] Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 11:55
von chipo
Hallo,

ich habe grade Versucht mit opsi-deploy-client-agent einen neuen Client zu OPSI hinzuzufügen.

Als Befehl hatte ich:

Code: Alles auswählen

./opsi-deploy-client-agent -u wadmin -p XXXXX -c imm-255v

Und als Ergebis habe ich das bekommen:

Code: Alles auswählen

[warning] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
[warning] Failed to get hardware ethernet address for host 'imm-255v'
[warning] Cannot update dhcpd configuration for client <OpsiClient id 'imm-255v.ads.hs-karlsruhe.de'>: hardware address unknown
[error] Command './winexe -U 'wadmin%*** confidential ***' //imm-255v.ads.hs-karlsruhe.de 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst"'' failed (2):
c:\tmp\opsi-client-agent_inst konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
[error] Deployment to 'imm-255v.ads.hs-karlsruhe.de' failed: Command '/usr/bin/smbclient //imm-255v.ads.hs-karlsruhe.de/c$ -U 'wadmin%*** confidential ***' -c 'prompt; recurse; md tmp; cd tmp; md opsi-client-agent_inst; cd opsi-client-agent_inst; mput files; mput utils; cd files\opsi\cfg; lcd /tmp; put dILyH6xZm3_config.ini config.ini; exit;'' failed (1):
session setup failed: NT_STATUS_LOGON_FAILURE
Weiß jemand was da nun genau das Problem ist?


P.s. vielleicht noch zu erwähnen ist, dass der DHCP auf dem OPSI-Server deaktiviert ist.

Re: Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 12:26
von d.oertel
Hi,

das ganze mal mit der Option -v machen, damit man mehr sieht und das Ergebnis nochmal posten.

Evtl. probieren:
- Firewall beim Client ausschalten

gruss
d.oertel

Re: Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 12:36
von chipo
Ist nur die Windows interne Firewall aktiv und diese Abschalten fände ich nun nicht unbedingt so prickelnt.

Hier mit dem -v Parameter:

Code: Alles auswählen

[warning] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
[notice] Disabling mysql backend and license management module: no customer in modules file
[notice] Starting deployment to host 'imm-255v.ads.hs-karlsruhe.de'
[notice] Querying for ip address of host 'imm-255v.ads.hs-karlsruhe.de'
[notice] Got ip address '193.196.108.132' from syscall
[notice] Pinging host 193.196.108.132 ...
[notice] Host 193.196.108.132 is up
[notice] Getting hardware ethernet address of host 'imm-255v.ads.hs-karlsruhe.de'
[warning] Failed to get hardware ethernet address for host 'imm-255v'
[notice] Creating client 'imm-255v.ads.hs-karlsruhe.de'
[warning] Cannot update dhcpd configuration for client <OpsiClient id 'imm-255v.ads.hs-karlsruhe.de'>: hardware address unknown
[notice] Testing winexe
[notice] Patching config.ini
[notice] Copying installation files
[error] Command './winexe -U 'wadmin%*** confidential ***' //imm-255v.ads.hs-karlsruhe.de 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst"'' failed (2):
c:\tmp\opsi-client-agent_inst konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
[error] Deployment to 'imm-255v.ads.hs-karlsruhe.de' failed: Command '/usr/bin/smbclient //imm-255v.ads.hs-karlsruhe.de/c$ -U 'wadmin%*** confidential ***' -c 'prompt; recurse; md tmp; cd tmp; md opsi-client-agent_inst; cd opsi-client-agent_inst; mput files; mput utils; cd files\opsi\cfg; lcd /tmp; put GHLKyb9HlR_config.ini config.ini; exit;'' failed (1):
session setup failed: NT_STATUS_LOGON_FAILURE
Edit: Wenn Firewall aus ist kommt der selbe Fehler.

Re: Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 12:54
von tobias
mir ist aufgefallen das es oft/immer nicht geht wenn der administrator nicht DER administrator ist sondern irgendein user mit admin rechten.

Wir haben nämlich einen LocalAdmin mit dem geht das auch nicht.

Re: Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 12:57
von chipo
Perfekt genau das hat das Problem behoben. Danke.

Re: [GELÖST] Problem mit opsi-deploy-client-agent

Verfasst: 13 Sep 2012, 12:59
von tobias
magst den titel als gelöst markieren?

Oh hatta ja schon :D