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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23197408.post@talk.nabble.com>
Date: Thu, 23 Apr 2009 08:26:49 -0700 (PDT)
From: LAU2 <lurqu01 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Similar Cron issue--Cron wont do anything
In-Reply-To: <23197369.post@talk.nabble.com>
MIME-Version: 1.0
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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



LAU2 wrote:
> 
> 
> 
> 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?
>> 
>> 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/
>> 
>> 
>> 
> 
> 
> 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. 
> 
> 
> 
> 
Ignore comment number 3).

I followed the instructions below:

<start>
cat /etc/passwd

Look for your current Windows login name
Then look at the fourth field. [fields are separated by colons] Note the
value.
This value is called a GID (group ID)

cat /etc/group

Look for the line that begins with Users.
Look at the third field, it should be the same as the GID above.
If not, edit /etc/group so that it agrees.
<end>

They did not agree so I changed them so that they do agree. But still not
luck. I have uploaded the new cronbug file

http://www.nabble.com/file/p23197408/cronbug.txt cronbug.txt 



-- 
View this message in context: http://www.nabble.com/Similar-Cron-issue--Cron-wont-do-anything-tp23177251p23197408.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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