Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Antworten
Florian
Beiträge: 3
Registriert: 21 Okt 2009, 15:13

Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Beitrag von Florian »

Hallo zusammen,

Ich beschäftige mich seit kurzem mit dem OPSI VM Server. Die Einrichtung des Depotservers inklusive einbinden der OPSI Pakete etc ist alles gut durchgelaufen.
Nun möchte ich per service_setup.cmd den ersten WindowsXP Cient einbinden. Die Installation läuft problemlos an, nach dem ersten Neustart erhalte ich aber die Fehlermeldung :
HTTP/1.1 401 Unauthorized

Server : gitopsi (192.168.1.1)
Client : XP32mgmt (192.168.1.4)

Ein Blick in die Logdateien auf der XP Maschine zeigt folgendes :

Code: Alles auswählen

21.10.2009 15:05:57     ============================   pcptch Version 3.9.3   ============================ 
21.10.2009 15:05:59     starting pcptch
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all ::: Windows-IP-Konfiguration
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all :::         Hostname. . . . . . . . . . . . . : xp32mgmt
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Primõres DNS-Suffix . . . . . . . : 
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Knotentyp . . . . . . . . . . . . : Hybrid
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         IP-Routing aktiviert. . . . . . . : Nein
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         WINS-Proxy aktiviert. . . . . . . : Nein
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DNS-Suffixsuchliste . . . . . . . : firma.lan
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::                                             git.local
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all ::: Ethernetadapter LAN-Verbindung:
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all :::         Verbindungsspezifisches DNS-Suffix: git.local
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Beschreibung. . . . . . . . . . . : Ethernetadapter der AMD-PCNET-Familie
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Physikalische Adresse . . . . . . : 08-00-27-3A-82-E1
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DHCP aktiviert. . . . . . . . . . : Ja
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Autokonfiguration aktiviert . . . : Ja
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         IP-Adresse. . . . . . . . . . . . : 192.168.1.4
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Subnetzmaske. . . . . . . . . . . : 255.255.255.0
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Standardgateway . . . . . . . . . : 
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DHCP-Server . . . . . . . . . . . : 192.168.1.1
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DNS-Server. . . . . . . . . . . . : 192.168.1.1
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Primõrer WINS-Server. . . . . . . : 192.168.1.1
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Lease erhalten. . . . . . . . . . : Mittwoch, 21. Oktober 2009 15:05:02
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Lease lõuft ab. . . . . . . . . . : Mittwoch, 21. Oktober 2009 15:15:02
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all ::: Ethernetadapter LAN-Verbindung 3:
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00  ~  
21.10.2009 15:06:00     ipconfig /all :::         Verbindungsspezifisches DNS-Suffix: firma.lan
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Beschreibung. . . . . . . . . . . : Ethernetadapter der AMD-PCNET-Familie #2
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Physikalische Adresse . . . . . . : 08-00-27-F2-25-5D
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DHCP aktiviert. . . . . . . . . . : Ja
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Autokonfiguration aktiviert . . . : Ja
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         IP-Adresse. . . . . . . . . . . . : 10.0.2.15
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Subnetzmaske. . . . . . . . . . . : 255.255.255.0
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Standardgateway . . . . . . . . . : 10.0.2.2
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DHCP-Server . . . . . . . . . . . : 10.0.2.2
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         DNS-Server. . . . . . . . . . . . : 10.2.1.1
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Lease erhalten. . . . . . . . . . : Mittwoch, 21. Oktober 2009 15:05:02
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     ipconfig /all :::         Lease lõuft ab. . . . . . . . . . : Donnerstag, 22. Oktober 2009 15:05:02
21.10.2009 15:06:00     ipconfig /all ::: 
21.10.2009 15:06:00     getting IP-Names from Environment
21.10.2009 15:06:00     ipName from system:   xp32mgmt
21.10.2009 15:06:00     ipAddress from system:   10.0.2.15
21.10.2009 15:06:00     retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: XP32MGMT
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib gmbh
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
21.10.2009 15:06:00     Button StopNetworking enabled
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, SecsUntilConnectionTimeOut: 10
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, pcprotoname: pcproto.ini
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, patchlevelTyp: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, copydefaultuser: 0
21.10.2009 15:06:00     registry-read-Fehler networkEntriesFromEnvironment Error: Fehler beim Holen der Daten für 'networkEntriesFromEnvironment'
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, networkEntriesFromEnvironment: -1
21.10.2009 15:06:00     key \SOFTWARE\opsi.org\pcptch taken default value true
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, WinstLocalDirectory: C:\Programme\opsi.org\preloginloader\opsi-winst
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, ConfigDirectory: C:\Programme\opsi.org\preloginloader\cfg
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalCopyOfIniFile: 0
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, makeLocalWinst: 1
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\general, opsiconf: 1
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, pingcheck: 1
21.10.2009 15:06:00     registry-read-Fehler sendlogtoservice Error: Fehler beim Holen der Daten für 'sendlogtoservice'
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, sendlogtoservice: -1
21.10.2009 15:06:00     key \SOFTWARE\opsi.org\pcptch taken default value true
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServerType: service
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, opsiServiceURL: https://192.168.1.1:4447
21.10.2009 15:06:00     registry-read-Fehler repeatServiceConnectNo Error: Fehler beim Holen der Daten für 'repeatServiceConnectNo'
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, repeatServiceConnectNo: 3
21.10.2009 15:06:00     opsiconf true
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, pckey:  DONT SHOW IT
21.10.2009 15:06:00     reading pckey from file "C:\Programme\opsi.org\preloginloader\cfg\locked.cfg"
21.10.2009 15:06:00     pckey read from file
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\general, tftpserver: /* not found */
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\general, configlocal: 0
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, user: florian
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, smbusername1: opsiserver\florian
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, try_secondary_user: 1
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, pcpatchpass: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, depoturl: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, configurl: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsurl: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, utilsdrive: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, configdrive: 
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\shareinfo, depotdrive: 
21.10.2009 15:06:00     Error: Requested bitmap could not be loaded
21.10.2009 15:06:00     retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
21.10.2009 15:06:00     Button StopNetworking enabled
21.10.2009 15:06:00     servicehost reached in 10 ms
21.10.2009 15:06:00      determining opsi client ID
21.10.2009 15:06:00     opsi service with URL https://192.168.1.1:4447
21.10.2009 15:06:00     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getHostId%22,%22params%22:%5B%5D%7D"
21.10.2009 15:06:01     json general Result "{"error":null,"id":1,"result":""}"
21.10.2009 15:06:01     No client ID got from service
21.10.2009 15:06:01     Try with ipname from local system: xp32mgmt
21.10.2009 15:06:01     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22getDomain%22,%22params%22:%5B%5D%7D"
21.10.2009 15:06:01     json general Result "{"error":null,"id":1,"result":"git.local"}"
21.10.2009 15:06:01     Default domain from service >git.local<
21.10.2009 15:06:01     we supplement default domain from service to name: xp32mgmt
21.10.2009 15:06:01     We have client ID xp32mgmt.git.local
21.10.2009 15:06:01     opsi service with URL https://192.168.1.1:4447
21.10.2009 15:06:01     opsi service "https://192.168.1.1:4447", client "xp32mgmt.git.local" , username "xp32mgmt.git.local"
21.10.2009 15:06:01     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
21.10.2009 15:06:21     opsi service problem: HTTP/1.1 401 Unauthorized
21.10.2009 15:06:21     error on trying to connect to opsi service https://192.168.1.1:4447, username "xp32mgmt.git.local" , message " error: HTTP/1.1 401 Unauthorized"
21.10.2009 15:06:21     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
21.10.2009 15:06:41     json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 192.168.1.1:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
21.10.2009 15:06:42     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
21.10.2009 15:07:02     json retrieval error "HTTP/1.1 401 Unauthorized", request was: "Content-Type: text/html
Host: 192.168.1.1:4447
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Authorization:XXXXXXX
21.10.2009 15:07:02     try_network_connect set to false 
21.10.2009 15:07:02  ~  
21.10.2009 15:07:02  ~  
21.10.2009 15:07:02  ~  
21.10.2009 15:07:02  ~  
21.10.2009 15:07:02  ~  
21.10.2009 15:07:02     getConfigsFromService failed, we dont try to connect anything
21.10.2009 15:07:02     ipNameHost: /* not found */
21.10.2009 15:07:02     depoturl: 
21.10.2009 15:07:02     configurl: 
21.10.2009 15:07:02     utilsurl: 
21.10.2009 15:07:02     depot drive: 
21.10.2009 15:07:02     config drive: 
21.10.2009 15:07:02     utils drive: 
21.10.2009 15:07:02     depotshare \\/* not found */\opt_pcbin
21.10.2009 15:07:02     depotdir \install
21.10.2009 15:07:02     configshare \\/* not found */\opt_pcbin
21.10.2009 15:07:02     configdir \pcpatch
21.10.2009 15:07:02     utilsshare \\/* not found */\opt_pcbin
21.10.2009 15:07:02     utilsdir \utils
21.10.2009 15:07:02     winstMasterDirectory p:\install\opsi-winst\files\opsi-winst
21.10.2009 15:07:02     Profildateienpfad p:\pcpatch\
21.10.2009 15:07:02     once more reading configs ---
21.10.2009 15:07:02     retrieved from registry \SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, Computername: XP32MGMT
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, mountdrive: 1
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, label1: opsi
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, label2: uib gmbh
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, loadbitmap: 1
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap1: winst1.bmp
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, bitmap2: winst2.bmp
21.10.2009 15:07:02     retrieved from registry \SOFTWARE\opsi.org\pcptch, button_stopnetworking: immediate
21.10.2009 15:07:02     Button StopNetworking enabled
21.10.2009 15:07:02     user of the process: pcpatch
21.10.2009 15:07:02     ending pcptch
21.10.2009 15:07:02     json call:  "https://192.168.1.1:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D"
21.10.2009 15:07:22     opsi service problem: HTTP/1.1 401 Unauthorized
21.10.2009 15:07:22     RebootRequested set to 0 
21.10.2009 15:07:22     ShutdownRequested set to 0 
Was mich hierbei ein wenig wundert ist der Benutzername, der in dem Logfile dem Maschinennamen entspricht - ist dies korrekt so ?
spocky184
Beiträge: 17
Registriert: 19 Okt 2009, 15:52

Re: Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Beitrag von spocky184 »

Hallo,
hast du in deinem Client xp32mgmt einen zweiten Netzwerkadapter konfiguriert (IP 10.0.2.15) ?
Offensichtlich versucht der Client über diese IP-Adresse den opsi server zu erreichen.
Vielleicht liegt da der Hund begraben. Versuche am Client mal nur eine Netzwerkkarte zu
konfigurieren (192.168.1.4).

Gruß
spocky184
Florian
Beiträge: 3
Registriert: 21 Okt 2009, 15:13

Re: Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Beitrag von Florian »

Hallo,

Auch ohne den zeiten Adapter kommt die geiche Fehlermeldung.

Die Installation kann ja auch starten und der DHCP Servers der OPSI VM verteilt ja auch die IP an den XP Client - erreichen tun sie sich somit untereinander.

Florian
spocky184
Beiträge: 17
Registriert: 19 Okt 2009, 15:52

Re: Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Beitrag von spocky184 »

Hallo Florian,

schade, hätte ja sein können :-(
kannst du noch einmal das letzte errorlog posten ?
was sagt denn das opsiconfd log ?

Gruß
spocky184
Florian
Beiträge: 3
Registriert: 21 Okt 2009, 15:13

Re: Opsi 3.4 (VM) - Windows XP Client Installation HTTP/1.1 401

Beitrag von Florian »

Hi,

Ich habe die Konfigurationen noch einmal aufgeräumt
- dhcpd.conf
- config.ini für den Clientinstall
- Bereits angelegte Clients

In der config.ini habe ich desweitern von preloginloader auf opsiclientd umgestellt und nun funktioniert es.

Hardware & Software Audit konnte ich nun erfolgreich durchführen und auch einige Appliationen installieren (7zip, Adobe Reader)

Jetzt geht es ans Feintuning :)

Florian
Antworten