error using opsi-deploy-client-agent

Antworten
tinjaw
Beiträge: 21
Registriert: 08 Sep 2010, 18:09

error using opsi-deploy-client-agent

Beitrag von tinjaw »

executing

./opsi-deploy-client-agent -vv -r simlab8

I am getting an error

[error] ERROR: Failed to install opsi-client-agent: Command './winexe -U 'Administrator369Oprize4U' //simlab8.cr1534.sims 'c:\opsi_PbhKTEN8ml\files\opsi\opsi-winst\winst32.exe /batch c:\opsi_PbhKTEN8ml\files\opsi\setup.ins c:\tmp\opsi-client-agent.log /PARAMETER REMOTEDEPLOY'' failed (1):
ERROR: Failed to open connection - NT_STATUS_NO_MEMORY

1) I didn't use the -c option, so why is it using the fqdn for the hostname?
2) The password is NOprize4U so it should be passing 'Administrator%NOprize4U' instead of 'Administrator369Oprize4U' shouldn't it?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: error using opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,
tinjaw hat geschrieben: 2) The password is NOprize4U so it should be passing 'Administrator%NOprize4U' instead of 'Administrator369Oprize4U' shouldn't it?
yes i think so. It seems that there is a escaping problem in the script.
Perhaps try a other password ......

regards

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


tinjaw
Beiträge: 21
Registriert: 08 Sep 2010, 18:09

Re: error using opsi-deploy-client-agent

Beitrag von tinjaw »

I am using a simpler password, and I believe that portion of the problem is resolved. However, I am still getting the error NT_STATUS_NO_MEMORY and it is still using the fqdn even though I am not using the -c option.
Xane
Beiträge: 17
Registriert: 07 Mär 2011, 08:32
Wohnort: Hannover
Kontaktdaten:

Re: error using opsi-deploy-client-agent

Beitrag von Xane »

I have experienced the exact same problem once, solved it by using the hostname without the domain suffix.
Had to manually edit the deployment script, but this basicly solved my NT_STATUS_NO_MEMORY issue.

If you want to try it out, open the script at "\opt\pcbin\install\opsi-client-agent\opsi-deploy-client-agent" and locate this portion of the script (around line 89):

Code: Alles auswählen

def winexe(cmd, host, username, password):
	cmd      = forceUnicode(cmd)
	host     = forceUnicode(host)
	username = forceUnicode(username)
	password = forceUnicode(password)
Add the following line anywhere after "host = forceUnicode(host)":

Code: Alles auswählen

host     = host.split('.')[0]
It should now look like this:

Code: Alles auswählen

def winexe(cmd, host, username, password):
	cmd      = forceUnicode(cmd)
	host     = forceUnicode(host)
	host     = host.split('.')[0]
	username = forceUnicode(username)
	password = forceUnicode(password)
Now try to run the script and post the results.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: error using opsi-deploy-client-agent

Beitrag von d.oertel »

Hi,

thank you for the hint - it is incuded in the next update.

regards

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


Antworten