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
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
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
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
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
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
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
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/
> 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
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
> 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
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
> >
> > 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
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.
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
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
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
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
> > 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
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
> 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
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://
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
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.
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
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
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
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
> 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
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
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,
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
> 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
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
> -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
> >
> -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
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?
> 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
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
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
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
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
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
43 matches
Mail list logo