Seite 1 von 1

Opsi Probleme mit Winexe???

Verfasst: 20 Mär 2013, 13:03
von BlackMetalGirl90
Benutze Ubuntu 10.04
habe Opsi installiert.

winexe habe ich auch installiert.

habe einen Client mit win XP installiert und diesen möchte ich nun Opsi hinzufügen und den Opsi-client installieren.

Beim Befehl: ./opsi-deploy-client-agent -vvv -u opsiclient2\administrator -o -c opsiclient2.azubiprojekt.de

kommt folgende Meldung:

[error] Deployment to 'opsiclient2.azubiprojekt.de' failed: Failed to execute command on host 'opsiclient2.azubiprojekt.de': winexe error: Command '/usr/bin/winexe -U 'opsiclient2administrator%*** confidential ***' //opsiclient2.azubiprojekt.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):
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 6 in pid 1744 (4.0.0alpha11-GIT-UNKNOWN)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PANIC: internal error
BACKTRACE: 36 stack frames:
#0 /usr/bin/winexe(call_backtrace+0x2d) [0x84de9dd]
#1 /usr/bin/winexe(smb_panic+0x91) [0x84deb71]
#2 /usr/bin/winexe() [0x84deeea]
#3 [0xa7e400]
#4 /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x870ab2]
#5 /lib/tls/i686/cmov/libc.so.6(+0x6424d) [0x8a724d]
#6 /lib/tls/i686/cmov/libc.so.6(+0x6e341) [0x8b1341]
#7 /lib/tls/i686/cmov/libc.so.6(realloc+0x2bb) [0x8b6f2b]
#8 /lib/libnss_wins.so.2(realloc_array+0x4e) [0x51805e]
#9 /lib/libnss_wins.so.2(debug_add_class+0xad) [0x5299fd]
#10 /lib/libnss_wins.so.2(debug_init+0x43) [0x529b43]
#11 /lib/libnss_wins.so.2(setup_logging+0x29) [0x529ba9]
#12 /lib/libnss_wins.so.2(_nss_wins_gethostbyname_r+0x3bc) [0x42d80c]
#13 /lib/libnss_wins.so.2(_nss_wins_gethostbyname2_r+0x3f) [0x42db2f]
#14 /lib/tls/i686/cmov/libc.so.6(gethostbyname2_r+0x1bd) [0x92d4bd]
#15 /lib/tls/i686/cmov/libc.so.6(+0xab9c0) [0x8ee9c0]
#16 /lib/tls/i686/cmov/libc.so.6(getaddrinfo+0x165) [0x8f0415]
#17 /usr/bin/winexe(resolve_name_dns_ex_send+0x26c) [0x8189c4c]
#18 /usr/bin/winexe(resolve_name_host_send+0x4a) [0x8189e3a]
#19 /usr/bin/winexe() [0x81a8715]
#20 /usr/bin/winexe(resolve_name_all_send+0x15d) [0x81a894d]
#21 /usr/bin/winexe(resolve_name_send+0x42) [0x81a8b02]
#22 /usr/bin/winexe(smb_composite_connect_send+0xb9) [0x81054d9]
#23 /usr/bin/winexe() [0x80d9de6]
#24 /usr/bin/winexe() [0x81b4ad3]
#25 /usr/bin/winexe(tevent_common_loop_timer_delay+0xaa) [0x84cf63a]
#26 /usr/bin/winexe() [0x84d1894]
#27 /usr/bin/winexe(_tevent_loop_once+0x98) [0x84ce6c8]
#28 /usr/bin/winexe(composite_wait+0x3c) [0x81b4e9c]
#29 /usr/bin/winexe(dcerpc_pipe_connect_recv+0x2f) [0x80d90bf]
#30 /usr/bin/winexe(dcerpc_pipe_connect+0x62) [0x80da312]
#31 /usr/bin/winexe(svc_pipe_connect+0xa2) [0x80ca722]
#32 /usr/bin/winexe(svc_install+0x3a) [0x80cb09a]
#33 /usr/bin/winexe(main+0x35c) [0x80c9c2c]
#34 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x859bd6]
#35 /usr/bin/winexe() [0x80c81c1]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 6 in pid 1745 (4.0.0alpha11-GIT-UNKNOWN)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PANIC: internal error
BACKTRACE: 29 stack frames:
#0 /usr/bin/winexe(call_backtrace+0x2d) [0x84de9dd]
#1 /usr/bin/winexe(smb_panic+0x91) [0x84deb71]
#2 /usr/bin/winexe() [0x84deeea]
#3 [0xa7e400]
#4 /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x870ab2]
#5 /lib/tls/i686/cmov/libc.so.6(+0x6424d) [0x8a724d]
#6 /lib/tls/i686/cmov/libc.so.6(+0x6e341) [0x8b1341]
#7 /lib/tls/i686/cmov/libc.so.6(realloc+0x2bb) [0x8b6f2b]
#8 /lib/libnss_wins.so.2(realloc_array+0x4e) [0x68105e]
#9 /lib/libnss_wins.so.2(debug_add_class+0xad) [0x6929fd]
#10 /lib/libnss_wins.so.2(debug_init+0x43) [0x692b43]
#11 /lib/libnss_wins.so.2(setup_logging+0x29) [0x692ba9]
#12 /lib/libnss_wins.so.2(_nss_wins_gethostbyname_r+0x3bc) [0x59680c]
#13 /lib/libnss_wins.so.2(_nss_wins_gethostbyname2_r+0x3f) [0x596b2f]
#14 /lib/tls/i686/cmov/libc.so.6(gethostbyname2_r+0x1bd) [0x92d4bd]
#15 /lib/tls/i686/cmov/libc.so.6(+0xab9c0) [0x8ee9c0]
#16 /lib/tls/i686/cmov/libc.so.6(getaddrinfo+0x165) [0x8f0415]
#17 /usr/bin/winexe(resolve_name_dns_ex_send+0x26c) [0x8189c4c]
#18 /usr/bin/winexe(resolve_name_host_send+0x4a) [0x8189e3a]
#19 /usr/bin/winexe() [0x81a8715]
#20 /usr/bin/winexe(resolve_name_all_send+0x15d) [0x81a894d]
#21 /usr/bin/winexe(resolve_name_send+0x42) [0x81a8b02]
#22 /usr/bin/winexe(smb_composite_connect_send+0xb9) [0x81054d9]
#23 /usr/bin/winexe(smb_composite_connect+0x3d) [0x810555d]
#24 /usr/bin/winexe(smbcli_tree_full_connection+0xe2) [0x810f0c2]
#25 /usr/bin/winexe(smbcli_full_connection+0x8d) [0x80ef08d]
#26 /usr/bin/winexe(main+0x1dd) [0x80c9aad]
#27 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x859bd6]
#28 /usr/bin/winexe() [0x80c81c1]
ERROR: Failed to open connection - NT_STATUS_OBJECT_NAME_NOT_FOUND

brauche Hilfe bitte:-(

Re: Opsi Probleme mit Winexe???

Verfasst: 20 Mär 2013, 17:44
von d.oertel
Hi,
Benutze Ubuntu 10.04
Upgrade auf 12.04 ?

gruß
d.oertel

Re: Opsi Probleme mit Winexe???

Verfasst: 21 Mär 2013, 07:23
von BlackMetalGirl90
Ubuntu 12.04 hätte ich gerne verwendet. Da die Maschine aber über XenServer virtualisiert wurde und wir 12.04 nicht darauf zum laufen bekommen haben, haben wir 10.04 benutzt was einwandfrei ging.

Außerdem denke ich nicht, das es an der Ubuntu-Version liegt????

Re: Opsi Probleme mit Winexe???

Verfasst: 21 Mär 2013, 08:10
von BlackMetalGirl90
so ich denke ich weis jetzt wodran es liegt...ich denke mal das ich die windows verzeichnisse C$ und admin$ nicht richtig gemountet habe...wobei ich diese am client frei gegeben habe und auch die firewall aus ist...

habe den Befehl ausprobiert:

./opsi-deploy-client-agent-old -vvv -u opsiclient2\administrator -o -c opsiclient2.azubiprojekt.de

und bekam dies hier:

[notice] Mounting c$ share
[debug] Command 'mount' found at: '/bin/mount'
[info] Executing: /bin/mount -t cifs -o'username=opsiclient2administrator,password=*** confidential ***' //opsiclient2.azubiprojekt.de/c$ /tmp/mnt_Ej21BrLWUE
[info] Using encoding 'UTF-8'
[debug] >>> mount error(13): Permission denied
[debug] >>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[debug] Exit code: 32
[info] Failed to mount clients c$ share: Command '/bin/mount -t cifs -o'username=opsiclient2administrator,password=*** confidential ***' //opsiclient2.azubiprojekt.de/c$ /tmp/mnt_Ej21BrLWUE' failed (32):
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs), retrying with port 139
[info] Executing: /bin/mount -t cifs -o'port=139,username=opsiclient2administrator,password=*** confidential ***' //opsiclient2.azubiprojekt.de/c$ /tmp/mnt_Ej21BrLWUE
[info] Using encoding 'UTF-8'
[debug] >>> mount error(13): Permission denied
[debug] >>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[debug] Exit code: 32
[error] Deployment to 'opsiclient2.azubiprojekt.de' failed: Failed to mount c$ share: Command '/bin/mount -t cifs -o'port=139,username=opsiclient2administrator,password=*** confidential ***' //opsiclient2.azubiprojekt.de/c$ /tmp/mnt_Ej21BrLWUE' failed (32):
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Perhaps you have to disable the firewall or simple file sharing on the windows machine (folder options)?

ich hab nur noch keine Ahnung wodran es liegen könnte?

Re: Opsi Probleme mit Winexe???

Verfasst: 21 Mär 2013, 10:45
von d.oertel
Hi,
mount error(13): Permission denied
Entweder Du bist nicht root oder password stimmt nicht.

gruß
d.oertel

Re: Opsi Probleme mit Winexe???

Verfasst: 21 Mär 2013, 10:48
von BlackMetalGirl90
also root bin ich im Terminal...

und das Passwort muss auch stimmen...

Re: Opsi Probleme mit Winexe???

Verfasst: 21 Mär 2013, 12:25
von d.oertel
Hi,

kannst Du den share von eine anderen windows maschine mit der selben user/password kombination mounten ?

gruß
d.oertel