This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Similar Cron issue--Cron wont do anything


----- Original Message ----- 
From: "LAU2" 
To: <cygwin@cygwin.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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]