It looks like structured rra paths aren't working properly. Here is the output I get in the cacti log when I try to archive an rrd.
03/20/2009 03:05:18 PM - RRDCLEAN: Poller[0] RRDClean has finished 1 items
03/20/2009 03:05:18 PM - RRDCLEAN: Poller[0] 23/219.rrd Error: unable to move to /usr/local/cacti/rra/archive/!
03/20/2009 03:05:18 PM - RRDCLEAN: Poller[0] RRDClean is now running on 1 items
I ran the following query found in rrdmove.php:
SELECT plugin_rrdclean_action.id, plugin_rrdclean_action.name, plugin_rrdclean_action.local_data_id, plugin_rrdclean_action.action FROM plugin_rrdclean_action;
+----+------------+---------------+--------+
| id | name | local_data_id | action |
+----+------------+---------------+--------+
| 1 | 23/219.rrd | 0 | 3 |
+----+------------+---------------+--------+
It appears the it is putting the directory as part of the name. When the script tries to move the file is trying to "rename" 23/219.rrd instead of creating the folder and then moving the rrd file.
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - Cactid v
Server Info - Linux 2.6.27-11-server
Web Server - Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
PHP - 5.2.6-2ubuntu4.1
PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, gd, ldap, mysql, mysqli, pam_auth, PDO, pdo_mysql, sasl, snmp, xmlrpc, xsl
MySQL - 5.0.67-0ubuntu6
RRDTool - 1.3.6
SNMP - 5.4.1
Plugins- Global Plugin Settings (settings - v0.5)
Host Info (hostinfo - v0.2)
Network Discovery (discovery - v0.8.5)
Network Tools (tools - v0.3)