problem with integration of existing clients [SOLVED]

opsiusermad
Beiträge: 13
Registriert: 03 Apr 2014, 10:37

problem with integration of existing clients [SOLVED]

Beitrag von opsiusermad »

hi,
Recently I started to work with opsi project. server installation went fine, but now I have problem with integration existing workstation with server in a virtual machine.

At first. I tried to connect the workstation with service_setup.cmd script. I think that the installation it was ok, but the workstation isn´t integration with server.

In the second way, I tried to connect the work station with opsi-deploy-client-agent. When I execute the script appear an error.
The error shows:

[critical] Traceback:
[critical] line 436 in '<module>' in file './opsi-deploy-client-agent'
[critical] line 392 in 'main' in file './opsi-deploy-client-agent'
[critical] ==>>> No hosts given.
ERROR: No hosts given.


Can somebody tell me if i do any step wrong?

Please have a look into it, and let me know if I can assist you any further.

best regards.
Zuletzt geändert von opsiusermad am 22 Apr 2014, 16:29, insgesamt 2-mal geändert.
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: problem with integration of existing clients

Beitrag von loggenk »

Hi,

what command do you use to deploy agent?
opsiusermad
Beiträge: 13
Registriert: 03 Apr 2014, 10:37

Re: problem with integration of existing clients

Beitrag von opsiusermad »

these are the commands used to deploy agent:

cd /var/lib/opsi/depot/opsi-client-agent
./opsi-deploy-client-agent
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: problem with integration of existing clients

Beitrag von loggenk »

Try this :

/opt/pcbin/install/opsi-client-agent/opsi-deploy-client-agent -v -u "domain\username" hostname
opsiusermad
Beiträge: 13
Registriert: 03 Apr 2014, 10:37

Re: problem with integration of existing clients

Beitrag von opsiusermad »

The opt directory is empty.
Hence, I can´t execute that command.
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: problem with integration of existing clients

Beitrag von SisterOfMercy »

opsiusermad hat geschrieben:The opt directory is empty.
Hence, I can´t execute that command.
:roll:
Have you tried this then:
cd /var/lib/opsi/depot/opsi-client-agent
./opsi-deploy-client-agent -v -u "domain\username" hostname
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
opsiusermad
Beiträge: 13
Registriert: 03 Apr 2014, 10:37

Re: problem with integration of existing clients

Beitrag von opsiusermad »

I used your command but appear an error too.
I paste the log.

[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 'opsidemo.domain.local'
[notice] Querying for ip address of host 'opsidemo.domain.local'
[notice] Got ip address '10.100.24.154' from syscall
[notice] Pinging host 10.100.24.154 ...
[notice] Host 10.100.24.154 is up
[notice] Getting hardware ethernet address of host 'opsidemo.domain.local'
[warning] Failed to get hardware ethernet address for host 'opsidemo'
[notice] Creating client 'opsidemo.domain.local'
[notice] Testing winexe
[error] Deployment to 'opsidemo.domain.local' failed: Failed to execute command on host 'opsidemo': winexe error: Command './winexe -U 'domain.local\adminuser%*** confidential ***' //opsidemo '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):
dos charset 'CP850' unavailable - using ASCII
ERROR: Cannot open control pipe - NT_STATUS_ACCESS_DENIED
[warning] License management module disabled
[warning] License management module disabled
[warning] License management module disabled
[warning] Cannot delete OpsiClient 'opsidemo.domain.local', ignored.
[warning] License management module disabled
[warning] License management module disabled
[warning] License management module disabled


What can be the problem?

Thnks for all
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: problem with integration of existing clients

Beitrag von n.wenselowski »

Hello opsiusermad,

could be Samba.
Did you try running

Code: Alles auswählen

opsi-setup --auto-configure-samba
Do you meet the requirements for the script usage as stated in http://download.uib.de/opsi_stable/doc/ ... deployment ?


Kind regards

Niko

Code: Alles auswählen

import OPSI
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: problem with integration of existing clients

Beitrag von mwa »

Maybe you need to change your password if it is smaller 8 letters. I got the same error message and changed my domainpassword & it works.
opsiusermad
Beiträge: 13
Registriert: 03 Apr 2014, 10:37

Re: problem with integration of existing clients

Beitrag von opsiusermad »

mwa hat geschrieben:Maybe you need to change your password if it is smaller 8 letters. I got the same error message and changed my domainpassword & it works.

Thanks for your help i have changed my password to make it longer.

Appear a new error: ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE
Antworten