Page 1 of 3 123>
Topic Options
#47777 - 2003-11-13 05:00 AM Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
I'm reasonably new to Kix and although I have been successfully using Kix for the last 4 months in my network to do a few minor group-drive mappings and registry key updates, I consider myself a newbie to the scripting world.

My problem - Kix has been running perfectly for the past 4 months however last week it has started intermittently and randomly hanging after the users have logged in. The strange thing is, I can't replicate the problem exactly each time I log in. Sometimes it runs without a hitch, then using the same PC, same login account, logoff then log back on - fails! Restart the PC and then the script maybe fails, maybe works. This happens on any of the PC's and there seems to be no pattern with which to trace this issue. It doesn't matter whether I call the login script from a batch file (locally on the PC, from AD Group Policy Object or Domain Controller Netlogon shares) or directly from the AD Group Policy Object.

I've tried the following and after trawling through this bulletin board, am still at a complete loss as to what the problem is or how to fix it. Any help is much appreciated!

(note here: I manage two separate companies and have kix running at both sites. One site has not had one issue with kix, whereas, I'm experiencing these problems at the other)

- Initially, checked for any inconsistencies between my two sites
- Tried logging in using different login accounts (with varying security rights)
- Tried logging in to different PC's (all PC's are using an SOE, all with identical hardware)
- updated Kix32.exe first to V4.21 then after no luck to v4.22rc1
- copied Kix files/scripts locally to the PC's and calling the login script from there
- Sometimes, while the KIX login window is hung, I can manually navigate to and run the same kix32.exe and login.kix files with the new instance working fine (while the original script is still hung)

Environment:
* Windows 2000 AD - hybrid mode
* 2 x Domain Controllers (win2k sp4)
* 4 x Memeber Servers (win2k sp4)
* 70 * WinXP Pro clients (sp1)
* Kix32.exe (v4.20)(4.21)(4.22rc1)
* Login script is being called from AD Group Policy, User Configuration/Windows Settings/Scripts(logon/logoff)/Logon
* Kix32.exe and script files are located in \\domain\sysvol\domain\scripts

Top
#47778 - 2003-11-13 05:02 AM Re: Script Intermittently and randomly hangs
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Are the scripts replicated correctly?
_________________________
There are two types of vessels, submarines and targets.

Top
#47779 - 2003-11-13 05:04 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
yes.
Top
#47780 - 2003-11-13 05:11 AM Re: Script Intermittently and randomly hangs
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
A hang or lockup might indicate communication issues. Have you checked for network and NIC errors?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#47781 - 2003-11-13 05:12 AM Re: Script Intermittently and randomly hangs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, adding some error tracing would help a lot.
create another file with after every line has:
@error " " @time

and maybe a informative message in it.
then use redirectoutput and try that.
you will definitely know where it hangs and start removing the problem.

I found that one of linux server's system drive was screwed that way [Wink]
_________________________
!

download KiXnet

Top
#47782 - 2003-11-13 05:12 AM Re: Script Intermittently and randomly hangs
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
would have bet it was replication ... long shot - anything in the eventlog ?

-Shawn

Top
#47783 - 2003-11-13 05:18 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
Lonkero - will try the error logging and see how that goes, although i forgot to mention that during my troubleshooting so far, i cut the script down to one or two lines and had the same problem
Shawn - my initial thoughts as well.

Top
#47784 - 2003-11-13 05:22 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
shawn - the only entry in the event log was a message indicating that the script had timed out. if you leave the "hung" script window long enough, it closes although none of the script is actioned.
Top
#47785 - 2003-11-13 05:24 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
Howard - all 70 PC's are having the same problem. All PC's are < 6 months old, IBM NetVista's with Intel Pro100 NIC's. Core switches are Cisco and PC's are spread across all core switches.
Top
#47786 - 2003-11-13 05:27 AM Re: Script Intermittently and randomly hangs
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I was referring to the server's NICs or error on the switch or router. We use Cisco product also and have found miss configured NIC to Switch ports (10half vs. 100 FULL) stuff.

[ 13. November 2003, 05:28: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#47787 - 2003-11-13 05:27 AM Re: Script Intermittently and randomly hangs
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
what is the "source" of the event message ? is it from kixtart or some other sub-system ? might want to post the text for the record.
Top
#47788 - 2003-11-13 05:32 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
Howard/Shawn - will check both and get back to you in 20 mins as I've got to attend an immediate issue. thanks for the help so far!

I'm sure we'll nail this.

Top
#47789 - 2003-11-13 06:11 AM Re: Script Intermittently and randomly hangs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
try running kix32 on the local machine
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#47790 - 2003-11-13 06:12 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
This is the only event logged locally on the PC after the Kix script window has been left to hang and eventually dissappear.

Event ID: 1217
Source: Winlogon
Type: Warning
Category: None
Message: Execution of GPO scripts has timed out and have been terminated.

Top
#47791 - 2003-11-13 06:14 AM Re: Script Intermittently and randomly hangs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh, did you read the initial post rad?
_________________________
!

download KiXnet

Top
#47792 - 2003-11-13 06:14 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
see my initial posting. Already tried copying all files locally to the PC and running kix from there.
Top
#47793 - 2003-11-13 06:16 AM Re: Script Intermittently and randomly hangs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
could you pass the line you use to call kix.
_________________________
!

download KiXnet

Top
#47794 - 2003-11-13 06:21 AM Re: Script Intermittently and randomly hangs
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
are you calling kix32.exe directly or are you calling it from a batch script ? can you put a tracer in the batch script and at the top of the kix script to see which one is hanging.
Top
#47795 - 2003-11-13 06:34 AM Re: Script Intermittently and randomly hangs
amttala Offline
Fresh Scripter

Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
Lonkero;

I'll assume you're familiar with AD and Group Policy so..from the Default AD Group Policy Window, I select Edit/User Configuration/Windows Settings/Script(logon/logoff)/Logon, choose Edit, then navigate to and select the kix32.exe file located in \\domain.com.au\SysVol\domain.com.au\scripts\
and once selected in the "Script Name" window, enter in the "Script Parameters" box below: login.kix

This way, the Group Policy applied to all domain users during logon, calls the kix32.exe file from the \\domain.com.au\SysVol\domain.com.au\scripts folder and passes the login.kix parameter to it.

Using a batch file to call Kix and script caused some problems with the XP clients so this is the method I chose. It's still working without a hitch at company 2.

Top
#47796 - 2003-11-13 06:40 AM Re: Script Intermittently and randomly hangs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, then I must start asking about:
-is there someone else working with the servers?
-is there change in the servers?
-new hardware added?
-did you have problems with the latest viruses?
-what virus software do you use?

oh and most importantly...
could you try using wkix32 instead of kix32.
_________________________
!

download KiXnet

Top
Page 1 of 3 123>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.07 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org