Hi, Chantal Rosmuller wrote on 02.02.2007 at 20:08:46 [[BackupPC-users] cannot cleanup /var/lib/backuppc/trash]: > If I want to clean up /var/lib/backuppc/trash I get the following error: > > [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_trashClean > processState running > log BackupPC_trashClean failed to empty /var/lib/backuppc/trash > processState idle
first of all, I don't think you're actually supposed to run BackupPC_trashClean from the command line. BackupPC will run it for you. BackupPC_trashClean (and BackupPC::Lib::RmTreeTrashEmpty() aren't exactly explicit about what is failing. There are a few possibilities that spring to mind: - file system mounted read-only? - immutable bit set on a file (presuming it's an ext2/ext3)? - directory permissions messed up (however that happened) find /var/lib/backuppc/trash -type d \! \( -perm -0200 -a -user backuppc \) -ls should show you what's wrong, if anything is If that doesn't help: - what sort of filesystem is /var/lib/backuppc on? - Debian? BackupPC 3.0.0? - du -s /var/lib/backuppc/trash (after running BackupPC_trashClean)? - are any files removed at all? Is there a pause between 'processState running' and 'log BackupPC_trashClean failed ...'? - You *are* running that as 'backuppc' (as your prompt indicates), and that *is* the BackupPC user? [Yes, I know, otherwise there should be a warning about running with an incorrect UID] Regards, Holger ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
