This is the mail archive of the
mailing list for the Cygwin project.
Re: cscript errors out from daemon
- From: "Brandon Saxe" <brandonsaxe at msn dot com>
- To: "Dan Vasaru" <dvasaru at broadpark dot no>,<cygwin at cygwin dot com>
- Date: Wed, 25 Sep 2002 23:28:11 -0400
- Subject: Re: cscript errors out from daemon
- References: <CHEDKHJJDLOCCOFLMGEAOEKPCMAA.firstname.lastname@example.org>
Thanks for the help. I upgraded cygwin, but that didn't work. I then went to
the windows update website and updated IE and Windows Script Host version
went to 5.6 from 5.1. Now it works fine. Thanks again.
----- Original Message -----
From: "Dan Vasaru" <email@example.com>
To: "Brandon Saxe" <firstname.lastname@example.org>
Sent: Wednesday, September 25, 2002 3:45 PM
Subject: RE: cscript errors out from daemon
> Updating cygwin may be a good idea. You could also try installing a cvs
> snapshot version of cygwin and see if that helps.
> To get drwatson output, just run "drwtsn32 -i". After that, all crashes
> should result in a dump file which you can view by simply starting
> "drwtsn32" without -i.
> Try runnning "cygcheck -svr" *while* logged in via ssh.
> And, also while logged in via ssh, try "which cscript" to make sure
> no other cscript in your path.
> -----Original Message-----
> From: Brandon Saxe [mailto:email@example.com]
> Sent: Wednesday, September 25, 2002 9:40 PM
> To: Dan Vasaru
> Subject: Re: cscript errors out from daemon
> I have drwatson installed, but how do i get it to create a dump. The error
> is just a popup dialog window that gives the message and has an OK button.
> The event is also recorded to the EventLog with Source of 'Application
> Cscript works on another computer here at work. It is running NT 4.0 sp6.
> Maybe I should run the latest setup.exe and get the latest cygwin dll??
> Brandon Saxe
> ----- Original Message -----
> From: "Dan Vasaru" <firstname.lastname@example.org>
> To: <email@example.com>
> Sent: Wednesday, September 25, 2002 12:13 PM
> Subject: RE: cscript errors out from daemon
> > Brandon,
> > I don't see the problem on my w2k system :
> > ~$ssh dan@localhost
> > .....
> > Fanfare!!!
> > You are successfully logged in to this server!!!
> > ~$cscript.exe
> > Microsoft (R) Windows Script Host Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
> > Usage: CScript scriptname.extension [option...] [arguments...]
> > Options:
> > [....]
> > As to debugging your problem, I suggest:
> > 1) login via telnet/ssh and type:
> > which cscript
> > This is WINNT/system32/cscript on my system.
> > 2) try getting a dump of the crashed CSCRIPT. Run/Install Dr Watson as
> > default debugger, and instruct it to create a dumpfile:
> > c:\> drwtsn32 -i
> > Send me a zipped version of the dump file, or try to debug it yourself
> > using windbg from the free Microsoft "Debugging Tools for Windows"
> > Dan
> > -----Original Message-----
> > From: firstname.lastname@example.org [mailto:email@example.com]On Behalf
> > Of Brandon.Saxe@lafarge-na.com
> > Sent: Wednesday, September 25, 2002 5:55 PM
> > To: firstname.lastname@example.org
> > Subject: cscript errors out from daemon
> > win2k
> > cygwin 1.3.12-2
> > (See attached file: cygcheck.out)
> > I am trying to run a bash script than in turn calls a vbscript from cron
> > using cscript.exe. I get a dialog box displaying an error about cscript
> > being able to initialize. Application popup: cscript.exe - Application
> > Error : The application failed to initialize properly (0xc0000005).
> > on OK to terminate the application.
> > I have also noticed that I cannot run cscript after logging in via
> > or ssh. I am assuming that cygwin has a problem of running cscript from
> > within a daemon?
> > Is there any solution to be able to run cscript from cron, ssh, telnet,
> > etc?
> > Thank you,
> > Brandon Saxe
> > --
> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ: http://cygwin.com/faq/
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html