Seite 1 von 2

problem with integration of existing clients [SOLVED]

Verfasst: 03 Apr 2014, 11:46
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.

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 11:53
von loggenk
Hi,

what command do you use to deploy agent?

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 12:02
von opsiusermad
these are the commands used to deploy agent:

cd /var/lib/opsi/depot/opsi-client-agent
./opsi-deploy-client-agent

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 12:34
von loggenk
Try this :

/opt/pcbin/install/opsi-client-agent/opsi-deploy-client-agent -v -u "domain\username" hostname

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 12:43
von opsiusermad
The opt directory is empty.
Hence, I can´t execute that command.

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 13:04
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

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 13:20
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

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 15:01
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

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 16:02
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.

Re: problem with integration of existing clients

Verfasst: 03 Apr 2014, 16:27
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