Seite 1 von 1

Script not found?

Verfasst: 21 Sep 2011, 13:09
von hoscht13
Hallo,

wir haben jetzt 10 Clients an einem Opsi Server. Bei der Auslieferung von Paketen kommt es jedoch zu Problemen, dass zwei drittel mit einem Fehler scheitern.

Hier ein log wo es funktioniert:

Code: Alles auswählen

[1] [21.09.2011 11:31:46] opsi-winst 4.11.1.1 started at 21.09.2011 11:31:44
[6] [21.09.2011 11:31:46] JSON service request https://192.168.100.6:4447/rpc getDepotId
[6] [21.09.2011 11:31:47] JSON service request https://192.168.100.6:4447/rpc backend_setOptions
[6] [21.09.2011 11:31:47] JSON service request https://192.168.100.6:4447/rpc productOnClient_getObjects
[1] [21.09.2011 11:31:47] action entry : opsi-client-agent=none
[1] [21.09.2011 11:31:47] state entry : opsi-client-agent=installed
[1] [21.09.2011 11:31:47] action entry : firefox=none
[1] [21.09.2011 11:31:47] state entry : firefox=installed
[1] [21.09.2011 11:31:47] action entry : vlc=none
[1] [21.09.2011 11:31:47] state entry : vlc=installed
[1] [21.09.2011 11:31:47] action entry : hwaudit=none
[1] [21.09.2011 11:31:47] state entry : hwaudit=installed
[1] [21.09.2011 11:31:47] action entry : fplayer=none
[1] [21.09.2011 11:31:47] state entry : fplayer=installed
[1] [21.09.2011 11:31:47] action entry : java=setup
[1] [21.09.2011 11:31:47] state entry : java=installed
[1] [21.09.2011 11:31:47] action entry : areader=none
[1] [21.09.2011 11:31:47] state entry : areader=installed
[1] [21.09.2011 11:31:47] action entry : swaudit=none
[1] [21.09.2011 11:31:47] state entry : swaudit=installed
[1] [21.09.2011 11:31:47] Product : opsi-client-agent
[1] [21.09.2011 11:31:47] Product : firefox
[1] [21.09.2011 11:31:47] Product : vlc
[1] [21.09.2011 11:31:47] Product : hwaudit
[1] [21.09.2011 11:31:47] Product : fplayer
[1] [21.09.2011 11:31:47] Product : java
[1] [21.09.2011 11:31:47] Product : areader
[1] [21.09.2011 11:31:47] Product : swaudit
[1] [21.09.2011 11:31:47] Product sequence calculated by opsi-server
[5] [21.09.2011 11:31:47] Computername:it108.ete-abz.ef
[5] [21.09.2011 11:31:47] Computername according to Environment Variable :IT108
[5] [21.09.2011 11:31:47] opsi service URL https://192.168.100.6:4447
[5] [21.09.2011 11:31:47] Depot path:  p:\
[5] [21.09.2011 11:31:47] 
[6] [21.09.2011 11:31:47] bootmode from registry: BKSTD
[5] [21.09.2011 11:31:47] bootmode BKSTD
[5] [21.09.2011 11:31:47] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [21.09.2011 11:31:47] Resolved sequence of products (21.09.2011 11:31:47): 
[5] [21.09.2011 11:31:47] Product 5 	java : setup
[5] [21.09.2011 11:31:47] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [21.09.2011 11:31:48] JSON service request https://192.168.100.6:4447/rpc getProductProperties_hash
[6] [21.09.2011 11:31:48] JSON service request https://192.168.100.6:4447/rpc getProduct_hash
[1] [21.09.2011 11:31:48] in TOpsi4Data.initProduct : java
[6] [21.09.2011 11:31:48] JSON service request https://192.168.100.6:4447/rpc productOnClient_getObjects
[5] [21.09.2011 11:31:48] scriptname: "java.ins", special path: "p:\java\"
[6] [21.09.2011 11:31:48] JSON service request https://192.168.100.6:4447/rpc productOnClient_updateObject
[1] [21.09.2011 11:31:48] 
[1] [21.09.2011 11:31:48] ============ Version 4.11.1.1 WIN32 script "p:\java\java.ins"
[1] [21.09.2011 11:31:48]              start: 2011-09-21  11:31:48 
[1] [21.09.2011 11:31:48]              on client named    "it108.ete-abz.ef"
[1] [21.09.2011 11:31:48]              user account    "pcpatch"
[1] [21.09.2011 11:31:48]              winst running as admin
[1] [21.09.2011 11:31:48] [executing: "C:\Programme\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [21.09.2011 11:31:48] system infos:
[1] [21.09.2011 11:31:48] 00-22-15-A1-99-1B  -  PC hardware address
[1] [21.09.2011 11:31:48] IT108.ete-abz.ef  -  IP name 
[1] [21.09.2011 11:31:48] 192.168.101.28  -  IP address
[1] [21.09.2011 11:31:48] DEU  -  System default locale 
[1] [21.09.2011 11:31:48] opsi service version : 4
[1] [21.09.2011 11:31:48] 
[6] [21.09.2011 11:31:48] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [21.09.2011 11:31:48] Key closed
[1] [21.09.2011 11:31:48] LogLevel was 6
[1] [21.09.2011 11:31:48] LogLevel set to 4
[1] [21.09.2011 11:34:42] ___________________
[1] [21.09.2011 11:34:42] script finished
[1] [21.09.2011 11:34:42] 0 errors
[1] [21.09.2011 11:34:42] 0 warnings
[1] [21.09.2011 11:34:42] 
[1] [21.09.2011 11:34:42] installed Produkt: java Version: 6.27-1
[1] [21.09.2011 11:34:42] opsi service version: 4
[1] [21.09.2011 11:34:42] 
[1] [21.09.2011 11:34:43] product "java set to update
[1] [21.09.2011 11:34:43] get Update script name ...
[1] [21.09.2011 11:34:43] Update script name: 
[1] [21.09.2011 11:34:43] Update script name: 
[1] [21.09.2011 11:34:43] we have no update script
und bei dem Rechner ging es nicht:

Code: Alles auswählen

[1] [21.09.2011 11:31:48] opsi-winst 4.11.1.1 started at 21.09.2011 11:31:45
[6] [21.09.2011 11:31:48] JSON service request https://192.168.100.6:4447/rpc getDepotId
[6] [21.09.2011 11:31:49] JSON service request https://192.168.100.6:4447/rpc backend_setOptions
[6] [21.09.2011 11:31:49] JSON service request https://192.168.100.6:4447/rpc productOnClient_getObjects
[1] [21.09.2011 11:31:50] action entry : opsi-client-agent=none
[1] [21.09.2011 11:31:50] state entry : opsi-client-agent=installed
[1] [21.09.2011 11:31:50] action entry : firefox=none
[1] [21.09.2011 11:31:50] state entry : firefox=installed
[1] [21.09.2011 11:31:50] action entry : vlc=none
[1] [21.09.2011 11:31:50] state entry : vlc=installed
[1] [21.09.2011 11:31:50] action entry : hwaudit=none
[1] [21.09.2011 11:31:50] state entry : hwaudit=installed
[1] [21.09.2011 11:31:50] action entry : fplayer=none
[1] [21.09.2011 11:31:50] state entry : fplayer=installed
[1] [21.09.2011 11:31:50] action entry : java=setup
[1] [21.09.2011 11:31:50] state entry : java=installed
[1] [21.09.2011 11:31:50] action entry : areader=none
[1] [21.09.2011 11:31:50] state entry : areader=installed
[1] [21.09.2011 11:31:50] action entry : swaudit=none
[1] [21.09.2011 11:31:50] state entry : swaudit=installed
[1] [21.09.2011 11:31:50] Product : opsi-client-agent
[1] [21.09.2011 11:31:50] Product : firefox
[1] [21.09.2011 11:31:50] Product : vlc
[1] [21.09.2011 11:31:50] Product : hwaudit
[1] [21.09.2011 11:31:50] Product : fplayer
[1] [21.09.2011 11:31:50] Product : java
[1] [21.09.2011 11:31:50] Product : areader
[1] [21.09.2011 11:31:50] Product : swaudit
[1] [21.09.2011 11:31:50] Product sequence calculated by opsi-server
[5] [21.09.2011 11:31:50] Computername:it109.ete-abz.ef
[5] [21.09.2011 11:31:50] Computername according to Environment Variable :IT109
[5] [21.09.2011 11:31:50] opsi service URL https://192.168.100.6:4447
[5] [21.09.2011 11:31:50] Depot path:  p:\install
[5] [21.09.2011 11:31:50] 
[6] [21.09.2011 11:31:50] bootmode from environment: /-!!- not found -!!-/
[5] [21.09.2011 11:31:50] bootmode /-!!- not found -!!-/
[5] [21.09.2011 11:31:50] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [21.09.2011 11:31:50] Resolved sequence of products (21.09.2011 11:31:50): 
[5] [21.09.2011 11:31:50] Product 5 	java : setup
[5] [21.09.2011 11:31:50] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [21.09.2011 11:31:50] JSON service request https://192.168.100.6:4447/rpc getProductProperties_hash
[6] [21.09.2011 11:31:51] JSON service request https://192.168.100.6:4447/rpc getProduct_hash
[1] [21.09.2011 11:31:52] in TOpsi4Data.initProduct : java
[6] [21.09.2011 11:31:52] JSON service request https://192.168.100.6:4447/rpc productOnClient_getObjects
[5] [21.09.2011 11:31:52] scriptname: "java.ins", special path: "p:\install\java\"
[6] [21.09.2011 11:31:52] JSON service request https://192.168.100.6:4447/rpc productOnClient_updateObject
[4] [21.09.2011 11:31:52] Script  p:\install\java\java.ins  not found File Err. No. 3 (Das System kann den angegebenen Pfad nicht finden.
) - retrying
[4] [21.09.2011 11:31:53] Script  p:\install\java\java.ins  not found File Err. No. 3 (Das System kann den angegebenen Pfad nicht finden.
) - retrying
[3] [21.09.2011 11:31:54] Script  p:\install\java\java.ins  not found File Err. No. 3 (Das System kann den angegebenen Pfad nicht finden.
) - giving up
[5] [21.09.2011 11:31:54] Error level set to fatal
[6] [21.09.2011 11:31:54] JSON service request https://192.168.100.6:4447/rpc setProductActionRequest
[1] [21.09.2011 11:31:56] product "java set to update
[1] [21.09.2011 11:31:56] get Update script name ...
[1] [21.09.2011 11:31:56] Update script name: 
[1] [21.09.2011 11:31:56] Update script name: 
[5] [21.09.2011 11:31:56] no script file name given
[1] [21.09.2011 11:31:56] we have no update script
[6] [21.09.2011 11:31:56] JSON service request https://192.168.100.6:4447/rpc productOnClient_updateObject
[3] [21.09.2011 11:31:56] Error: Registry key [HKLM\SOFTWARE\opsi.org\winst]   could not be opened by RegCreateKeyEx,  Errorno: 5 "Zugriff verweigert
"
[3] [21.09.2011 11:31:56]                 Error: Variable "RebootRequested"  could not be set  
[3] [21.09.2011 11:31:56]                 Error: Variable "LastLogFilename"  could not be set  
[3] [21.09.2011 11:31:56]                 Error: Variable "ContinueLogFile"  could not be set  
[6] [21.09.2011 11:31:56]                 Variable "NumberOfErrors"  not found. Code: 6
[4] [21.09.2011 11:31:56]                 Warning: Key could not be flushed. Error 6: "Das Handle ist ungültig.
"
Merkwürdig ist der Depot path. Mal ist er P: oder P:/install.

Grüße

Torsten

Re: Script not found?

Verfasst: 21 Sep 2011, 14:44
von d.oertel
Hi,

ich gehe mal davon aus das das ein opsi 4.0.1 ist.
Bitte mal den Anweisungen folgen in:
http://download.uib.de/opsi4.0/doc/html ... otreadonly

Und dann prüfen ob das Problem behoben ist.

gruss
d.oertel