delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/09/18:40:44

X-Spam-Check-By: sourceware.org
Message-ID: <452ACFD2.6020604@cygwin.com>
Date: Mon, 09 Oct 2006 18:40:18 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygserver errors
References: <20061009174057 DOT GA3012 AT ingber DOT com>
In-Reply-To: <20061009174057.GA3012@ingber.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

<http://cygwin.com/acronyms/#TOFU>.  Reformatted.

Lester Ingber wrote:
> On Mon, Oct 09, 2006 at 01:13:51PM -0400, Larry Hall (Cygwin) wrote:
> : Date: Mon, 09 Oct 2006 13:13:51 -0400
> : From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
> : Reply-To: cygwin AT cygwin DOT com
> : Organization: Cygwin
> : User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
> : To: Lester Ingber <ingber AT ingber DOT com>
> : CC: cygwin AT cygwin DOT com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please don't quote raw email addresses in the body of your email.  Doing
so just feeds spammers.  Better yet, don't include unneeded header lines in
your replies at all.


> : Subject: Re: cygserver errors
> : In-Reply-To: <20061009150437 DOT GA996 AT ingber DOT com>
> :
> : On 10/09/2006, Lester Ingber wrote:
> : >I am having problems with cygserver similar to those discussed in
> : >http://sourceware.org/ml/cygwin/2005-05/msg01378.html.  On my XP Pro
> : >system, under Administrative Tools -> Event Viewer -> Application, I see
> : >several red X's whenever I start my modified startxwin.sh.  (I have found
> : >that the script in /usr/X11R6/bin crashes unless I add /bin to
> : >export PATH=/usr/X11R6/bin:"$PATH":/bin .)  So, my Cygwin utilities start
> : >OK,
> : >except I do get occasional crashes of individual xterm windows for no
> : >reason I can discern, which I have reported before but no follow-ups
> : >occurred.
> : >
> : >I am getting errors like:
> : >     "The description for Event ID ( 0 ) in Source ( Cygwin ) cannot
> : >     be found. The local computer may not have the necessary registry
> : >     information or message DLL files to display messages from a
> : >     remote computer. You may be able to use the /AUXSOURCE= flag to
> : >     retrieve this description; see Help and Support for details. The
> : >     following information is part of the event: cygserver: error
> : >     getting handle(1684) to server (5)."
> : >
> : >I do run setup for all users, and my mounts are under system, the main
> : >focus of the discussion under msg01378.html referenced above.
> : >
> : >I cannot see if the is a cygwin or cygwin-xfree problem, so I'm sending
> : >this to both forums.
> :
> : cygserver is a core Cygwin service so the Cygwin list is the proper place
> : to discuss it.
> :
> : What does '/var/log/cygserver.log' say?
> 
> 
 > Larry:
 >
 > This file is listed under `ls -l`:
 > -rw-------  1 SYSTEM root         0 Aug 23 08:31 cygserver.log
 > % cat cygserver.log
 > cat: cygserver.log: Permission denied
 > I couldn't access this file, so I temporarily used `chown --reference`
 > to set the owner to myself.  This file is empty, just as it first appears.


Yep.


 > I see that in /etc/cygserver.conf I have not changed the defaults for LOGGING:
 > # LOGGING
 >
 > # kern.log.syslog: Determines whether logging should go to the syslog,
 > # Default is "yes", if stderr is no tty, "no" otherwise.
 > # Command line option -y, --syslog or -Y, --no-syslog.
 > #kern.log.syslog no
 >
 > # kern.log.stderr: Determines whether logging should go to stderr,
 > # Default is "yes", if stderr is a tty, "no" otherwise.
 > # Command line option -e, --stderr or -E, --no-stderr.
 > #kern.log.stderr no
 >
 > # kern.log.level: Logging level.  Valid values are 1 to 7 with a bigger
 > # value emitting more logging output.  Default level is 6.
 > # Command line option -l, --log-level.
 > #kern.log.level 6
 >
 > # kern.log.debug: Determines whether debug output should be printed to stderr.
 > # Default is "no".  Command line option -d, --debug
 > #kern.log.debug no
 >
 > (If I change anything in this file, do I have to rerun anything?)


Just stop and start the cygserver service.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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