Jason, The problem isn't with the PERL script, but with the .gif files themselves. I currently have 12 files that I cannot delete unless I go to the server itself and delete them from there (logged in as Administrator). The other hundreds of .gif files are fine. Since my account can't delete them, the PERL/RRD programming can't overwrite them either. Dennis
-----Original Message----- From: Warnes, Jason SDH [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 7:26 AM To: 'Schroeder, Dennis' Subject: RE: [rrd-users] Strange RRDTool Image File Behavior The one thing to watch out for is the permissions that are assigned to the account which the Scheduling service is running under. If it's the System Account you'll probably be okay, but you won't have any permissions to access domain resources such as network printers, network shares, etc. But you should have access to the filesystems that you've granted the "SYSTEM" account access too. I think you mentioned that the Schedule service was running under your account though... But one way to see if you have permissions to delete the files is to schedule an interactive "CMD". Assuming you've allowed the Scheduling service to interact with the desktop, you should get a command prompt window on the screen of the server with the permissions of the Scheduling service account. Change to the directory where your GIF files are (because the CMD usually starts in C:\WINNT\System32), and see if you can delete the files. If not, it's a permissions thing with the Scheduling service account, if you can then it's something else. When you run your Perl script manually with your account does it work properly? Jason... -----Original Message----- From: Schroeder, Dennis [mailto:[EMAIL PROTECTED] Sent: June 3, 2002 12:56 PM To: 'Warnes, Jason SDH' Subject: RE: [rrd-users] Strange RRDTool Image File Behavior Jason, It's scheduled. The schedule kicks off a .bat file that runs the PERL programs that fetch data and build graphs. DS -----Original Message----- From: Warnes, Jason SDH [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Monday, June 03, 2002 11:50 AM To: 'Schroeder, Dennis'; 'RRD Mailing List (E-mail)' Subject: RE: [rrd-users] Strange RRDTool Image File Behavior Are you running RRDTool from the command line or do you have it scheduled? Jason... -----Original Message----- From: Schroeder, Dennis [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: June 3, 2002 10:54 AM To: 'RRD Mailing List (E-mail)' Subject: [rrd-users] Strange RRDTool Image File Behavior Scenario... 1. RRDTool PC (Win2k Adv. Server) logged in under my domain account 2. Scheduled Tasks using my account to run batch files that perform RRDTool functions 3. Directory on server (WinNT 4.0) where .gif files stored has "Full Control" permissions for my account 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. 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. Dennis Schroeder SANMINA-SCI Corp. Direct: 602-824-8431 Mobile: 602-432-3258 E-Mail: [EMAIL PROTECTED] Never attribute to malice that which can be adequately explained by stupidity. -- Unsubscribe mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Help mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Archive http://www.ee.ethz.ch/~slist/rrd-users <http://www.ee.ethz.ch/~slist/rrd-users> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi <http://www.ee.ethz.ch/~slist/lsg2.cgi> -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
