Page 1 of 1 1
Topic Options
#26313 - 2002-08-01 03:10 AM slow or failed execution of script
cjb Offline
Lurker

Registered: 2002-08-01
Posts: 2
I am new to kixtart having adopted a network where all workstation use kixtart. Some workstations get hung or ntale a long time on the script execution, A reboot or multiple reboots usually will fix this. Does anyone have any troubleshooting tips for this problem.
Thanks,
cjb

Top
#26314 - 2002-08-01 03:49 AM Re: slow or failed execution of script
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Welcome to the board.

First some questions:
- which kixtart version running?
- where are the kixtart files (= kix32.exe, kx16.dll, kx32.dll, kx95.dll) located? client / server.
- how are you calling your script? by BATch file?
- which kixtart type running, kix32.exe or wkix32.exe?
- how is your kixtart call?
- what are you doing in your scripts?

Our first thing is that during the execution of your script
- script asks for user input which can't return
- script gets in an endless loop
- during execution script hangs on a "share violation" error situation.

Please post your script and/or related BATch file on the board for
a faster response.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#26315 - 2002-08-01 11:15 AM Re: slow or failed execution of script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
solved?
_________________________
!

download KiXnet

Top
#26316 - 2002-08-01 09:36 PM Re: slow or failed execution of script
cjb Offline
Lurker

Registered: 2002-08-01
Posts: 2
Thanks for your reply and helping me ask the question in the right way. I have answered your questions below.

- which kixtart version running?
The file version of kix32.exe is 3.63

- where are the kixtart files (= kix32.exe, kx16.dll, kx32.dll, kx95.dll) located? client / server.

kix32.exe is located on a W2K AD controller called HOTELSERVER in a folder called \\HOTELSERVER\C\WINNT\SYSVOL\DOMAIN\SCRIPTS. I don't see any kix dll files

- how are you calling your script? by BATCH file?
Each user runs a batch file here it is:
c:
net use z: \\hotelserver\netlogon
z:\kix32.exe z:\logon.kix
net use lpt3 "\\hotelserver\ir400"
net use z: /delete /yes

- which kixtart type running, kix32.exe or wkix32.exe?
kix32.exe

- how is your kixtart call?
I'm not sure what this means.

- what are you doing in your scripts?
here's the script
break on

SETTIME "\\hotelserver"

if (ingroup("Reservations") or ingroup("RDP"))
use F: \\hotelserver\rdpnt
endif

if ((@userid="common") or (@userid="mary") or (@userid="treva"))
use m: "\\ntmain\MarySchmidt$"
use p: "\\hotelserver\rdpnt"
use g: "\\ntmain\level3"
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if ingroup("HotelAdmin")
use n: "\\ntmain\NightAudit$"
use s: \\ntmain\Shared
use l: \\ntmain\common
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if (ingroup("NightAudit"))
use n: "\\ntmain\NightAudit$"
use m: "\\ntmain\MarySchmidt$"
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if (ingroup("Concierge"))
use t: \\ntmain\ConciergeData
use s: \\ntmain\Shared
use l: \\ntmain\common
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if ((@userid="administrator") or ingroup("Domain Admins"))

use n: "\\ntmain\NightAudit$"
use s: \\ntmain\Shared
use l: \\ntmain\common
use m: "\\ntmain\MarySchmidt$"
use F: \\hotelserver\rdpnt
use t: \\ntmain\ConciergeData
use r: \\hotelserver\rdpnt
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if ingroup("FrontDesk")
use w: "\\ntmain\whitepages$"
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

if (@userid="chris")
use m: "\\ntmain\MarySchmidt$"
use p: "\\hotelserver\rdpnt"
use g: "\\ntmain\level3"
addprinterconnection("\\Squirrel\hp4")
addprinterconnection("\\back2\hp5")
addprinterconnection("\\frontdesk2\hpfront")
addprinterconnection("\\hotelserver\ir400")
endif

Could the problem be if a machine that a drive letter is being mapped to is not available. What about printers that may not be available.

I previously had some DNS problems that I thought were resolved. Does DNS resolution affect kixtart??

Thanks for you help.
CJB

Top
#26317 - 2002-08-01 10:07 PM Re: slow or failed execution of script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Couple of remarks:

1) Please read the Kixtart Starter's Guide

2) The mapping that you are doing in the batch file are not necessary. Please refer to the KiXtart Starters Guide and the KiXtart mnual for example batch files to call KiXtart.

3) Please read Why does the console display zeros and ones (amongst others)?

4) Since you are using AD, you might want to upgrade to KiXtart 4.10

5) Some of your USE stements do not use quotes to encapsulate the share

6) '$' for hidden shares need to be doubled as in '\\server\hiddenshare$$'

7) Try to put common drive and printer mappings separately, e.g. it seems that addprinterconnection("\\hotelserver\ir400") is done for all grousp/users

[ 01 August 2002, 22:08: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#26318 - 2002-12-02 06:39 AM Re: slow or failed execution of script
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Solved? Please return actual status.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 781 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.055 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

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