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

Warnes, Jason SDH warnesj at sdh.sk.ca
Tue Jun 4 23:48:26 MEST 2002


Is that the error from the RRD Tool command line?  If it's the error capture
by the Perl RRDs module then I'm not sure if this will help, but when I'm
writing my Perl scripts for NT I need to use the \ slash when specifying
file systems, not the / slash that is used in UNIX.  In my Perl scripts on
NT I actually need to use a \\ everytime because the \ is an escape
character for text formatting.

I'm probably way off base here, but it was something I noticed...

Jason...

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