Problem mit opsi-deploy-client-agent

Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

Hallo zusammen,

momentan versuche ich das opsi-deployment-client-agent Skript ans Laufen zu bringen.
Der ADMIN$, C$ Share ist aktiviert. Ebenfalls ist der Administrator auf meinem WinXP Client aktiviert und mit einem pw ausgestattet worden. Versuche ich jetzt das Skript zu starten, kommt folgendes Problem:

Code: Alles auswählen

root@opsidemo:/opt/pcbin/install/opsi-client-agent# ./opsi-deploy-client-agent -v -u Administrator winxp
Password: 
[warning] Failed to read opsi modules file '/etc/opsi/modules': Signature expired
[notice] Disabling mysql backend and license management module: no customer in modules file
[notice] Starting deployment to host 'winxp.x.x.x'
[notice] Querying for ip address of host 'winxp.x.x.x'
[warning] Failed to get ip address for host 'winxp.x.x.x' by syscall: [Errno -2] Name or service not known
[notice] Got ip address 'x.x.46.193' from netbios lookup
[notice] Pinging host x.x.46.193 ...
[notice] Host x.x.46.193 is up
[notice] Getting hardware ethernet address of host 'winxp.x.x.x'
[notice] Found hardware ethernet address '00:50:56:92:00:07'
[notice] Creating client 'winxp.x.x.x'
[notice] Creating host 'winxp', hardwareAddress '00:50:56:92:00:07', ipAddress 'x.x.46.193', fixedAddress 'x.x.46.193', parameters '{'next-server': u'x.x.47.130', 'filename': u'linux/pxelinux.0'}' in dhcpd config file '/etc/dhcp3/dhcpd.conf'
[notice] Mounting c$ share
[error] Deployment to 'winxp.x.x.x' failed: Failed to mount c$ share: Command '/bin/mount -t cifs -o'port=139,username=Administrator,password=*** confidential ***' //winxp/c$ /tmp/mnt_vuUUnLkKYk' failed (1):
mount error: could not resolve address for winxp: Name or service not known
No ip address specified and hostname not found
Perhaps you have to disable the firewall or simple file sharing on the windows machine (folder options)?
[warning] License management module disabled
[warning] License management module disabled
[notice] Deleting host 'winxp' from dhcpd config file '/etc/dhcp3/dhcpd.conf'

- Ich benutze die vorgefertigte VM auf unserem ESX Server.
- Der Server bestizt eine statische und der WinXP Client eine dynamische IP-Adresse.

Wäre super, wenn mir jemand helfen könnte ;)
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Problem mit opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,

Code: Alles auswählen

Failed to mount c$ share: Command '/bin/mount -t cifs -o'port=139,username=Administrator,password=*** confidential ***' //winxp/c$ /tmp/mnt_vuUUnLkKYk' failed (1):
mount error: could not resolve address for winxp: Name or service not known
bedeutet das der mount über den netbiosnamen fehlschlägt.

Ist der ESX in einem anderen Netz ?
Geht das hängige mounten des shares vom ESX aus ?

gruss
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Re: Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

Der ESX ist im gleichen Netz. Ich habe es auch schon mit verschiedenen Clients ausprobiert, es kam aber jedes mal zum gleichen Problem.
Ich habe die vorgefertigte VM von euch runtergeladen und sie auf den ESX (bzw. den Storage dafür) gelegt, von daher sollte das mounten des Shares schon vom ESX ausgehen oder?

Gruß
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Problem mit opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,

gibt es auf dem ESX eine windows maschine mit der das händige mounten mit dem Explorer getestet werden kann ?

gruss
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Re: Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

Ja, jetzt schon. das händige mounten der virtuellen Windows Maschine mit dem Windows Explorer hat einwandfrei funktioniert.

Wollte gerade testen ob das Netboot-Produkt "hwinvent" funktioniert. Dabei hatte der Client nach dem Start beim Verbinden des Pfades in dem das Produkt liegt ebenfalls Probleme. Es ist also ebenfalls fehlgeschlagen. Dann hat das wohl auch mit dem Problem zu tun, dass der NetBios Namen nicht aufgelöst werden kann. Der getestete Client war diesmal ein Desktop Win7 Computer.

Gruß
Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Re: Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

Das Problem besteht immer noch. Keiner eine Idee? :cry:
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Problem mit opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,

bitte mal mit den Aufruf mal die der Option:
-c (use fqdn instead of hostname for smb/cifs connection)
probieren.

gruss
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Re: Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

hi,

war mir eigentlich sicher, dass ich die Variante schon ausprobiert hätte. Naja, jedenfalls funktioniert es jetzt so.
Hier nochmals die Syntax:

Code: Alles auswählen

root@opsidemo:/opt/pcbin/install/opsi-client-agent# ./opsi-deploy-client-agent -v -c -r  xxx.52.46.193
Password: 
[warning] Failed to read opsi modules file '/etc/opsi/modules': Signature expired
[notice] Disabling mysql backend and license management module: no customer in modules file
[notice] Starting deployment to host 'xxx.52.46.193'
[notice] Querying for ip address of host 'xxx.52.46.193'
[notice] Got ip address 'xxx.52.46.193' from syscall
[notice] Pinging host xxx.52.46.193 ...
[notice] Host xxx.52.46.193 is up
[notice] Getting hardware ethernet address of host 'xxx.52.46.193'
[notice] Found hardware ethernet address '00:50:56:92:00:07'
[notice] Creating client 'xxx.52.46.193'
[notice] Creating host 'xxx', hardwareAddress '00:50:56:92:00:07', ipAddress 'xxx.52.46.193', fixedAddress 'xxx.52.46.193', parameters '{'next-server': u'xxx.52.47.130', 'filename': u'linux/pxelinux.0'}' in dhcpd config file '/etc/dhcp3/dhcpd.conf'
[notice] Mounting c$ share
[notice] Copying installation files
[notice] Patching config.ini
[notice] Installing opsi-client-agent
[notice] Cleaning up
[notice] opsi-client-agent successfully installed on 'xxx.52.46.193'
[notice] Rebooting machine 'xxx.52.46.193'
[error] Failed to reboot computer: Failed to get program files path
Ein weiteres Problem besteht aber noch immer. Der OPSI-Agent bekommt nach dem Boot des Clients keine Verbindung zum Config-Server.
Hier das Bild.

Bild


Beim ersten Boot nach der Installation des OPSI-Agenten kam ganz kurz eine Meldung eingeblendet welche irgendwas mit "Backend-Error" oder ähnliches gemeldet hatte. Das Bild konnte ich leider nicht einfangen, werde es aber nachholen.

Gruß

P.S.: Danke für die hilfreichen Tipps.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Problem mit opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,

c:\tmp\opsiclientd.log
c:\tmp\opsi-client-agent.log

wäre hilfreich.

gruss
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Maximus
Beiträge: 6
Registriert: 20 Apr 2011, 15:20

Re: Problem mit opsi-deploy-client-agent

Beitrag von Maximus »

Hallo,

anbei die gewünschten Dateien.

Gruß
Antworten