This is the mail archive of the cygwin@cygwin.com 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: crontab error


I do have the utilities and I was able to create a group and passwd file. I
still get an error trying to start the cron service however.

----- Original Message ----- 
From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
To: "Chuck Hamilton" <chuckh@softhome.net>
Cc: <cygwin@cygwin.com>
Sent: Friday, May 23, 2003 4:11 PM
Subject: Re: crontab error


> Chuck,
>
> FYI, the utilities are called "mkpasswd" and "mkgroup".  What I'm
> surprised at, though, is that these files should have been created
> automatically when you installed Cygwin.  Your cygcheck output indicates
> that you have the base-passwd package installed...  Try reinstalling it
> and checking for those files again.  If they are still not created, look
> in /var/log/setup.log.full for why mkpasswd and mkgroup failed.
> Igor
>
> On Fri, 23 May 2003, Chuck Hamilton wrote:
>
> > Is there a utility to create these files or do I have to hand edit them?
I
> > just checked and I don't have either one.
> >
> > ----- Original Message -----
> > From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
> > To: "Chuck Hamilton" <chuckh@softhome.net>
> > Cc: <cygwin@cygwin.com>
> > Sent: Friday, May 23, 2003 2:06 PM
> > Subject: Re: crontab error
> >
> >
> > > Chuck,
> > >
> > > I just answered your question on where to find the snapshots, but I
don't
> > > think that was the correct advice (sorry, Larry).  Anything that was
in
> > > the "latest snapshot" last July is bound to be in the current Cygwin
DLL
> > > (unless it was retracted later, but I doubt it)...  I still say you
should
> > > fix your /etc/passwd (and /etc/group) before trying other things.
> > > Igor
> > >
> > > On Fri, 23 May 2003, Chuck Hamilton wrote:
> > >
> > > > Which snapshot do I need? I'm a little neverous downloading when the
> > > > author says they may not work too.
> > > >
> > > > ----- Original Message -----
> > > > From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
> > > > To: "Chuck Hamilton" <chuckh@softhome.net>
> > > > Cc: <cygwin@cygwin.com>
> > > > Sent: Friday, May 23, 2003 1:40 PM
> > > > Subject: Re: crontab error
> > > >
> > > > > On <http://cygwin.com/>, bottom-left corner of the screen, look
for
> > > > > "snapshots".
> > > > > Igor
> > > > >
> > > > > On Fri, 23 May 2003, Chuck Hamilton wrote:
> > > > >
> > > > > > Sooo, how do I get "snapshots". I searched the package library
and
> > found
> > > > > > nothing. I am using the most recent cywin DLL - version
1.3.22-1.
> > > > > >
> > > > > > $ uname -a
> > > > > > CYGWIN_NT-5.0 QSD052234 1.3.22(0.78/3/2) 2003-03-18 09:20 i686
> > unknown
> > > > > > unknown Cygwin
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Larry Hall" <cygwin@cygwin.com>
> > > > > > To: <cygwin@cygwin.com>
> > > > > > Cc: "Chuck Hamilton" <chuckh@softhome.net>
> > > > > > Sent: Friday, May 23, 2003 10:56 AM
> > > > > > Subject: Re: crontab error
> > > > > >
> > > > > >
> > > > > > > It would also answer the question of whether or not his Cygwin
DLL
> > > > > > > is out of date.  I would've sworn I posted this link to
another
> > like
> > > > > > > query but I can't find it.  Anyway, during a recent psychic
trance
> > > > > > > <mystical music seeps into the background>, I've been able to
> > devine
> > > > > > > the problem and thus post this link as the answer:
> > > > > > >
> > > > > > > <http://www.cygwin.com/ml/cygwin/2002-06/msg01402.html>
> > > > > > >
> > > > > > > There.  Now we don't need the cygcheck output.  But boy do
those
> > > > > > > psychic trances take allot out of you!  Please don't make me
do
> > this
> > > > > > > all the time.
> > > > > > >
> > > > > > > Larry
> > > > > > >
> > > > > > >
> > > > > > > Igor Pechtchanski wrote:
> > > > > > > > Chuck,
> > > > > > > >
> > > > > > > > Are your /etc/passwd and /etc/group files up to date?  The
> > output of
> > > > > > > > "cygcheck -svr" (*attached*, as per
> > > > <http://cygwin.com/problems.html>)
> > > > > > > > should show whether this is the case.
> > > > > > > > Igor
> > > > > > > >
> > > > > > > > On Fri, 23 May 2003, Chuck Hamilton wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >>Didn't even know I was addressing a mailing list. I posted
> > > > originally to
> > > > > > a
> > > > > > > >>newsgroup. Anyway, here's the output.
> > > > > > > >>
> > > > > > > >>$ crontab -l
> > > > > > > >>no crontab for isscha
> > > > > > > >>
> > > > > > > >>As I said in a previous post I haven't been able to create a
> > > > crontab.
> > > > > > When I
> > > > > > > >>try I get a permissions error. See below.
> > > > > > > >>
> > > > > > > >>$ cat /tmp/crontab.1448
> > > > > > > >>50 8 * * * ~isscha/bin/test.sh
> > > > > > > >>
> > > > > > > >>$ crontab /tmp/crontab.1448
> > > > > > > >>chown: Invalid argument
> > > > > > > >>$
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>----- Original Message -----
> > > > > > > >>From: Harig, Mark A.
> > > > > > > >>To: Chuck Hamilton
> > > > > > > >>Cc: cygwin@cygwin.com
> > > > > > > >>Sent: Wednesday, May 21, 2003 3:43 PM
> > > > > > > >>Subject: RE: crontab error
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>Please address all replies to cygwin@cygwin.com.
> > > > > > > >>
> > > > > > > >>Please send to the mailing list the following as
attachments:
> > > > > > > >>
> > > > > > > >>1. The output of 'crontab -l' ("ell", not "one")
> > > > > > > >>
> > > > > > > >>2. The output of 'cygcheck -srv > cygcheck.txt'
> > > > > > > >>
> > > > > > > >>This information will help readers of the mailing list to
> > > > > > > >>diagnose the problem that you are having.
> > > > > > > >>-----Original Message-----
> > > > > > > >>From: Chuck Hamilton [mailto:chuckh@softhome.net]
> > > > > > > >>Sent: Wednesday, May 21, 2003 3:13 PM
> > > > > > > >>To: Harig, Mark
> > > > > > > >>Subject: Re: crontab error
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>Here's what I get...
> > > > > > > >>
> > > > > > > >>Your computer does not appear to have a crontab for isscha.
> > > > > > > >>Please generate a crontab for isscha using 'crontab -e',
> > > > > > > >>and run this script again.
> > > > > > > >>
> > > > > > > >>So I again try to generate a crontab with just a comment
line in
> > it
> > > > and
> > > > > > get
> > > > > > > >>this...
> > > > > > > >>
> > > > > > > >>$ crontab -e
> > > > > > > >>crontab: installing new crontab
> > > > > > > >>chown: Invalid argument
> > > > > > > >>crontab: edits left in /tmp/crontab.1660
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>----- Original Message -----
> > > > > > > >>From: "Harig, Mark A." <maharig@idirect.net>
> > > > > > > >>To: "Chuck" <chuckh@softhome.net>; <cygwin@cygwin.com>
> > > > > > > >>Sent: Wednesday, May 21, 2003 12:06 PM
> > > > > > > >>Subject: RE: crontab error
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>Please run the attached script.
> > > > > > > >>It will check some file permissions
> > > > > > > >>and other details that need to be
> > > > > > > >>set up properly in order for cron to
> > > > > > > >>work.  It does NOT change anything
> > > > > > > >>on your computer, but only diagnoses.
> > > > > > > >>You may need to run it several times
> > > > > > > >>until it completes successfully (it
> > > > > > > >>will stop any time it finds a problem
> > > > > > > >>and report to you what problem needs
> > > > > > > >>to be corrected).
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>>-----Original Message-----
> > > > > > > >>>From: Chuck [mailto:chuckh@softhome.net]
> > > > > > > >>>Sent: Wednesday, May 21, 2003 9:27 AM
> > > > > > > >>>To: cygwin@cygwin.com
> > > > > > > >>>Subject: crontab error
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>>I need a little help getting cron to work. My apologies if
> > > > > > > >>>this is answered
> > > > > > > >>>somewhere else but I haven't been able to find it.
> > > > > > > >>>
> > > > > > > >>>I've installed cron as a win2k service using "cygrunsrv -I
> > cron -p
> > > > > > > >>>/usr/sbin/cron -a -D -d "Cygwin cron" -e "CYGWIN=tty ntsec"
"
> > > > > > > >>>as suggested
> > > > > > > >>>in another post. When I try to start the service I get
"Could
> > > > > > > >>>not start the
> > > > > > > >>>cygwin cron service on local computer. The service did not
> > > > > > > >>>return an error.
> > > > > > > >>>This could be an internal Windows error or an internal
service
> > > > error."
> > > > > > > >>>
> > > > > > > >>>When I try to create a crontab file with "crontab -e" and
> > > > > > > >>>save it I get the
> > > > > > > >>>following error "chown: Invalid argument".
> > > > > > > >>>
> > > > > > > >>>What do I need to do to fix these?
> > >
> > > --
> > > http://cs.nyu.edu/~pechtcha/
> > >       |\      _,,,---,,_ pechtcha@cs.nyu.edu
> > > ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.com
> > >      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
> > >     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> > >
> > > "I have since come to realize that being between your mentor and his
route
> > > to the bathroom is a major career booster."  -- Patrick Naughton
> > >
> >
> >
> > --
> > 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/
> >
>
> -- 
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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