error HTTP/1.1 401 Unauthorized
-
- Beiträge: 73
- Registriert: 01 Jul 2008, 13:12
- Wohnort: Mainz
error HTTP/1.1 401 Unauthorized
So, erster Eintrag im neuen Opsi Forum.
Sieht echt gut aus
Aber nun zum Problem, jeder Client der neugestartet wird bekommt die Fehlermeldung "error HTTP/1.1 401 Unauthorized"
Klicke ich auf abbrechen, so geht ein kleines Fenster auf mit "opsi reboot" dass der PC eruntergefahren wird.
Pingen lässt sich der Client vom server aus.
Updates sind auch alle drauf.
Opsi Version 3.2
Was mache ich falsch?!
Sieht echt gut aus
Aber nun zum Problem, jeder Client der neugestartet wird bekommt die Fehlermeldung "error HTTP/1.1 401 Unauthorized"
Klicke ich auf abbrechen, so geht ein kleines Fenster auf mit "opsi reboot" dass der PC eruntergefahren wird.
Pingen lässt sich der Client vom server aus.
Updates sind auch alle drauf.
Opsi Version 3.2
Was mache ich falsch?!
Re: error HTTP/1.1 401 Unauthorized
Hallo mro-ncd,
das klingt nach frisch installierten PC's (wegen dem Reboot).
Die Fehlermeldung besagt, das der Client sich nicht beim Service authentifizieren kann.
Authentifizieren tut er sich mit seinem Namen und seinem Key.
Mögliche Fehlerquellen:
DNS liefert für die IP-Nummer einen anderen Namen
/etc/opsi/pckeys ist defekt
Nähere Hinweise liefern die Logdateien:
c:\tmp\logonlog.txt
/var/log/opsi/opsiconfd/<ip-nummer>.log
Diese im Zweifelsfall mal posten.
gruss
detlef oertel
das klingt nach frisch installierten PC's (wegen dem Reboot).
Die Fehlermeldung besagt, das der Client sich nicht beim Service authentifizieren kann.
Authentifizieren tut er sich mit seinem Namen und seinem Key.
Mögliche Fehlerquellen:
DNS liefert für die IP-Nummer einen anderen Namen
/etc/opsi/pckeys ist defekt
Nähere Hinweise liefern die Logdateien:
c:\tmp\logonlog.txt
/var/log/opsi/opsiconfd/<ip-nummer>.log
Diese im Zweifelsfall mal posten.
gruss
detlef oertel
-
- Beiträge: 73
- Registriert: 01 Jul 2008, 13:12
- Wohnort: Mainz
Re: error HTTP/1.1 401 Unauthorized
Also pckeys scheint okay zu sein, fqdn und key steht drin
"fest.opsi-test.local:5615080abb85c6c944f11de54b7242b3"
hier ist die logonlog:
die letzten 2 zeilen wiederholen sich hier nur noch mehrere male
"fest.opsi-test.local:5615080abb85c6c944f11de54b7242b3"
hier ist die logonlog:
Code: Alles auswählen
[i]1.7.2008 15:32:00 ============================ pcptch Version 3.8.4 ============================
1.7.2008 15:32:02 starting pcptch
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ipconfig /all ::: Windows-IP-Konfiguration
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ipconfig /all ::: Hostname. . . . . . . . . . . . . : fest
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Primõres DNS-Suffix . . . . . . . :
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Knotentyp . . . . . . . . . . . . : Hybrid
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: IP-Routing aktiviert. . . . . . . : Nein
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: WINS-Proxy aktiviert. . . . . . . : Nein
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: DNS-Suffixsuchliste . . . . . . . : opsi-test.local
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ipconfig /all ::: Ethernetadapter LAN-Verbindung:
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ~
1.7.2008 15:32:02 ipconfig /all ::: Verbindungsspezifisches DNS-Suffix: opsi-test.local
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Beschreibung. . . . . . . . . . . : Realtek RTL8139-Familie-PCI-Fast Ethernet-NIC
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Physikalische Adresse . . . . . . : 00-30-05-A2-BB-2A
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: DHCP aktiviert. . . . . . . . . . : Ja
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Autokonfiguration aktiviert . . . : Ja
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: IP-Adresse. . . . . . . . . . . . : 192.168.4.200
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Subnetzmaske. . . . . . . . . . . : 255.255.255.0
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Standardgateway . . . . . . . . . : 192.168.4.1
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: DHCP-Server . . . . . . . . . . . : 192.168.4.40
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: DNS-Server. . . . . . . . . . . . : 192.168.1.2
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Primõrer WINS-Server. . . . . . . : 192.168.4.40
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Lease erhalten. . . . . . . . . . : Dienstag, 1. Juli 2008 15:31:57
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 ipconfig /all ::: Lease lõuft ab. . . . . . . . . . : Dienstag, 1. Juli 2008 15:41:57
1.7.2008 15:32:02 ipconfig /all :::
1.7.2008 15:32:02 getting IP-Names from Environment
1.7.2008 15:32:02 ipName from system: fest
1.7.2008 15:32:02 ipAddress from system: 192.168.4.200
1.7.2008 15:32:02 retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: FEST
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib umwelt informatik büro gmbh
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
1.7.2008 15:32:02 Button StopNetworking enabled
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, SecsUntilConnectionTimeOut: 180
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, pcprotoname: pcproto.ini
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, patchlevelTyp:
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, copydefaultuser: 0
1.7.2008 15:32:02 registry-read-Fehler networkEntriesFromEnvironment Error: Fehler beim Holen der Daten für 'networkEntriesFromEnvironment'
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, networkEntriesFromEnvironment: -1
1.7.2008 15:32:02 key \SOFTWARE\opsi.org\pcptch taken default value true
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, WinstLocalDirectory: C:\Programme\opsi.org\preloginloader\utils
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, ConfigDirectory: C:\Programme\opsi.org\preloginloader\cfg
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalCopyOfIniFile: 0
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalWinst: 1
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\general, opsiconf: 1
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServerType: service
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServiceURL: https://192.168.4.40:4447
1.7.2008 15:32:02 registry-read-Fehler repeatServiceConnectNo Error: Fehler beim Holen der Daten für 'repeatServiceConnectNo'
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, repeatServiceConnectNo: 3
1.7.2008 15:32:02 opsiconf true
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, pckey: DONT SHOW IT
1.7.2008 15:32:02 reading pckey from file "C:\Programme\opsi.org\preloginloader\cfg\locked.cfg"
1.7.2008 15:32:02 pckey read from file
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\general, tftpserver: 192.168.4.40
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\general, configlocal: 0
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, user: pcpatch
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, pcpatchpass: c334399a0530475e
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, depoturl: smb:\\opsistth\opt_pcbin\install
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, configurl: smb:\\opsistth\opt_pcbin\pcpatch
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsurl: smb:\\opsistth\opt_pcbin\utils
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsdrive: P:
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, configdrive: P:
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\shareinfo, depotdrive: P:
1.7.2008 15:32:02 retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
1.7.2008 15:32:02 Button StopNetworking enabled
1.7.2008 15:32:02 determining opsi client ID
1.7.2008 15:32:02 opsi service with URL https://192.168.4.40:4447
1.7.2008 15:32:02 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22getHostId%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:03 json general Result "{"error":null,"id":1,"result":"localhost"}"
1.7.2008 15:32:03 The opsi service tells that my ID is "localhost"
1.7.2008 15:32:03 opsi service with URL https://192.168.4.40:4447
1.7.2008 15:32:03 opsi service "https://192.168.4.40:4447", client "localhost" , username "localhost"
1.7.2008 15:32:03 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:04 opsi service problem: HTTP/1.1 401 Unauthorized
1.7.2008 15:32:04 error on trying to connect to opsi service https://192.168.4.40:4447, username "localhost" , message " error: HTTP/1.1 401 Unauthorized"
1.7.2008 15:32:05 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:06 json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 192.168.4.40:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
1.7.2008 15:32:06 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:09 json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 192.168.4.40:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
1.7.2008 15:32:09 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:11 json retrieval error ~ (as above)[/i]
Re: error HTTP/1.1 401 Unauthorized
Hallo,
das Problem zeigt sich in folgendem Log-Fragment:
Der Client lässt sich vom Service dazu überreden das sein name 'localhost' sei.
Offensichtlich ergibt die Rückwärtsauflösung der IP-Nummer des Clients 'localhost'.
Um dem Problem aus dem Weg zu gehen bitte in der
/etc/opsi/opsiconfd.conf einstellen:
Danach
Dann sollte das Problem nicht mehr auftauchen.
gruss
detlef oertel
das Problem zeigt sich in folgendem Log-Fragment:
Code: Alles auswählen
1.7.2008 15:32:02 json call: "https://192.168.4.40:4447/rpc?%7B%22id%22:1,%22method%22:%22getHostId%22,%22params%22:%5B%5D%7D"
1.7.2008 15:32:03 json general Result "{"error":null,"id":1,"result":"localhost"}"
1.7.2008 15:32:03 The opsi service tells that my ID is "localhost"
Offensichtlich ergibt die Rückwärtsauflösung der IP-Nummer des Clients 'localhost'.
Um dem Problem aus dem Weg zu gehen bitte in der
/etc/opsi/opsiconfd.conf einstellen:
Code: Alles auswählen
resolve ip = no
verify ip = no
Code: Alles auswählen
/etc/init.d/opsiconfd reload
gruss
detlef oertel
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
-
- Beiträge: 73
- Registriert: 01 Jul 2008, 13:12
- Wohnort: Mainz
Re: error HTTP/1.1 401 Unauthorized
Guten Morgen,
so hat es nun wunderbar funktioniert.
DANKE!!!!
Warum hat sich das auf "YES" gestellt ??
so hat es nun wunderbar funktioniert.
DANKE!!!!
Warum hat sich das auf "YES" gestellt ??
Re: error HTTP/1.1 401 Unauthorized
Hallo,
ich habe das gleiche Problem. Benutze die Version opsi3.3 auf einem Debian Etch System. Hier mein Log-Auszug:
Was kann ich machen?
ich habe das gleiche Problem. Benutze die Version opsi3.3 auf einem Debian Etch System. Hier mein Log-Auszug:
Code: Alles auswählen
25.09.2008 15:30:38 ============================ pcptch Version 3.9.1 ============================
25.09.2008 15:30:40 starting pcptch
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ipconfig /all ::: Windows-IP-Konfiguration
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ipconfig /all ::: Hostname. . . . . . . . . . . . . : imipool17
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Primõres DNS-Suffix . . . . . . . : imi.imi.uni-karlsruhe.de
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Knotentyp . . . . . . . . . . . . : Unbekannt
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: IP-Routing aktiviert. . . . . . . : Nein
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: WINS-Proxy aktiviert. . . . . . . : Nein
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: DNS-Suffixsuchliste . . . . . . . : imi.imi.uni-karlsruhe.de
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: imi.uni-karlsruhe.de
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ipconfig /all ::: Ethernetadapter LAN-Verbindung:
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ~
25.09.2008 15:30:40 ipconfig /all ::: Verbindungsspezifisches DNS-Suffix: imi.uni-karlsruhe.de
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Beschreibung. . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Physikalische Adresse . . . . . . : 00-1D-09-19-2C-CB
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: DHCP aktiviert. . . . . . . . . . : Ja
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Autokonfiguration aktiviert . . . : Ja
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: IP-Adresse. . . . . . . . . . . . : 172.22.151.43
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Subnetzmaske. . . . . . . . . . . : 255.255.0.0
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Standardgateway . . . . . . . . . : 172.22.151.254
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: DHCP-Server . . . . . . . . . . . : 172.22.151.218
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: DNS-Server. . . . . . . . . . . . : 172.22.151.69
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: 172.22.151.4
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Lease erhalten. . . . . . . . . . : Donnerstag, 25. September 2008 15:30:26
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 ipconfig /all ::: Lease lõuft ab. . . . . . . . . . : Donnerstag, 25. September 2008 15:40:26
25.09.2008 15:30:40 ipconfig /all :::
25.09.2008 15:30:40 getting IP-Names from Environment
25.09.2008 15:30:40 ipName from system: imipool17.imi.imi.uni-karlsruhe.de
25.09.2008 15:30:40 ipAddress from system: 172.22.151.43
25.09.2008 15:30:40 retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: IMIPOOL17
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib gmbh
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
25.09.2008 15:30:40 Button StopNetworking enabled
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, SecsUntilConnectionTimeOut: 180
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, pcprotoname: pcproto.ini
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, patchlevelTyp:
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, copydefaultuser: 0
25.09.2008 15:30:40 registry-read-Fehler networkEntriesFromEnvironment Error: Fehler beim Holen der Daten für 'networkEntriesFromEnvironment'
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, networkEntriesFromEnvironment: -1
25.09.2008 15:30:40 key \SOFTWARE\opsi.org\pcptch taken default value true
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, WinstLocalDirectory: C:\Programme\opsi.org\preloginloader\utils
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, ConfigDirectory: C:\Programme\opsi.org\preloginloader\cfg
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalCopyOfIniFile: 0
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalWinst: 1
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\general, opsiconf: 1
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, pingcheck: 1
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServerType: service
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServiceURL: https://172.22.151.229:4447
25.09.2008 15:30:40 registry-read-Fehler repeatServiceConnectNo Error: Fehler beim Holen der Daten für 'repeatServiceConnectNo'
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, repeatServiceConnectNo: 3
25.09.2008 15:30:40 opsiconf true
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, pckey: DONT SHOW IT
25.09.2008 15:30:40 reading pckey from file "C:\Programme\opsi.org\preloginloader\cfg\locked.cfg"
25.09.2008 15:30:40 pckey read from file
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\general, tftpserver: 172.22.151.229
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\general, configlocal: 0
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, user: pcpatch
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, smbusername1: opsiserver\pcpatch
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, try_secondary_user: 0
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, pcpatchpass: abcdef0123456789
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, depoturl: smb://imiserv1/opt_pcbin/install
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, configurl: smb://imiserv1/opt_pcbin/pcpatch
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsurl: smb://imiserv1/opt_pcbin/utils
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsdrive: P:
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, configdrive: P:
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\shareinfo, depotdrive: P:
25.09.2008 15:30:40 retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
25.09.2008 15:30:40 Button StopNetworking enabled
25.09.2008 15:30:40 servicehost reached in 0 ms
25.09.2008 15:30:40 determining opsi client ID
25.09.2008 15:30:40 opsi service with URL https://172.22.151.229:4447
25.09.2008 15:30:40 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22getHostId%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:41 json general Result "{"error":null,"id":1,"result":""}"
25.09.2008 15:30:41 No client ID got from service
25.09.2008 15:30:41 Try with ipname from local system: imipool17
25.09.2008 15:30:41 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22getDomain%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:41 json general Result "{"error":null,"id":1,"result":"imi.uni-karlsruhe.de"}"
25.09.2008 15:30:41 Default domain from service >imi.uni-karlsruhe.de<
25.09.2008 15:30:41 we supplement default domain from service to name: imipool17
25.09.2008 15:30:41 We have client ID imipool17.imi.uni-karlsruhe.de
25.09.2008 15:30:41 opsi service with URL https://172.22.151.229:4447
25.09.2008 15:30:41 opsi service "https://172.22.151.229:4447", client "imipool17.imi.uni-karlsruhe.de" , username "imipool17.imi.uni-karlsruhe.de"
25.09.2008 15:30:41 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:41 opsi service problem: HTTP/1.1 401 Unauthorized
25.09.2008 15:30:41 error on trying to connect to opsi service https://172.22.151.229:4447, username "imipool17.imi.uni-karlsruhe.de" , message " error: HTTP/1.1 401 Unauthorized"
25.09.2008 15:30:41 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:41 json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 172.22.151.229:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
25.09.2008 15:30:42 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:42 json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 172.22.151.229:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
25.09.2008 15:30:42 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:42 json retrieval error ~ (as above)
25.09.2008 15:30:42 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:42 json retrieval error ~ (as above)
25.09.2008 15:30:42 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:42 json retrieval error ~ (as above)
25.09.2008 15:30:42 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:42 json retrieval error ~ (as above)
25.09.2008 15:30:43 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:43 json retrieval error ~ (as above)
25.09.2008 15:30:43 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:43 json retrieval error ~ (as above)
25.09.2008 15:30:43 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:43 json retrieval error ~ (as above)
25.09.2008 15:30:43 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:43 json retrieval error ~ (as above)
25.09.2008 15:30:44 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:44 json retrieval error ~ (as above)
25.09.2008 15:30:44 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:44 json retrieval error ~ (as above)
25.09.2008 15:30:44 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:44 json retrieval error ~ (as above)
25.09.2008 15:30:44 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:44 json retrieval error ~ (as above)
25.09.2008 15:30:45 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:45 json retrieval error ~ (as above)
25.09.2008 15:30:45 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:45 json retrieval error ~ (as above)
25.09.2008 15:30:45 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:45 json retrieval error ~ (as above)
25.09.2008 15:30:45 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:45 json retrieval error ~ (as above)
25.09.2008 15:30:46 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:46 json retrieval error ~ (as above)
25.09.2008 15:30:46 try_network_connect set to false
25.09.2008 15:30:46 getConfigsFromService failed, we dont try to connect anything
25.09.2008 15:30:46 ipNameHost: /* not found */
25.09.2008 15:30:46 depoturl: smb://imiserv1/opt_pcbin/install
25.09.2008 15:30:46 configurl: smb://imiserv1/opt_pcbin/pcpatch
25.09.2008 15:30:46 utilsurl: smb://imiserv1/opt_pcbin/utils
25.09.2008 15:30:46 depot drive: P:
25.09.2008 15:30:46 config drive: P:
25.09.2008 15:30:46 utils drive: P:
25.09.2008 15:30:46 depotshare \\imiserv1\opt_pcbin
25.09.2008 15:30:46 depotdir \install
25.09.2008 15:30:46 configshare \\imiserv1\opt_pcbin
25.09.2008 15:30:46 configdir \pcpatch
25.09.2008 15:30:46 utilsshare \\imiserv1\opt_pcbin
25.09.2008 15:30:46 utilsdir \utils
25.09.2008 15:30:46 winstMasterDirectory P:\utils
25.09.2008 15:30:46 Profildateienpfad P:\pcpatch\
25.09.2008 15:30:46 once more reading configs ---
25.09.2008 15:30:46 retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: IMIPOOL17
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib gmbh
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
25.09.2008 15:30:46 retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
25.09.2008 15:30:46 Button StopNetworking enabled
25.09.2008 15:30:46 user of the process: pcpatch
25.09.2008 15:30:46 ending pcptch
25.09.2008 15:30:46 json call: "https://172.22.151.229:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
25.09.2008 15:30:46 opsi service problem: HTTP/1.1 401 Unauthorized
25.09.2008 15:30:46 RebootRequested set to 0
25.09.2008 15:30:46 ShutdownRequested set to 0
Re: error HTTP/1.1 401 Unauthorized
Schau mal was auf dem Client imipool17 in dieser Datei steht:
C:\Programme\opsi.org\preloginloader\cfg\locked.cfg
Und vergleiche den String mit der betreffenden Zeile aus /etc/opsi/pckeys auf dem Opsiserver.
Der String sollte übereinstimmen. Wenn er das nicht tut, auf dem Client den String eintragen, der auf dem Server hinterlegt ist.
C:\Programme\opsi.org\preloginloader\cfg\locked.cfg
Und vergleiche den String mit der betreffenden Zeile aus /etc/opsi/pckeys auf dem Opsiserver.
Der String sollte übereinstimmen. Wenn er das nicht tut, auf dem Client den String eintragen, der auf dem Server hinterlegt ist.
Re: error HTTP/1.1 401 Unauthorized
Danke für die Antwort. Das hat mir weitergeholfen.
-
- Beiträge: 19
- Registriert: 13 Mär 2009, 14:20
Re: error HTTP/1.1 401 Unauthorized
Hi,
habe das gleiche Problem, habe allerdings in der Datei locked.cfg folgendes stehen:
Kann mir jemand sagen wie der Inhalt diese Datei mit entsprechendem Key aussehen muss?
Habe jetzt
eingetragen.
Bekomme allerdings immer noch die gleiche Fehlermeldung: "Unauthorized"
habe das gleiche Problem, habe allerdings in der Datei locked.cfg folgendes stehen:
Code: Alles auswählen
[shareinfo]
pckey={"message":"Cannot find opsiHostkey from host 'goya.m2p.local' in file '/etc/opsi/pckeys' ","class":"BackendMissingDataError"}
Habe jetzt
Code: Alles auswählen
[shareinfo]
pckey={<Der Key aus etc/opsi/pckeys>}
Bekomme allerdings immer noch die gleiche Fehlermeldung: "Unauthorized"
Re: error HTTP/1.1 401 Unauthorized
hi,
empfehlung:
den preloginloader gemäss Handbuch
4.1.3.2. Verwendung von service_setup.cmd
neu installieren.
gruss
detlef oertel
empfehlung:
den preloginloader gemäss Handbuch
4.1.3.2. Verwendung von service_setup.cmd
neu installieren.
gruss
detlef oertel
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org