delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/13:57:11

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
Message-ID: <415AF77C.90008@Hipp.com>
Date: Wed, 29 Sep 2004 12:57:16 -0500
From: Michael Hipp <Michael AT Hipp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygserver won't start (FAQ alert)[SOLVED]
References: <4159D706 DOT 6020402 AT Hipp DOT com> <4159DAA9 DOT 1EDB4121 AT dessent DOT net> <4159DCC1 DOT 6090506 AT Hipp DOT com> <4159E37C DOT 26CF31BD AT dessent DOT net> <4159EAB4 DOT 3030708 AT Hipp DOT com> <415A0C37 DOT 46030DAE AT dessent DOT net> <415AEB41 DOT 5050107 AT Hipp DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409291309440 DOT 24966 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.61.0409291309440.24966@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:
>>One thing, when I installed this cygwin I checked the "Install For Just Me"
>>option. Could this have anything to do with it?
> 
> 
> Bingo.  As I was reading your message, I thought "he should check that he
> has system mounts".  You've just confirmed that you don't.  Re-mount all
> of your mounts as "system", and your services will work.
> 
> David, this is definitely an FAQ, but there is nothing in the FAQ about
> services (other than the "how do I install snapshots" entry).  Should we
> add something along the lines:
> 
>   Why don't my services work?
> 
>   Most Windows services run as the SYSTEM user.  If you installed Cygwin
>   for "Just Me", the SYSTEM user won't see the mount table.  You need to
>   re-mount all of your mounts as "system" for services to work.
> 
> We could even include the recipe for remounting as system (e.g., from
> <http://cygwin.com/ml/cygwin/2003-05/msg00487.html>), or tell them to run
> setup.exe again and select "All Users" on the "Install For" screen (and
> use the "Keep" view, so that nothing gets upgraded accidentally).

Thank you (all) ever so very much.

I had no idea what it took to "re-mount all your mounts as system" but I 
did the {eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`"} from 
the msg referenced above and it now works like a charm.

(There are some occasional other users of this machine and I don't 
really want them to have access to something as powerful as cygwin so 
re-installing for all users was definitely not the preferred solution.)

Hmmm. I wonder if this will help another installation where "Task 
Scheduler" jobs don't seem to have access to windows network drives. 
Worth a try.

Thanks again,
Michael


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