#31411 - 2002-10-25 05:03 PM
Citrix Server error
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
KiXtart 4.02 NT 4 Terminal Server - Service Pack 6 Citrix (Metaframe 1.8) - Service Pack 2
Just checked our W2k Citrix Servers and they are fine.
We are seeing in the Application Event Log: quote:
The description for Event ID ( 5 ) in Source ( KIXTART ) could not be found. It contains the following insertion string(s): WkstaGetInfo failed Error : Access is denied. (0x5/5).
Here is the Kixtart code used in our Citrix Environment:
code:
BREAK ON ;-- Added in on 10/22/2002 - Kent Dyer IF @wksta = "Server01" OR @wksta = "Server02" ; >> These are W2k Citrix Servers ; -- Added in on 10/22/2002 - Kent Dyer CALL @ldrive+"outlook.kix" IF (READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff") <> "1") $rc = WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff","1","REG_DWORD") ENDIF IF (READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips","tips") <> "0") $rc = WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer","tips","0","REG_DWORD") ENDIF IF (EXISTKEY("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security")<> 1) $rc = ADDKEY("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security") IF (READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security","Level")<> "1") $rc = WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security","Level","1","REG_DWORD") ENDIF ELSE IF (READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security","Level")<> "1") $rc = WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security","Level","1","REG_DWORD") ENDIF ENDIF RETURN ENDIF
;Check for the %TEMP% and %TMP% variables $envirolocation = "HKEY_CURRENT_USER\Environment" $temp = READVALUE($envirolocation, "TEMP") $tmp = READVALUE($envirolocation, "TMP") IF $temp = "" OR $temp = "N:\TEMP" $rc = WRITEVALUE($envirolocation,"TEMP", Chr(37)+Chr(83)+Chr(121)+Chr(115)+Chr(116)+Chr(101)+Chr(109)+Chr(68)+Chr(114)+Chr(105)+Chr(118)+Chr(101)+Chr(37)+"\Temp","REG_EXPAND_SZ")
ENDIF IF $tmp = "" OR $tmp = "N:\TEMP" $rc = WRITEVALUE($envirolocation,"TMP", Chr(37)+Chr(83)+Chr(121)+Chr(115)+Chr(116)+Chr(101)+Chr(109)+Chr(68)+Chr(114)+Chr(105)+Chr(118)+Chr(101)+Chr(37)+"\Temp","REG_EXPAND_SZ") ENDIF
$newtmpval = READVALUE($envirolocation, "TEMP")
;If we don't have these set, we need to set them IF %temp% = "" SET "TEMP="+$newtmpval ENDIF
IF %tmp% = "" SET "TMP="+$newtmpval ENDIF
; -- Write a Citrix Diagnostic File.. SHELL "%COMSPEC% /C DATE /T > \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C ECHO -- >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C TIME /T >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C ECHO -- >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C SET >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C ECHO -- >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt" SHELL "%COMSPEC% /C NET USE >> \\SHARESERVER\CITRIX_HOMEDIR\@userid\trouble.txt"
;ODBC check ;;$odbcfile="%windir%\ODBC.INI" $odbcfile="\\SHARESERVER\CITRIX_HOMEDIR\@userid\windows\ODBC.INI" $odbcchk = EXIST($odbcfile) IF $odbcchk <> 1 RETURN ENDIF $driver=READPROFILESTRING($odbcfile,"CBCWinAccess2","Driver") $description=READPROFILESTRING($odbcfile,"CBCWinAccess2","Description") $defaultdir=READPROFILESTRING($odbcfile,"CBCWinAccess2","DefaultDir") $dbq=READPROFILESTRING($odbcfile,"CBCWinAccess2","DBQ") $driverid=READPROFILESTRING($odbcfile,"CBCWinAccess2","DriverId") $fil=READPROFILESTRING($odbcfile,"CBCWinAccess2","FIL") $jetinipath=READPROFILESTRING($odbcfile,"CBCWinAccess2","JetIniPath") $databasename=READPROFILESTRING($odbcfile,"CBCWinAccess2","DatabaseName") $autostop=READPROFILESTRING($odbcfile,"CBCWinAccess2","AutoStop")
IF $driver <> "M:\WTSRV\System32\odbcjt16.dll" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","Driver","M:\WTSRV\System32\odbcjt16.dll") ENDIF IF $description <> "CBCWin data base" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","Description","CBCWin data base") ENDIF IF $defaultdir <> "R:\CBCWIN\program" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","DefaultDir","R:\CBCWIN\program") ENDIF IF $dbq <> "R:\CBCWIN\program\cbcwin2.mdb" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","DBQ","R:\CBCWIN\program\cbcwin2.mdb") ENDIF IF $driverid <> "25" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","DriverId","25") ENDIF IF $fil <> "MS Access" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","FIL","MS Access") ENDIF IF $jetinipath <> "odbcddp.ini" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","JetIniPath","odbcddp.ini") ENDIF IF $databasename <> "CBCWinDataBase" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","DatabaseName","CBCWinDataBase") ENDIF IF $autostop <> "yes" $rc = WRITEPROFILESTRING($odbcfile,"CBCWinAccess2","AutoStop","yes") ENDIF RETURN
Thanks,
Kent [ 25. October 2002, 17:07: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#31412 - 2002-10-25 05:19 PM
Re: Citrix Server error
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Did some more digging and found the following:
quote:
Event Type: Error Event Source: KIXTART Event Category: None Event ID: 5 Date: 10/24/2002 Time: 5:51:31 AM User: N/A Computer: SERVERnn Description: The description for Event ID ( 5 ) in Source ( KIXTART ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: WkstaGetInfo failed Error : Access is denied. (0x5/5).
Thanks,
Kent [ 25. October 2002, 17:21: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#31414 - 2002-10-27 01:26 AM
Re: Citrix Server error
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Dear Moderator -
Can you move this topic to the Beta Forum?
Thank you,
Kent
|
|
Top
|
|
|
|
#31416 - 2002-10-28 02:15 PM
Re: Citrix Server error
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Les,
You are right..
However, I am intersted in - (1) Why this is happening? (2) What is the resolution?
From what little I can put together on this it could be one or all of the following:
- Installing ADSNT4.EXE on the NT 4 Citrix boxes.
- Installing WMINT4.EXE on the NT 4 Citrix boxes.
- Updating to version 4.12 Beta of KiXtart.
Thanks, Kent
|
|
Top
|
|
|
|
#31419 - 2002-10-29 02:15 PM
Re: Citrix Server error
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Ruud,
Thanks for the response.
This appears to be centered around the deployment of Kix 4.02 to the Terminal Servers. Checking the Event Logs, we have not seen any issue since 23 October. It only has appeared on our NT 4 Terminal Servers and not 2000. It just appears weird that we'd be getting errors with regard to WkstaGetInfo.. Maybe when we get ready to deploy the new version of Kix on these servers again, myself or another Admin will have to do so (it is only 9 servers).
In my script sample I provided, we do look for the name direct accordingly. I have tried simple scripts like:
code:
? "workstation: "+@wksta ? "user: "+@userid
With no new events being generated. Now, the only thing is is that if I was to try that with a locked down user... Hmmm.. I will try that when I get into the office this morning.
Thanks again,
Kent
|
|
Top
|
|
|
|
#31420 - 2002-11-30 02:04 PM
Re: Citrix Server error
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Current status? greetings.
|
|
Top
|
|
|
|
#31421 - 2002-11-30 02:31 PM
Re: Citrix Server error
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Move to Beta forum per request (a little late).
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 781 anonymous users online.
|
|
|