Page 1 of 1 1
Topic Options
#9227 - 2001-06-05 10:48 PM kix363update.exe sometimes hangs itself...
Anonymous
Unregistered


Hello,

I have noticed on some Windows 9x machines
kix363update.exe just hangs itself. It simply generates an error during execution and then thereis no c:\kix363.ok file and other corresponding files in %WINDIR% directory.

I start scripting with a logon file like this (login.bat):

code:

@echo off
if not exist c:\kix363.ok %0\..\kix363update.exe /q
if exist c:\windows\kix32.exe c:\windows\kix32.exe %0\..\Login.kix
if exist c:\winnt\kix32.exe c:\winnt\kix32.exe %0\..\Login.kix
if exist c:\wtsrv\kix32.exe c:\wtsrv\kix32.exe %0\..\Login.kix

And here is my Login.kix file (I had to use @lserver instead of @ldrive because I use Novell Netware and there is a Z: drive used):

code:

if setconsole("hide")
endif

settime "\\SERVER"

if @priv="Admin"
call @lserver + "\netlogon\Admin.kix"
exit
else
if ingroup("Group1") = 1
call @lserver + "\netlogon\Group1.kix"
exit
else
if ingroup("Group2") = 1
call @lserver + "\netlogon\Group2.kix"
exit
else
sendmessage("Admin","User " + @userid + "/" + @wksta + " is a member of any group")
endif


Is it a known error or it happens only in my environment (polish Windows). Maybe the name of the file is not MSDOS compatible (8.3) and it matters somehow?

By the way...
Is it necesary to copy kix95.dll file during kix363update.exe execution? Then it creates an error file in %TEMP% directory there is no kixrpc service running... Maybe it should be an option?

Looking forward to seeing from you,

Artur

Top
#9228 - 2001-06-06 03:01 AM Re: kix363update.exe sometimes hangs itself...
MCA Offline
KiX Supporter
*****

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

What are the settings of your environment.
Please put the result of set on the board.
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
#9229 - 2001-06-06 10:11 AM Re: kix363update.exe sometimes hangs itself...
Anonymous
Unregistered


It happens on many WAN-connected computers and it's hard to get this info... but i did some homework:

code:

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
COMSPEC=C:\WINDOWS\COMMAND.COM
windir=C:\WINDOWS

Error looks like (translated from polish):

code:

KIX363 exception error c0000006H in module KIX363.EXE in 0137:01004277.
Registers:
EAX=00000018 CS=0137 EIP=01004277 EFLGS=00010216
EBX=00003814 SS=013f ESP=0056fd20 EBP=0056fd2c
ECX=0000022b DS=013f ESI=01019ffd FS=2637
EDX=00003814 ES=013f EDI=00402fe0 GS=0000
Byte in CS:EIP:
f3 a5 8b cb 83 e1 03 f3 a4 01 90 4c b8 00 01 8b
Stack:
005007f0 0050000c 00000000 00003814 01006bbc 00000001 00400078 00003814
00008000 00010000 0050000c 0001abbc 01006681 0050000c 00000000 0050000c

Any other ideas?

Greeting,

Artur

[This message has been edited by Artur G.M. Wrzalek (edited 06 June 2001).]

[This message has been edited by Artur G.M. Wrzalek (edited 06 June 2001).]

Top
#9230 - 2001-06-06 10:30 PM Re: kix363update.exe sometimes hangs itself...
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,
Thanks for your reply. The only thing we think about was the missing environment
variable %tmp%. In that case the package will be extracted on an undefined
location and the package can't run the script in a correct way, also the
file kix363.ok will not be created or will be removed.
We will prepare a special one with additional debug information and we will
send it by email to you.
Please send us the file you are using with this
problem.
Greetings

------------------
Site map:

[This message has been edited by MCA (edited 07 June 2001).]

_________________________
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
#9231 - 2001-06-08 05:09 AM Re: kix363update.exe sometimes hangs itself...
MCA Offline
KiX Supporter
*****

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

We have prepare a new package which runs with and without debug mode.
Debug mode will be activated when you have declare the environment
variable
KIX-DEBUG (= value have no meaning)
or the environment variable TMP doesn't exist. Your logon bat file
can start with

code:

set kix-debug=ok
%0\..\kix363update.exe /q
set kix-debug=


to run the installation package always in debug mode and to get
additional information about progress of installation process.

After that it will run another script. First it will show a pop-up
window with a message like
Installation of Kixtart 363 started from 'c:\my documents\ixp000.tmp'."
After completion it will show following pop-up window:
Installation of Kixtart 363 completed from 'c:\my documents\ixp000.tmp'. File 'KIX363.OK' created."
or
Installation of Kixtart 363 incompleted from 'c:\my documents\ixp000.tmp'. No file 'KIX363.OK' created."
Also it will create a file with debug result. File is calling
c:\kixtart.log
Please press YES button by both pop-up windows.

When you detect your problem again please sent us a copy of file
c:\kixtart.log
We will wait on your response.
Greetings.


btw: see also topic
http://kixtart.org/board/Forum2/HTML/000583.html

btw: the code of the new script is and this script runs START1.KIX (original
installation script) or START2.KIX (script with additional debug infor-
mation).

_________________________
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
#9232 - 2001-06-08 01:31 PM Re: kix363update.exe sometimes hangs itself...
Anonymous
Unregistered


Dear MCA,

Thanks for your support. Now I'm trying to debug the program. More info soon.

By the way...
The script now installs kx16/32/95.dll also on Windows 2000 computer. I think it isn't an expected behavior now...? What do you think?

Greetings,

Artur

[This message has been edited by Artur G.M. Wrzalek (edited 10 June 2001).]

Top
#9233 - 2001-06-12 04:51 AM Re: kix363update.exe sometimes hangs itself...
MCA Offline
KiX Supporter
*****

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

The installation of kx*.dll was also done in earlier versions.
The overhead is much less to do it.
Other scripts of our site are also using the availability of those files
f.e. version.kix. A benefit of doing it is: kixtart installation
is independent of which version you are running now and your are running
in the future.
Possible we will modify the scripts for the known windows versions.
We will prevent installation of those DLL files and we will delete
also those DLL files to prevent unwanted and unexpected results.
Greetings.

------------------
Site map:

_________________________
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
#9234 - 2001-06-12 03:44 PM Re: kix363update.exe sometimes hangs itself...
Anonymous
Unregistered


Dear MCA,

I am still trying to debug the program. I don't give up so quickly...

Nowadays I have the following results:
When the program kix363update.exe is started automaticaly within users logon - it crashes. But whe you run it from a UNC path like \\server\netlogon - and then manually - it works fine!!!

So the problem only exists whe it runs at the start?!

I have no idea what could it be. Maybe WAN env. - but it works fine manually.

Do you have any other ideas?

Yours,

Artur

Top
#9235 - 2001-06-12 07:18 PM Re: kix363update.exe sometimes hangs itself...
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Artur,

Perhaps the memory is fragmented or your 640k-1mb memory block is being mostly used up. Maybe you could try launching a batch file with a wait timer to the script or just the KiXtart script from the HKLM Run command.

What AntiVirus software are you using?

Top
#9236 - 2001-06-13 03:22 AM Re: kix363update.exe sometimes hangs itself...
MCA Offline
KiX Supporter
*****

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

Did you try to run during logging on with following code?

code:

set kix-debug=ok
%0\..\kix363update.exe /q
set kix-debug=


Please send us a copy of the c:\kixtart.log file.
Please send also a copy of the output of dos command mem /c >c:\mem.txt.
Greetings.

------------------
Site map:

_________________________
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
#9237 - 2001-06-19 05:03 PM Re: kix363update.exe sometimes hangs itself...
Anonymous
Unregistered


Dear MCA,

I have decided to stop debugging the program. Right now I tell users to run it manualy with a command like \\server\netlogon\kix363update.exe. It is the best way to resolve the problem. After that everythink works fine.

Thanks for your support,

Greetings!

Artur

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.051 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