On Wednesday, Jun 06, 2001, Scott Taylor wrote:

> >> > >If I remember right, this is from the htdig cron job.  If memory serves,
> >> > >after I setup htdig (/etc/htdig/htdig.conf) to scan what I wanted, I
> >> > >didn't get that message anymore.  I could be wrong, though.
> >> >
> >> > That wasn't it either.  htdig runs fine without any errors.
> >> > Thanks for the suggestion.
> >>
> >>I was sure that was it... oh well, sorry I couldn't help you.  I know I
> >>fixed that somehow.  Have you looked at the contents of all the scripts 
> >>in cron.daily?  Maybe one of them mentions something about DB2?
> >
> >Sorry, I was wrong.  I removed the "su -" out of that line and it runs 
> >fine, just out of curiosity I tried it with the "su -" in and the error 
> >occurred right away.
> >
> >So, why was "su -" in there in the first place?
> Oops, sorry again, let me clarify that -- removed the "su -" from the line 
> in the file "/etc/cron.daily/htdig-dbgen"

This is how mine looks on 8.0:

#!/bin/bash
# cron.daily script to run htdig db generation
su - htdig -c "/usr/sbin/rundig -a"

That basically says to run this one command (the '-c "/usr/sbin/rundig
-a"' part) as user htdig (the 'su - htdig' part).  It works just fine on
my 8.0 system.  I still say that I remember it going away on 7.2 after I
configured htdig. *shrug*

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4     2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 6 days 12 hours 47 minutes.

Reply via email to