Re: shutdown doesn't do anything, winXP

2011-09-02 Thread Warren Young
On 9/2/2011 11:26 AM, LMH wrote: As an aside, why does which shutdown return /usr/bin/shutdown when the shutdown app is located in /bin/shutdown? What value does the /usr part of the path have in this context? /bin and /usr/bin are the same thing by default under Cygwin. c:\cygwin is mounted

Re: shutdown doesn't do anything, winXP

2011-09-02 Thread LMH
Using the full path was successful. As an aside, why does which shutdown return /usr/bin/shutdown when the shutdown app is located in /bin/shutdown? What value does the /usr part of the path have in this context? I suppose I should use force, but I never have anything running when I run the

Re: shutdown doesn't do anything, winXP

2011-09-02 Thread Corinna Vinschen
On Sep 1 14:51, LMH wrote: > I have a bash script that runs rsync and I have been trying to add a > command to shutdown the computer after the backup has finished > running. > > I have added, > > shutdown -s now > > and also tried, > > shutdown -s 5 > shutdown -x now > shutdown -x 5 > > but t

Re: shutdown doesn't do anything, winXP

2011-09-01 Thread Larry Hall (Cygwin)
On 9/1/2011 2:51 PM, LMH wrote: I have a bash script that runs rsync and I have been trying to add a command to shutdown the computer after the backup has finished running. I have added, shutdown -s now and also tried, shutdown -s 5 shutdown -x now shutdown -x 5 but the computer doesn't shut

Re: shutdown: Couldn't shutdown: Error 53 The network path was not found.

2009-02-23 Thread Corinna Vinschen
On Feb 23 09:39, Fr?d?ric Bron wrote: > What does this mean? > > $ win_shutdown > WARNING!!! System is going down NOW > shutdown: Couldn't shutdown: Error 53 The network path was not found. > > where win_shutdown just contains: > shutdown -s now Error 53 is returned by the InitiateSystemShutdown

Re: shutdown: Couldn't shutdown: Error 53 The network path was not found.

2009-02-23 Thread ADFHAU
On Mon, 23 Feb 2009 09:39:48 +0100 Frédéric Bron wrote: > What does this mean? > > $ win_shutdown > WARNING!!! System is going down NOW > shutdown: Couldn't shutdown: Error 53 The network path was not found. > > where win_shutdown just contains: > shutdown -s now Are you calling a cygwin suppl

Re: shutdown

2006-02-04 Thread René Berber
Christian Lanconelli (servizio) wrote: > Hello world!, > I need to shutdown my win 2000 O.S. at a specified time or "now". > I'd like to use the command shutdown --force now but the system answer is > that I don't have the necessary priviledge. How can I do? Have I to activate > some service with

Re: shutdown 1.7.1 problem on windows 2000

2005-11-11 Thread Corinna Vinschen
On Nov 11 12:42, Selmi Luko? wrote: > hello > > my problem is that when i launch it with > shutdown -f -s 15 > then it correctly terminates the windows session and everything but doesn't > switch off computer, it will stay with message that it is safe to turn off > computer http://cygwin.com/ml/

Re: Shutdown 1.7-1 problem when w2k screen is locked

2005-05-02 Thread Wheeler, Frederick W \(Research\)
> On Apr 29 09:27, Wheeler, Frederick W (Research) wrote: > > > > I have found that when I "Lock Computer" in Windows 2000 just after running > > "shutdown --exitex 10" > > then the computer does not shut down. Nothing happens. The command just > > exits. > > > > When the computer is not loc

Re: Shutdown 1.7-1 problem when w2k screen is locked

2005-04-29 Thread Corinna Vinschen
On Apr 29 09:27, Wheeler, Frederick W (Research) wrote: > > I have found that when I "Lock Computer" in Windows 2000 just after running > "shutdown --exitex 10" then the computer does not shut down. Nothing > happens. The command just exits. > > When the computer is not locked, "shutdown --ex

Re: shutdown-1.5-1 does not work!

2005-04-23 Thread Christian Weinberger
> Corinna Vinschen cygwin.com> writes: > > Too late. shutdown-1.6-1 should be on the mirrors soon. > > Corinna > shutdown-1.6-1 fixes the problem for me. Regards & many thanks, Christian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwi

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:35, Christian Weinberger wrote: > I wanted to test if root lacks some of the system priviliges that I > assigned to most of my other accounts, but editrights seems to have a > problem with root too: > > [EMAIL PROTECTED]:{509}:$ editrights -u root -l > Error in getSID (LsaLookupNames

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> > > > Same effect with shutdown-1.5-1 > > root is member of the admin group but does not map to the builtin administrator. > > http://cygwin.com/ml/cygwin/2005-04/msg00977.html > > Corinna > I wanted to test if root lacks some of the system priviliges that I assigned to most of my other acco

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:22, Jason FU wrote: > Jason FU ust.hk> writes: > This one works. I forgot to use > > ./shutdown.exe ... Thanks for testing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc.

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:14, Jason FU wrote: > === > [EMAIL PROTECTED] ~/Shared Documents/C++ > $ ls -la shutdown.* > -rw-r--r-- 1 tsfu None 10631 Apr 22 21:13 shutdown.c > -rwxr-xr-x 1 tsfu None 24549 Apr 22 21:14 shutdown.exe > > [EMAIL PROTECTED

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Jason FU ust.hk> writes: > > Corinna Vinschen cygwin.com> writes: > > > > > On Apr 22 13:17, Corinna Vinschen wrote: > > > > > I've created a patched version of shutdown which should give us some > > hint why it doesn't work for you. The source is attached. Just call > > `make shutdown' a

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Corinna Vinschen cygwin.com> writes: > > On Apr 22 13:17, Corinna Vinschen wrote: > > I've created a patched version of shutdown which should give us some > hint why it doesn't work for you. The source is attached. Just call > `make shutdown' and run this newly created shutdown instead of th

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 12:54, Christian Weinberger wrote: > > > Same problem here with the previous version of shutdown: > > > - cygwin 1.5.15 > > > - shutdown 1.4-1 > > > - XP Home SP2 > > > - connect via sshd or local on the desktop > > > > > > Works fine from accounts that are in the admin group, but not fo

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> > Same problem here with the previous version of shutdown: > > - cygwin 1.5.15 > > - shutdown 1.4-1 > > - XP Home SP2 > > - connect via sshd or local on the desktop > > > > Works fine from accounts that are in the admin group, but not for root. > > Same error message (but in german). > > Did yo

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 09:05, Christian Weinberger wrote: > > Corinna Vinschen cygwin.com> writes: > > > > On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > > > I am tried as Administrator: > > > > > >Administrator graziosi ~/Downloads/cygwin > > >$ shutdown now > > >WARNING!!! System is go

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> Corinna Vinschen cygwin.com> writes: > > On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > > I am tried as Administrator: > > > >Administrator graziosi ~/Downloads/cygwin > >$ shutdown now > >WARNING!!! System is going down NOW > >shutdown: Couldn't shutdown: Error 5 Acce

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > I am tried as Administrator: > >[EMAIL PROTECTED] ~/Downloads/cygwin >$ shutdown now >WARNING!!! System is going down NOW >shutdown: Couldn't shutdown: Error 5 Accesso negato. > > (also "shutdown 5" does not work) See http://

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-12 Thread Corinna Vinschen
On May 11 17:47, Krzysztof Duleba wrote: > Corinna Vinschen wrote: > > > On May 10 07:33, Egerton, James wrote: > > > I've tried using the Cygwin shutdown-1.4 from an ssh session and it > > > doesn't seem to do anything. The call to ExitWindowsEx doesn't > appear > > > to fail, but nothing happe

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-11 Thread Krzysztof Duleba
Corinna Vinschen wrote: > On May 10 07:33, Egerton, James wrote: > > I've tried using the Cygwin shutdown-1.4 from an ssh session and it > > doesn't seem to do anything. The call to ExitWindowsEx doesn't appear > > to fail, but nothing happens after the "WARNING!!!..." message is > > displayed.

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-11 Thread Corinna Vinschen
On May 10 16:21, Michael F. March wrote: > Let me amend my last email.. > > Shutdown works if I am logged into the console.. Yes, of course, that makes perfectly sense, doesn't it? *cough, cough* Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Pr

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-10 Thread Michael F. March
Let me amend my last email.. Shutdown works if I am logged into the console.. it has nothing todo with VNC.. thanks! Here is something kind of freaky.. If I am at the same time logged into server that is running sshd using VNC, shutdown through an SSH session, *DOES* work. On May 10 07:33, Eger

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-10 Thread Michael F. March
Here is something kind of freaky.. If I am at the same time logged into server that is running sshd using VNC, shutdown through an SSH session, *DOES* work. On May 10 07:33, Egerton, James wrote: I've tried using the Cygwin shutdown-1.4 from an ssh session and it doesn't seem to do anything. T

Re: Shutdown doesn't seem to work when invoked from ssh session

2004-05-10 Thread Corinna Vinschen
On May 10 07:33, Egerton, James wrote: > I've tried using the Cygwin shutdown-1.4 from an ssh session and it > doesn't seem to do anything. The call to ExitWindowsEx doesn't appear > to fail, but nothing happens after the "WARNING!!!..." message is > displayed. I have verified that the system c

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour - RESOLVED

2004-05-04 Thread Jacek Trzmiel
> Possible, but I suspect it's a problem on Jacek's machine. > > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest, and there have been numerous hotfixes > since it was released.) I've installed SP4 (had most of hotfixes already) but it didn't fix

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hannu E K Nevalainen wrote: > $ g++ ShutdownTest.cpp -o ShutdownTest && ./ShutdownTest.exe > HTTP/1.1 200 OK > Date: Tue, 04 May 2004 14:02:39 GMT > Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) > Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT [...] > > $ uname -a > CYGWIN_NT-5.0 P450 1.5.10s(0.114

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi, > > Just kind of wondering if the apache is prematurely dropping the line when > > it sees the FIN. > > Possible, but I suspect it's a problem on Jacek's machine. Yep, that's most likely. > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest,

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi Dave, > Just kind of wondering if the apache is prematurely dropping the line when > it sees the FIN. No it doesn't. Here is dump when connecting to example.org: > 01:14:34.237976 win2k.3042 > example.org.80: S 3273603871:3273603871(0) win 16384 > (DF) > 01:14:34.423719 example.org.80 > w

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Hannu E K Nevalainen
> From: Jacek Trzmiel > Sent: Tuesday, May 04, 2004 4:19 AM > Can somebody with Win2k box compile and run prog from my previous mail? > I would like to know if it behaves incorrectly only on my system, or on > Win2k in general: > > http://cygwin.com/ml/cygwin/2004-05/msg00013.html > > $ g++ Shutd

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Keith Moore
Dave Korn wrote: Just kind of wondering if the apache is prematurely dropping the line when it sees the FIN. Possible, but I suspect it's a problem on Jacek's machine. Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a later SP? (SP4 is the latest, and there have been numerous h

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Larry Hall > Sent: 04 May 2004 03:51 > At 10:19 PM 5/3/2004, you wrote: > > >Can somebody with Win2k box compile and run prog from my > previous mail? > >I would like to know if it behaves incorrectly only on my > system, or on > >

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Arash Partow > Sent: 04 May 2004 07:37 > Hi, > > Just out of curiosity, if one were to do: > > shutdown(sck,SHUT_WR) > > > which means as far as I understand it "stop all send reqs > made to sck", > how would one reopen the sck so

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Arash Partow
Hi, Just out of curiosity, if one were to do: shutdown(sck,SHUT_WR) which means as far as I understand it "stop all send reqs made to sck", how would one reopen the sck so that you could make send reqs again? Is that even possible or do you have to reestablish the connection again from scratch?

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Jacek Trzmiel
> I've tried your application and I'm not able to reproduce your problem. > The shutdown call does not influence sending the buffered data apparently. Thanks for info. > I've tested with Cygwin 1.5.9 and with a recent snapshot on XP SP1. > What's your system? Cygwin 1.5.9, Win2kSP2. I made add

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Larry Hall
At 10:19 PM 5/3/2004, you wrote: >> I've tried your application and I'm not able to reproduce your problem. >> The shutdown call does not influence sending the buffered data apparently. > >Thanks for info. > >> I've tested with Cygwin 1.5.9 and with a recent snapshot on XP SP1. >> What's your syst

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Corinna Vinschen
On May 2 00:07, Jacek Trzmiel wrote: > > Hi, > > $ cygcheck -cd cygwin > Cygwin Package Information > Package Version > cygwin 1.5.9-1 > > I found some unexpected behaviour of shutdown call. Here is example > program to reproduce problem. It i

Re: shutdown-1.3-1 patch for Win9x

2003-09-13 Thread Corinna Vinschen
On Sat, Sep 13, 2003 at 05:30:55AM +, Mark Ord wrote: > Although shutdown.exe works fine on NT (XP at least), it's not possible to > shutdown a system to a power off state with shutdown.exe on Win9x > (Win98SE tested). > > It's been my experience (on Win98SE anyway) that it's directly related

Contrib: cygwin shutdown script (Re: 'shutdown', games)

2002-02-14 Thread Chuck Messenger
hongxun lee wrote: >Sorry for the attachment as i know some hate to see them in emails..This >is my first try of the command 'shutdown', and it did close the windows >applications right away, but you can see that it can't close Cygwin..Is >it supposed to be so ? > Yeah, that's what I've fou

Re: 'shutdown', games

2002-02-14 Thread Randall R Schulz
Hong Xun, Here's how I reboot (shutdown is analogous, I assume): reboot -r now; exit In practice I always start a couple of SETI@home command-line clients under BASH, so I actually do this: # Stop the SETI@home clients, initiate reboot and exit BASH sahs; reboot -r