This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cscript errors out from daemon


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.

Brandon

----- Original Message -----
From: "Dan Vasaru" <dvasaru@broadpark.no>
To: "Brandon Saxe" <brandonsaxe@msn.com>
Sent: Wednesday, September 25, 2002 3:45 PM
Subject: RE: cscript errors out from daemon


> Brandon,
>
> 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
there's
> no other cscript in your path.
>
>
> Dan
>
> -----Original Message-----
> From: Brandon Saxe [mailto:brandonsaxe@msn.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
> Popup'
>
> 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" <dvasaru@broadpark.no>
> To: <cygwin@cygwin.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: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> > Of Brandon.Saxe@lafarge-na.com
> > Sent: Wednesday, September 25, 2002 5:55 PM
> > To: cygwin@cygwin.com
> > 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
> not
> > being able to initialize. Application popup: cscript.exe - Application
> > Error : The application failed to initialize properly (0xc0000005).
Click
> > on OK to terminate the application.
> >
> > I have also noticed that I cannot run cscript after logging in via
telnet
> > 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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]