Export failed
Export failed
Help!
I have recently had several vehicles broken into and the police are very happy with the recorded images.
They have of course, asked for a copy of the images.
No chance
I have ticked all the images on the events page (110 events recorded) and clicked on export: Export failed every time.
I have checked /var/cache/zoneminder/temp and it is empty.
The police come back in about 2 hours and I have nothing for them.
I have recently had several vehicles broken into and the police are very happy with the recorded images.
They have of course, asked for a copy of the images.
No chance
I have ticked all the images on the events page (110 events recorded) and clicked on export: Export failed every time.
I have checked /var/cache/zoneminder/temp and it is empty.
The police come back in about 2 hours and I have nothing for them.
Check the permissions on the temp directory. It must be writable by whatever user is running the http processes (wwrun on my system). If you are really desperate you could try changing the directory permissions to 777.
Also, are you sure you are looking in the correct directory? On mine the temporary directory for exports is located at:
ZM_PATH_WEB/temp
ZM_PATH_WEB is defined in the /etc/zm.conf file.
Also, are you sure you are looking in the correct directory? On mine the temporary directory for exports is located at:
ZM_PATH_WEB/temp
ZM_PATH_WEB is defined in the /etc/zm.conf file.
ZM_PATH_WEB is /usr/share/zoneminder just to confuse things.
www-data has the permissions, but I've allowed read/write, create/delete files in the aforementioned directories.
Still no joy.
Is there a fault log I can look at?
Shall I change the path to /var/cache/zoneminder/temp ? as /usr/share/zoneminder is pretty full up with all sorts of stuff and /var/cache/zoneminder/temp is empty...
www-data has the permissions, but I've allowed read/write, create/delete files in the aforementioned directories.
Still no joy.
Is there a fault log I can look at?
Shall I change the path to /var/cache/zoneminder/temp ? as /usr/share/zoneminder is pretty full up with all sorts of stuff and /var/cache/zoneminder/temp is empty...
Tried new temp directory owned by www-data.
Still no joy.
I switched additional debug on, set the level to 5 and looked at zm_debug.log and it doesn't seem to record anything about exporting.
And yes, I am really, really desperate. Forensics have just been, and I couldn't hand anything over to them.
Still no joy.
I switched additional debug on, set the level to 5 and looked at zm_debug.log and it doesn't seem to record anything about exporting.
And yes, I am really, really desperate. Forensics have just been, and I couldn't hand anything over to them.
-
- Posts: 35
- Joined: Tue Jun 15, 2010 6:18 am
I'm sorry to hear about your loss of data so far. Working in forensics, I'd suggesting shutting down the computer and giving the hard drive to the officers, asking them to deliver it to a computer forensics department to see if they can recover the lost files. I've had to do that a few times at work when a DVR had files that were "deleted". Though, I don't know fully if linux zeros out the deleted files, or if it just marks them as deleted files... I'm in video forensics, not computer forensics and will ask my co-workers when I go back to work this week.
Anyhow, I couldn't export to a zip file until I installed the zip package on my ubuntu box. did the trick.
Anyhow, I couldn't export to a zip file until I installed the zip package on my ubuntu box.
Code: Select all
sudo apt-get install zip
If there is still time then kill the zmaudit process.
My guess is that you changed the setting for where the event images are stored (DIR_EVENTS) and zmaudit then ran and deleted all the event entries from the database because it could not find the events. You then changed it back and zmaudit started deleting the events because there was no longer any matching database entries.
The apache config file(s) should tell you where its error file is located.
My guess is that you changed the setting for where the event images are stored (DIR_EVENTS) and zmaudit then ran and deleted all the event entries from the database because it could not find the events. You then changed it back and zmaudit started deleting the events because there was no longer any matching database entries.
The apache config file(s) should tell you where its error file is located.
Thanks everyone!
As camroid suggested, I offered the hard drive to the police and they snapped it up.
They brought a computer guy with them and he was happy to send it over to Computer Forensics.
Things were getting too complicated as I switched the computer off yesterday, only to find that the PSU had called it a day, and wouldn't switch on again this morning - guess being on for 24 hours a day, 365 days a year took it's toll on an e-machines box.
I managed to figure out the directory structure which hopefully will help them pull 3 hours worth of jpegs in 110 directories, each with an average of 30 jpg's. Good luck to them.
I don't care if I ever see that hard drive again.
I will buy another drive and PSU, reload Linux and Zoneminder and test to see if I can export files straight away.
This story hasn't finished yet Paranoid.. I will be back.....
As camroid suggested, I offered the hard drive to the police and they snapped it up.
They brought a computer guy with them and he was happy to send it over to Computer Forensics.
Things were getting too complicated as I switched the computer off yesterday, only to find that the PSU had called it a day, and wouldn't switch on again this morning - guess being on for 24 hours a day, 365 days a year took it's toll on an e-machines box.
I managed to figure out the directory structure which hopefully will help them pull 3 hours worth of jpegs in 110 directories, each with an average of 30 jpg's. Good luck to them.
I don't care if I ever see that hard drive again.
I will buy another drive and PSU, reload Linux and Zoneminder and test to see if I can export files straight away.
This story hasn't finished yet Paranoid.. I will be back.....