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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: 1.5.3 - can't start cron nor apache service - operation not permitted Date: Fri, 12 Sep 2003 08:25:44 -0700 Lines: 77 Message-ID: References: <20030912074359 DOT GB9981 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en,ru In-Reply-To: <20030912074359.GB9981@cygbert.vinschen.de> Corinna Vinschen wrote: > On Thu, Sep 11, 2003 at 04:12:43PM -0700, Andrew DeFaria wrote: > >> Since upgrading to 1.5.3 I cannot start cron or apache as services. They >> were added as follows: >> [...] >> cron : PID 3856 : starting service `cron' failed: execv: 1, Operation >> not permitted >> [...] > > I've just tested it and it still works for me. Could you check the > permissions on cygwin1.dll? Is system not permitted to read/executethe > DLL perhaps? Interesting: $ ll /bin/cygwin1.dll -rwxr-x---+ 1 Andrew Users 967522 Sep 1 10:16 /bin/cygwin1.dll* $ chmod +x /bin/cygwin1.dll $ ll /bin/cygwin1.dll -rwxr-x--x+ 1 Andrew Users 967522 Sep 1 10:16 /bin/cygwin1.dll* $ net start cron The Cygwin cron service is starting. The Cygwin cron service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. Didn't help. Wonder why many of the files under /bin were owned by the group Users and others set to the group DeFaria? And what does that "+" at the end of the permmissions string mean? Anyways I did a: $ chmod 755 /bin/* $ chgrp DeFaria /bin/* Didn't help. I did get the following one time: Event Type: Information Event Source: /usr/sbin/cron Event Category: None Event ID: 0 Date: 9/12/2003 Time: 7:52:46 AM User: NT AUTHORITY\SYSTEM Computer: STARBASE Description: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) 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: /usr/sbin/cron : PID 4036 : (CRON) STAT FAILED (/etc/cron.d). Interesting because I don't have an /etc/cron.d. Creating it fixed my problem! Hmmm... Why didn't the post install create this? I have no idea. But I'm glad it's now working. >> (BTW: Interestingly enough, I no longer have a >> /usr/doc/Cygwin/cron.README!) > > Quote from the announcement: > "The package now adheres to the filesystem hirarchy standard (FHS)." > > That means, documentation, man pages and info pages are now under > /usr/share instead of /usr. Thanks. === Obligatory witty line: Help! I'm modeming... and I can't hang up!!! -- 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/