Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Jim Drash cc: cygwin AT cygwin DOT com Subject: Re: Issues with cygrunsrv: How I solved mine In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/