[rrd-users] Re: One other quickie :-D
Shipley, Rob
rshipley at state.mt.us
Tue Jun 26 18:29:44 MEST 2001
Have you "su bin" and executed the scripts as bin?(Most cron jobs are not
executed as user root, they run under bin). Most likely, make sure the
scripts are executible for bin. ie "chmod +x" as root or chown bin:bin.
-----Original Message-----
From: Mohammed Burney [mailto:rockit at wam.umd.edu]
Sent: Monday, June 25, 2001 7:20 PM
To: RRD Tool Users
Subject: [rrd-users] One other quickie :-D
Hello all,
Thanks to those of you that replied to my question. It really helped, heck
it fixed my problem :-)
My other problem that I wasn't able to get my perl scripts that update the
RRD to run thru cron. I tried 2-3 different approaches.
1) Tried using the 'use RRDs' method, and invoke the updates as Perl
functions
2) Make a system call to update the RRD `rrdtool update ...`
3) use pipe to update the RRD "./perl_script | rrdtool -
All of these methods work independently, meaning that if I run them thru the
command line, I have no problems. It is just when I run them thru cron that
nothing happens. I'm running as root, in Mandrake 7.2 from the / directory.
I asked around and people told me to try and give absolute path names, which
I did, and still nothing happened.
Thanks once again :-)
Mohammed
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list