delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/23/11:40:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.2 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-id: <031101c9c429$b1f868c0$940410ac@wirelessworld.airvananet.com>
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
To: "LAU2" <lurqu01 AT hotmail DOT com>, <cygwin AT cygwin DOT com>
References: <23177251 DOT post AT talk DOT nabble DOT com> <030101c9c418$0e5d8940$940410ac AT wirelessworld DOT airvananet DOT com> <23197369 DOT post AT talk DOT nabble DOT com>
Subject: Re: Similar Cron issue--Cron wont do anything
Date: Thu, 23 Apr 2009 11:39:30 -0400
MIME-version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

----- Original Message ----- 
From: "LAU2" 
To: <cygwin AT cygwin DOT com>
Sent: Thursday, April 23, 2009 10:39 AM
Subject: Re: Similar Cron issue--Cron wont do anything


| Pierre A. Humblet wrote:
| > ----- Original Message ----- 
| > From: "LAU2" 
| > To: <cygwin AT cygwin DOT com>
| > Sent: Wednesday, April 22, 2009 6:04 PM
| > 
| > | 
| > | Hi I have been having similar problems with running cron on through
| > cygwin. 
| > | 
| > | Here is what I have done so far:
| > | 
| > | 1) created a simple shell file <create_new_dir.sh>
| > | 
| > <snip>| 
| > | 5) checked the /var/log/cron and here is what it said
| > | 
| > | unable to set groups for myusername
| > | 
| > | 
| > | Any thoughts?
| > ****************
| > 1) was cron installed with cron-config ?
| > 2) run "cronbug" and send us the output (attach)
| > 3) the message indicates a failure in setgrp or initgroups. That's
| > unusual.
| >     Is your /etc/group up to date?
| > 
|| 
| Answers
| 
| 1) yes. No problems
| 
| 2) see attached http://www.nabble.com/file/p23197369/cronbug.txt cronbug.txt 
| 
| 3) This may be my problem. I can't find /etc/group in my directories. (I
| apologize I am new to cygwin)
| 
| I should have mentioned this earlier but I am using windows vista, which
| from the cronbug file i see it says not supported. 
|
***********************************
- I am mystified by cygcheck saying  
     "Windows Longhorn/Vista (not yet supported!) "
- The cronbug file looks truncated. The last line I see is 
   118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
   The current cygwin dll and the installed services do not appear.
   Did you interrupt cronbug?
- At the time you ran cronbug, you had no crontab file. 
   So we can't check that aspect.
- The cron log indicates failure due to "can't switch user context"
   Yet cron is running as yourself (Langdon, uid 1002), so that shouldn't be an issue :(
-  You should be able to "ls -l /etc/group /etc/passwd"
    Make sure they are readable by all and that Landon appears only once in /etc/passwd 

Pierre

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