[rrd-users] Re: Strange RRDTool Image File Behavior

Schroeder, Dennis dennis.schroeder at sanmina.com
Tue Jun 4 17:29:24 MEST 2002


Bruno,

Actually, the programs are working fine (for the most part).  This is NOT
happening on every graph file.  There are currently only 12 files out of
over 1000 that are having a problem, the rest update (get replaced) when the
program runs without a problem.

This seems to be some kind of strange permission thing, or the files are
corrupt or something.  It's very strange when I delete them, hit 'refresh'
and they are still there (never deleted).  If I go directly to the server, I
can delete them and they are really gone.

Dennis

-----Original Message-----
From: Wollmann, Bruno RHD [mailto:BWollmann at reginahealth.sk.ca]
Sent: Tuesday, June 04, 2002 8:27 AM
To: 'Schroeder, Dennis'
Subject: RE: [rrd-users] Re: Strange RRDTool Image File Behavior


Hi Dennis

The error message says "Opening '../filename.gif' for write: Invalid
argument"

I think you are using the wrong "slash" on NT.  You should use
"\filename.gif" not "/filename.gif"

Let me know what you find
Bruno

-----Original Message-----
From: Schroeder, Dennis [mailto:dennis.schroeder at sanmina.com]
Sent: June 4, 2002 9:09 AM
To: RRD Mailing List (E-mail)
Subject: [rrd-users] Re: Strange RRDTool Image File Behavior


RRD shows the following error when trying to create the new image file:

"Opening '../filename.gif' for write: Invalid argument"

This doesn't halt my PERL program, it continues on to the next step.

When I attempt to manually delete the files, they will disappear from
Explorer (until I "refresh" or re-run my search).  The file is not being
recreated, it still has a modify date that is not current.  If I try to
delete from a CMD prompt, I get no errors, but when I DIR again, it's still
there.

The permissions on the directory where all of the image files are being
stored are as follows:

Domain Admins: Full Control
My Account: Full Control
Everyone: Read

It was intentionally setup this way because of the access by the user
community to this server...I didn't want just anyone to have more than
"read" permissions.

Dennis

-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Sent: Monday, June 03, 2002 2:54 PM
To: dennis.schroeder at sanmina.com
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Strange RRDTool Image File Behavior


Schroeder, Dennis wrote:

> Several of the image (.gif) files cannot be replaced with new ones by
> RRDTool.  I cannot delete them (I don't get an error, they just "reappear"
> when I refresh the directory listing) using my account, but (and this is
> strange) I can rename them.

"Cannot be replaced".  Does this mean that RRDtool stops with an error?

"reappear".  Could it be that they *are* recreated?  If this happens
right away, could there be a tight loop where RRDtool is called over
and over again?

> If I go to the server (WinNT 4.0 - logged in as "administrator"), I can
> delete them from there and RRDTool will recreate them the next time
around.

> Has anyone ever seen this?  It's very strange.  By the way, MY account has
> Domain Admin permissions, so there shouldn't be a file on any of our
servers
> I can't delete.

Is this true?  It works this way for root on unix but IIRC you don't
need to permit the admin group anything if you don't want?  The admin
may steal your file (change ownership) but this doesn't mean the file
can be read/changed/whatever prior to that?

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+


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