On Sun, 5 Sep 1999, Ken Wilson wrote:
> If you look at slocate.cron in a text editor you will notice that the
> last '}' is on a line by itself. Go to the last '}' and do a backspace
> to bring it back up to its proper line.
>
> If that doesn't work you'll have to open slocate.cron with the hex
> editor. If you are using the hex editor, replace the 0A that appears
> just in front of the '}' with 20 (space). That should resolve the issue
> for sure. When you are done you should only have the slocate.cron file.
> If you have a slocate.cron~ file get rid of it.
>
> Ken Wilson
> First Law of Optimization: The speed of a nonworking program is
> irrelevant
> (Steve Heller, 'Efficient C/C++ Programming')
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of JK
> > Sent: Saturday, September 04, 1999 11:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: [newbie] cron error
> >
> >
> > Every time cron runs the below thing is what is sent to the
> > root user. I
> > logged on as root to install a new rpm I downloaded and it said I had
> > mail. I checked mail and 8 messages were based on this error. Any clue
> > how to fix the error?
> >
> > /usr/bin/news.daily: /var/lib/news/.news.daily: Permission denied
touch /var/lib/news/.news.daily
chown news:news /var/lib/news/.news.daily
> > /etc/cron.daily/slocate.cron: line 6: syntax error: unexpected end of
> > file
> >
> > Thanks in advance
> > John
> >
> >
>
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon