delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/23/05:22:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 23 Feb 2009 11:22:03 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: shutdown: Couldn't shutdown: Error 53 The network path was not found.
Message-ID: <20090223102203.GB27152@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <a9a39a210902230039o73835857v7129afe06862cfb8 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <a9a39a210902230039o73835857v7129afe06862cfb8@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 function if you
don't hold the SE_SHUTDOWN_NAME privilege.  What's weird is that
this fact should actually have resulted in another error message:

  shutdown: required privilege not held: ...

I have no idea why this occurs, sorry.  Rebuilding shutdown for
debugging and stepping through might give a clue, perhaps.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019