Fehlerhafte JSON-Requests

Antworten
andreas.semt
Beiträge: 12
Registriert: 29 Aug 2008, 16:16

Fehlerhafte JSON-Requests

Beitrag von andreas.semt »

Hallo zusammen,

Setup:
opsi 3.3 (ohne Update vom 28.08.2008) unter VMware-Workstation, zwei physikalische Rechner als Testclients.
Die zwei Rechner und die opsi-Server-VM hängen alle an einem Switch, in einem isolierten Netz (das dann nur
aus diesen drei Rechnern besteht).

Probleme:
Hier möchte ich kurz zwei Auszüge aus den Logfiles posten, da ich der Meinung bin, dass man den Fehler hier
gut erkennen kann. Auf dem Testrechner mit der Bezeichnung "potcn-typ3-02" mit der IP 192.168.1.5 sollte
Firefox und der FlashPlayer installiert werden, hier der Auszug aus dem Client-Log-File C:\tmp\instlog.err:

Code: Alles auswählen


Auszug aus: "C:\tmp\instlog.err"

<snip>
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getInstallableLocalBootProductIds%5Flist%22,%22params%22:%5B%22potcn-typ3-02.zzz.de%22%5D%7D
bootmode BKSTD
winst: Start sorting of products (03.09.2008 20:19:04)
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductDependencies%5FlistOfHashes%22,%22params%22:%5B%5D%7D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Resolved sequence of products (03.09.2008 20:19:04): 
Product 6 	firefox : setup
Product 11 	flashplayer : setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductProperties%5Fhash%22,%22params%22:%5B%22firefox%22,%22potcn-typ3-02.zzz.de%22%5D%7D
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getProduct%5Fhash%22,%22params%22:%5B%22firefox%22,%22Die%20Verbindung%20wurde%20erfolgreich%20geschlossen.%22%5D%7D
Error: --- opsi service problem ---{"message":"Product 'firefox' not found on depot 'die verbindung wurde erfolgreich geschlossen.'","class":"BackendMissingDataError"}
scriptname: "", special path: "P:\install\firefox\"
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22firefox%22,%22potcn-typ3-02.zzz.de%22,%22installing%22%5D%7D
no script found
no script found
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22firefox%22,%22potcn-typ3-02.zzz.de%22,%22installed%22%5D%7D
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductActionRequest%22,%22params%22:%5B%22firefox%22,%22potcn-typ3-02.zzz.de%22,%22none%22%5D%7D
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductProperties%5Fhash%22,%22params%22:%5B%22flashplayer%22,%22potcn-typ3-02.zzz.de%22%5D%7D
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getProduct%5Fhash%22,%22params%22:%5B%22flashplayer%22,%22Die%20Verbindung%20wurde%20erfolgreich%20geschlossen.%22%5D%7D
Error: --- opsi service problem ---{"message":"Product 'flashplayer' not found on depot 'die verbindung wurde erfolgreich geschlossen.'","class":"BackendMissingDataError"}
scriptname: "", special path: "P:\install\flashplayer\"
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22flashplayer%22,%22potcn-typ3-02.zzz.de%22,%22installing%22%5D%7D
no script found
no script found
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22flashplayer%22,%22potcn-typ3-02.zzz.de%22,%22installed%22%5D%7D
03.09.2008 20:19:04 JSON service request https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductActionRequest%22,%22params%22:%5B%22flashplayer%22,%22potcn-typ3-02.zzz.de%22,%22none%22%5D%7D
============  winst Version 4.6.1 WIN32 is regularly exiting. Time 2008-09-03  20:19:05 .
<snap>
Auf dem Server taucht der Fehler in der Log-Datei: /var/log/opsi/opsiconfd/192.168.1.5.log natürlich ebenso auf, hier der Auszug:

Code: Alles auswählen

Auszug aus: "/var/log/opsi/opsiconfd/192.168.1.5.log"

<snip>
(4) Sep 03 14:13:59 BackendManager created. (opsiconfd|403)
(4) Sep 03 14:14:56 Client '192.168.1.5' did not send cookie (opsiconfd|271)
(4) Sep 03 14:14:56 New session created (opsiconfd|938)
(4) Sep 03 14:14:56 Authorization request from potcn-typ3-02.zzz.de@192.168.1.5 (opsiconfd|366)
(3) Sep 03 14:15:52 Failed to resolve hostname 'potcn-typ3-02.zzz.de': (-2, 'Name or service not known') (opsiconfd|383)
(4) Sep 03 14:15:52 Host login attempt with username 'potcn-typ3-02.zzz.de' from ip '192.168.1.5', but name resolves to '[]', ip verification is disabled (access granted) (opsiconfd|394)
(4) Sep 03 14:15:52 BackendManager created. (opsiconfd|403)
(3) Sep 03 14:16:49 Is not a directory: '/var/lib/opsi/config/depots/die verbindung wurde erfolgreich geschlossen./products/localboot' (File31.py|1560)
(3) Sep 03 14:16:49 Is not a directory: '/var/lib/opsi/config/depots/die verbindung wurde erfolgreich geschlossen./products/netboot' (File31.py|1560)
(2) Sep 03 14:16:49 Product 'firefox' not found on depot 'die verbindung wurde erfolgreich geschlossen.' (opsiconfd|529)
(3) Sep 03 14:16:49 Is not a directory: '/var/lib/opsi/config/depots/die verbindung wurde erfolgreich geschlossen./products/localboot' (File31.py|1560)
(3) Sep 03 14:16:49 Is not a directory: '/var/lib/opsi/config/depots/die verbindung wurde erfolgreich geschlossen./products/netboot' (File31.py|1560)
(2) Sep 03 14:16:49 Product 'flashplayer' not found on depot 'die verbindung wurde erfolgreich geschlossen.' (opsiconfd|529)
<snap>
Irgendwie werden dort im JSON-Request Parameter gesendet, deren Wert: die verbindung wurde erfolgreich geschlossen. lauten soll.
Das sieht doch schwer nach einem Bug (Spekulation: Eventuell im Threading des opsiconfd?) aus, oder?
Kann diesen Bug jemand (eventuell von uib) bestätigen?
Wurde dieser Bug eventuell schon im letzten Update (von 28.08.2008) von opsi Version 3.3 gefixt?
Gibt es ein Changelog des opsiconfd, das öffentlich einsehbar ist (um die vorige Frage zu klären)?

Vielen Dank schon mal an dieser Stelle für erhellende Antworten!


Beste Grüße,
Andreas Semt
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: Fehlerhafte JSON-Requests

Beitrag von j.schneider »

Hallo!

Das sieht mir danach aus, als würde der Client denken seine depotId wäre 'die verbindung wurde erfolgreich geschlossen.'
Bitte einmal die Ausgaben der folgenden Befehle und die Datei c:\tmp\logonlog.txt posten:

Code: Alles auswählen

opsi-admin -d method getNetworkConfig_hash potcn-typ3-02.zzz.de
opsi-admin -d method getDepotIds_list
Gruß
Jan Schneider
andreas.semt
Beiträge: 12
Registriert: 29 Aug 2008, 16:16

Re: Fehlerhafte JSON-Requests

Beitrag von andreas.semt »

Hallo Herr Schneider,
Das sieht mir danach aus, als würde der Client denken seine depotId wäre 'die verbindung wurde erfolgreich geschlossen.'
Genau das scheint das Problem zu sein. Dazu muss ich ergänzen, dass ich auf dem Client potcn-typ3-02.zzz.de schon WinXP Pro und
einige andere Pakete mit opsi installiert habe, die Konfiguration an sich also korrekt ist. Allerdings gerät opsi ab und an aus dem Tritt, wie
mir scheint.
Hier die Ausgabe von opsi-admin -d method getNetworkConfig_hash potcn-typ3-02.zzz.de:

Code: Alles auswählen

{
"depotDrive" : "P:",
"nextBootServiceURL" : "https://192.168.1.1:4447",
"utilsUrl" : "smb://opsicdversion/opt_pcbin/utils",
"configUrl" : "smb://opsicdversion/opt_pcbin/pcpatch",
"utilsDrive" : "P:",
"opsiServer" : "opsicdversion.zzz.de",
"nextBootServerType" : "service",
"depotUrl" : "smb://opsicdversion/opt_pcbin/install",
"depotId" : "opsicdversion.zzz.de",
"configDrive" : "O:",
"winDomain" : "OPSIATZZZ"
}
Hier die Ausgabe von: opsi-admin -d method getDepotIds_list

Code: Alles auswählen

[
"opsicdversion.zzz.de"
]
Ich hoffe das hilft Ihnen weiter, dem Bug - so es denn einer ist - auf die Spur zu kommen.


Freundliche Grüße,
Andreas Semt
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: Fehlerhafte JSON-Requests

Beitrag von j.schneider »

Hallo,

bitte noch die logonlog.txt posten.
Danke!

Gruß
Jan Schneider
andreas.semt
Beiträge: 12
Registriert: 29 Aug 2008, 16:16

Re: Fehlerhafte JSON-Requests

Beitrag von andreas.semt »

Hallo Herr Schneider,
bitte noch die logonlog.txt posten.
Ja, natürlich:

Code: Alles auswählen

03.09.2008 20:14:20     ============================   pcptch Version 3.8.8   ============================ 
03.09.2008 20:14:22     starting pcptch
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22     ipconfig /all ::: Windows-IP-Konfiguration
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22     ipconfig /all :::         Hostname. . . . . . . . . . . . . : potcn-typ3-02
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Primõres DNS-Suffix . . . . . . . : 
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Knotentyp . . . . . . . . . . . . : Hybrid
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         IP-Routing aktiviert. . . . . . . : Nein
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         WINS-Proxy aktiviert. . . . . . . : Nein
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         DNS-Suffixsuchliste . . . . . . . : zzz.de
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22     ipconfig /all ::: Ethernetadapter LAN-Verbindung:
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22  ~  
03.09.2008 20:14:22     ipconfig /all :::         Verbindungsspezifisches DNS-Suffix: zzz.de
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Beschreibung. . . . . . . . . . . : Intel(R) 82566DC-2 Gigabit Network Connection
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Physikalische Adresse . . . . . . : 00-1C-C0-30-29-43
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         DHCP aktiviert. . . . . . . . . . : Ja
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Autokonfiguration aktiviert . . . : Ja
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         IP-Adresse. . . . . . . . . . . . : 192.168.1.5
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Subnetzmaske. . . . . . . . . . . : 255.255.255.0
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Standardgateway . . . . . . . . . : 192.168.1.254
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         DHCP-Server . . . . . . . . . . . : 192.168.1.1
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         DNS-Server. . . . . . . . . . . . : 192.168.1.254
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Primõrer WINS-Server. . . . . . . : 192.168.1.1
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Lease erhalten. . . . . . . . . . : Mittwoch, 3. September 2008 20:14:16
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     ipconfig /all :::         Lease lõuft ab. . . . . . . . . . : Mittwoch, 3. September 2008 20:24:16
03.09.2008 20:14:22     ipconfig /all ::: 
03.09.2008 20:14:22     getting IP-Names from Environment
03.09.2008 20:14:22     ipName from system:   potcn-typ3-02
03.09.2008 20:14:22     ipAddress from system:   192.168.1.5
03.09.2008 20:14:22     retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: POTCN-TYP3-02
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
03.09.2008 20:14:22     Button StopNetworking enabled
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, SecsUntilConnectionTimeOut: 180
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, pcprotoname: pcproto.ini
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, patchlevelTyp: 
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, copydefaultuser: 0
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, networkEntriesFromEnvironment: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, WinstLocalDirectory: C:\Programme\opsi.org\preloginloader\utils
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, ConfigDirectory: C:\Programme\opsi.org\preloginloader\cfg
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalCopyOfIniFile: 0
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalWinst: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\general, opsiconf: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, pingcheck: 1
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServerType: service
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServiceURL: https://192.168.1.1:4447
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, repeatServiceConnectNo: 3
03.09.2008 20:14:22     opsiconf true
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, pckey:  DONT SHOW IT
03.09.2008 20:14:22     reading pckey from file "C:\Programme\opsi.org\preloginloader\cfg\locked.cfg"
03.09.2008 20:14:22     pckey read from file
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\general, tftpserver: opsicdversion.zzz.de
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\general, configlocal: 0
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, user: pcpatch
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, smbusername1: opsiserver\pcpatch
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, try_secondary_user: 0
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, pcpatchpass: 91783a2968aa860b
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, depoturl: smb:\\opsicdversion\opt_pcbin\install
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, configurl: smb:\\opsicdversion\opt_pcbin\install
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsurl: smb:\\opsicdversion\opt_pcbin\utils
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsdrive: P:
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, configdrive: P:
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\shareinfo, depotdrive: P:
03.09.2008 20:14:22     retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
03.09.2008 20:14:22     Button StopNetworking enabled
03.09.2008 20:14:22     servicehost reached in 0 ms
03.09.2008 20:14:22      determining opsi client ID
03.09.2008 20:14:22     opsi service with URL https://192.168.1.1:4447
03.09.2008 20:14:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getHostId%22,%22params%22:%5B%5D%7D"
03.09.2008 20:14:22     json general Result "{"error":null,"id":1,"result":""}"
03.09.2008 20:14:22     No client ID got from service
03.09.2008 20:14:22     Try with ipname from local system: potcn-typ3-02
03.09.2008 20:14:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getDomain%22,%22params%22:%5B%5D%7D"
03.09.2008 20:14:22     json general Result "{"error":null,"id":1,"result":"zzz.de"}"
03.09.2008 20:14:22     Default domain from service >zzz.de<
03.09.2008 20:14:22     we supplement default domain from service to name: potcn-typ3-02
03.09.2008 20:14:22     We have client ID potcn-typ3-02.zzz.de
03.09.2008 20:14:22     opsi service with URL https://192.168.1.1:4447
03.09.2008 20:14:22     opsi service "https://192.168.1.1:4447", client "potcn-typ3-02.zzz.de" , username "potcn-typ3-02.zzz.de"
03.09.2008 20:14:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
03.09.2008 20:15:23     opsi service problem: Zeitüberschreitung beim Lesen
03.09.2008 20:15:23     error on trying to connect to opsi service https://192.168.1.1:4447, username "potcn-typ3-02.zzz.de" , message " error: Zeitüberschreitung beim Lesen"
03.09.2008 20:15:23     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
03.09.2008 20:16:22     json general Result "{"error":null,"id":1,"result":true}"
03.09.2008 20:16:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getNetworkConfig%5Fhash%22,%22params%22:%5B%22potcn-typ3-02.zzz.de%22%5D%7D"
03.09.2008 20:16:22     json general Result "{"error":null,"id":1,"result":true}"
03.09.2008 20:16:22     depoturl for client potcn-typ3-02.zzz.de from opsi service: 
03.09.2008 20:16:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getNetworkConfig%5Fhash%22,%22params%22:%5B%22potcn-typ3-02.zzz.de%22%5D%7D"
03.09.2008 20:16:22     json general Result "{"error":null,"id":1,"result":{"depotDrive":"P:","nextBootServiceURL":"https://192.168.1.1:4447","utilsUrl":"smb://opsicdversion/opt_pcbin/utils","configUrl":"smb://opsicdversion/opt_pcbin/pcpatch","utilsDrive":"P:","opsiServer":"opsicdversion.zzz.de","nextBootServerType":"service","depotUrl":"smb://opsicdversion/opt_pcbin/install","depotId":"opsicdversion.zzz.de","configDrive":"O:","winDomain":"OPSIATZZZ"}}"
03.09.2008 20:16:22     utilsurl for client potcn-typ3-02.zzz.de from opsi service: smb://opsicdversion/opt_pcbin/utils
03.09.2008 20:16:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getPcpatchPassword%22,%22params%22:%5B%22potcn-typ3-02.zzz.de%22%5D%7D"
03.09.2008 20:16:22     json general Result "{"error":null,"id":1,"result":{"depotDrive":"P:","nextBootServiceURL":"https://192.168.1.1:4447","utilsUrl":"smb://opsicdversion/opt_pcbin/utils","configUrl":"smb://opsicdversion/opt_pcbin/pcpatch","utilsDrive":"P:","opsiServer":"opsicdversion.zzz.de","nextBootServerType":"service","depotUrl":"smb://opsicdversion/opt_pcbin/install","depotId":"opsicdversion.zzz.de","configDrive":"O:","winDomain":"OPSIATZZZ"}}"
03.09.2008 20:16:22     fetched encryptedpass from opsi service 
03.09.2008 20:16:22     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getGeneralConfig%5Fhash%22,%22params%22:%5B%22potcn-typ3-02.zzz.de%22%5D%7D"
03.09.2008 20:16:22     json general Result "{"error":null,"id":1,"result":"91783a2968aa860b"}"
03.09.2008 20:16:22     ipNameHost: /* not found */
03.09.2008 20:16:22     depoturl: smb:\\opsicdversion\opt_pcbin\install
03.09.2008 20:16:22     configurl: smb:\\opsicdversion\opt_pcbin\install
03.09.2008 20:16:22     utilsurl: smb://opsicdversion/opt_pcbin/utils
03.09.2008 20:16:22     depot drive: P:
03.09.2008 20:16:22     config drive: P:
03.09.2008 20:16:22     utils drive: P:
03.09.2008 20:16:22     depotshare \\opsicdversion\opt_pcbin
03.09.2008 20:16:22     depotdir \install
03.09.2008 20:16:22     configshare \\opsicdversion\opt_pcbin
03.09.2008 20:16:22     configdir \install
03.09.2008 20:16:22     utilsshare \\opsicdversion\opt_pcbin
03.09.2008 20:16:22     utilsdir \utils
03.09.2008 20:16:22     winstMasterDirectory P:\utils
03.09.2008 20:16:22     Profildateienpfad P:\install\
03.09.2008 20:16:22     Bootmode BKSTD
03.09.2008 20:16:22     trying to connect remote resource "\\opsicdversion\opt_pcbin" to local resource "P:"
03.09.2008 20:16:51      Fehler 86 ("Das angegebene Netzwerkkennwort ist falsch")
03.09.2008 20:16:51      Fehler 0 ("Der Vorgang wurde erfolgreich beendet")
03.09.2008 20:16:51     Netzverbindung von P: zu \\opsicdversion\opt_pcbin hergestellt
03.09.2008 20:16:51     user of the process: pcpatch
03.09.2008 20:16:51     start working based on the network connection
03.09.2008 20:16:51     Local winst exists and seems to be up to date
03.09.2008 20:16:51     RebootRequested set to 0
03.09.2008 20:16:51     starting process: "C:\Programme\opsi.org\preloginloader\utils\winst32.exe" /opsiservice https://192.168.1.1:4447 /clientid potcn-typ3-02.zzz.de /username potcn-typ3-02.zzz.de  /password PASSWORD
03.09.2008 20:19:05     Calling cancel connection resource: P:
03.09.2008 20:19:05     Cancelled: connection to resource: P:
03.09.2008 20:19:07     ending pcptch
03.09.2008 20:19:07     Initiating log off
03.09.2008 20:19:07     WinstRegRebootVar  0
03.09.2008 20:19:07     According to registry key in HKLM\SOFTWARE\opsi.org\winst, Variable RebootRequested resp. ShutdownRequested:   no shutdown and no logoff

Beste Grüße,
Andreas Semt
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: Fehlerhafte JSON-Requests

Beitrag von j.schneider »

Hallo,

da scheint mir etwas mit dem Samba-Password nicht zu stimmen.
andreas.semt hat geschrieben:

Code: Alles auswählen

03.09.2008 20:16:22     trying to connect remote resource "\\opsicdversion\opt_pcbin" to local resource "P:"
03.09.2008 20:16:51      Fehler 86 ("Das angegebene Netzwerkkennwort ist falsch")
03.09.2008 20:16:51      Fehler 0 ("Der Vorgang wurde erfolgreich beendet")
Bitte das pcpatch passwort auf dem Server einmal neu setzten:

Code: Alles auswählen

opsi-admin -d task setPcpatchPassword
Die Wechselwirkung mit der depot-id ist mir momentan nicht klar, wir werden der Sache einmal nachgehen.

Mit freundlichen Grüßen
Jan Schneider
andreas.semt
Beiträge: 12
Registriert: 29 Aug 2008, 16:16

Re: Fehlerhafte JSON-Requests

Beitrag von andreas.semt »

Hallo Herr Schneider,
da scheint mir etwas mit dem Samba-Password nicht zu stimmen.
Ja, das scheint so. Aber wieso konnte ich denn dann mit opsi schon Pakete auf diesem Rechner installieren?
Es kann doch nicht sein, dass das Passwort einmal korrekt ist und dann wieder nicht? :shock:


Freundliche Grüße,
Andreas Semt
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: Fehlerhafte JSON-Requests

Beitrag von r.roeder »

Hallo Herr Semt,

bitte posten Sie auch noch die Ausgabe von

opsi-admin -d method getDepotId potcn-typ3-02.zzz.de

Viele Grüße,

R. Röder
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.


Wondering who's using opsi? Have a look at the opsi map: http://opsi.org/opsi-map/.
andreas.semt
Beiträge: 12
Registriert: 29 Aug 2008, 16:16

Re: Fehlerhafte JSON-Requests

Beitrag von andreas.semt »

Hallo Herr Röder,
bitte posten Sie auch noch die Ausgabe von

opsi-admin -d method getDepotId potcn-typ3-02.zzz.de
gern:

Code: Alles auswählen

opsicdversion:~# opsi-admin -d method getDepotId potcn-typ3-02.zzz.de
"opsicdversion.zzz.de"

Freundliche Grüße,
Andreas Semt
Antworten