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 Message-ID: <415AEB41.5050107@Hipp.com> Date: Wed, 29 Sep 2004 12:05:05 -0500 From: Michael Hipp 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 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> In-Reply-To: <415A0C37.46030DAE@dessent.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Brian Dessent wrote: > Hmm. You should also check that /etc/cygserver.conf is readable by > SYSTEM and that /var/log/cygserver.log is readable and writable by > SYSTEM. You could always just do "chown SYSTEM:root" and "chmod 644" on > them if unsure, but I suspect they're fine. Well, you're on the right track. Adding -d to the cygserver options caused Event Viewer to come up with this: cygserver : PID 800 : starting service `' failed: redirect_fd: open (1, /var/log/cygserver.log): 2, No such file or directory. So I tried (numerous times) setting the perms both from bash and Windows to no avail. Tried deleting and re-creating the file. Here is a partial transcript: michael AT michael /var/log $ rm cygserver.log rm: remove write-protected file `cygserver.log'? y $ touch cygserver.log $ chown SYSTEM:root cygserver.log $ chmod 644 cygserver.log $ ls -l cygserver.log -rw-r--r-- 1 SYSTEM root 0 Sep 29 11:47 cygserver.log $ cygrunsrv -S cygserver cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. $ chmod 777 cygserver.log $ cygrunsrv -S cygserver cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Error message in Event Viewer repeats the "No such file or directory" error. Would sure appreciate some ideas. One thing, when I installed this cygwin I checked the "Install For Just Me" option. Could this have anything to do with it? Thanks, 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/