delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/30/17:15:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 30 Oct 2002 17:15:12 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jim Drash <JDrash AT eesus DOT jnj DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Issues with cygrunsrv: How I solved mine
In-Reply-To: <Pine.CYG.4.44.0210301616100.1512-100000@WEESUSCI9812517.na.jnj.com>
Message-ID: <Pine.GSO.4.44.0210301710400.5605-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Wed, 30 Oct 2002, Jim Drash wrote:

> Environment:
> Windows 2000 Service Pack 3
> In a domain
>
> I installed Cygwin as "Just for Me"
>
> I had the same error 1062 that everyone seems to get trying to start a
> service. In my case cron and httpd.  I re-installed Cygwin for "All Users"
> and all of the 1062 errors disappeared.  I suspect that the combination of
> being in a domain and doing a "Just for Me" install was the root cause of
> my problem.
>
> I hope this helps other people.
>
> -- jim drash

Just to clarify the above.

Being in a domain shouldn't affect sshd and httpd, provided the relevant
domain users (i.e., those that need to log in) are in the /etc/passwd
file.

Installing Cygwin "Just for Me" will result in the SYSTEM user (that
services, especially sshd, should run as) not seeing the mounts, and thus
not being able to access the relevant files.  For the same reason, the
value of CYGWIN is better set as a system environment variable, rather
than a user one.

To fix this without reinstalling Cygwin, try remounting "/", "/usr/bin"
and "/usr/lib" as system (with the "-s" flag).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

- Raw text -


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