SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002544: error while usb backupping - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002544Endian FirewallOther Scriptspublic2009-12-15 15:522010-11-22 12:06
0002544: error while usb backupping
Tried to run the /etc/cron.daily/usbbackup script

And it ends whit this:

Traceback (most recent call last):
  File "/usr/local/bin/efw-backupusb", line 313, in ?
  File "/usr/lib/python2.4/site-packages/endian/core/", line 59, in end_notifications
  File "/usr/lib/python2.4/site-packages/endian/core/", line 308, in end
  File "/usr/lib/python2.4/site-packages/endian/core/", line 242, in close
OSError: [Errno 2] No such file or directory: '/var/lock/services/backup.status'
related to 0002646closed peter-endian notifications: handle status of notifications file 
Issue History
2009-12-15 15:52luca-endianNew Issue
2009-12-15 15:53luca-endianTag Attached: purple
2009-12-15 15:54luca-endianDescription Updated
2010-01-21 19:04peter-endianAssigned To => peter-endian
2010-01-21 19:04peter-endianStatusnew => confirmed
2010-01-21 19:04peter-endianTarget Version => 2.3.1
2010-01-28 17:49peter-endianRelationship addedrelated to 0002646
2010-01-28 17:51peter-endianNote Added: 0003716
2010-01-28 17:55peter-endianStatusconfirmed => resolved
2010-01-28 17:55peter-endianFixed in Version => 2.3.1
2010-01-28 17:55peter-endianResolutionopen => fixed
2010-11-22 12:06peter-endianStatusresolved => closed

2010-01-28 17:51   
happens sometimes because end_notifications() will be called twice in some circumstances -> 0002544

and, always because:

efw-usbbackup calls which both write within the same notifications file. at the end removes that status file, bit efw-backupusb still needs it to write within it and at the end would like to remove it, but it has been already removed by should not remove that file if exists on enable_notification()
in order to allow sort of cascading