Export Function Errors (failed to open dir)(SOLVED)
Export Function Errors (failed to open dir)(SOLVED)
For some reason when i export on zoneminder i get a a page of errors yet nothing in the logs
Also the files do exist because i sshed in and alll then events are in there
When i create a zip i get the errors in a screen shot and when i create a tar i get an empty file
I am running Ubuntue 8.04 64bit
The only extra things installed is Firefox2, ffmepg+plugins, and htop
Currently have 4 cams running at 800x600 10 fps all axis network cams
Screen Shot Of error
http://www.box.net/shared/w0ue8gl8g8
Thanks in Advance
Also the files do exist because i sshed in and alll then events are in there
When i create a zip i get the errors in a screen shot and when i create a tar i get an empty file
I am running Ubuntue 8.04 64bit
The only extra things installed is Firefox2, ffmepg+plugins, and htop
Currently have 4 cams running at 800x600 10 fps all axis network cams
Screen Shot Of error
http://www.box.net/shared/w0ue8gl8g8
Thanks in Advance
Last edited by kingofkya on Wed Jun 25, 2008 6:03 pm, edited 2 times in total.
turned the debug on and found
Found once
06/22/08 17:06:01.890468 zma_m3[8971].ERR-zm_image.cpp/265 [Can't open events/2555SW-unit10-11/diag-4-1.jpg: No such file or directory]
06/22/08 17:04:47.281989 zmf_m3[8968].WAR-zmf.cpp/54 [Can't unlink '/tmp/zmf-3.sock': No such file or directory]
06/22/08 17:04:48.748546 zmf_m3[8968].INF-zmf.cpp/86 [Frame server socket open, awaiting images]
Found a few times
06/22/08 17:05:55.095953 zmf_m4[8960].DB1-zmf.cpp/202 [Select timed out]
06/22/08 17:05:55.861213 zmf_m4[8960].DB1-zmf.cpp/232 [Read frame header, expecting 155218 bytes of image]
Is this relevent or tell me where to look
Found once
06/22/08 17:06:01.890468 zma_m3[8971].ERR-zm_image.cpp/265 [Can't open events/2555SW-unit10-11/diag-4-1.jpg: No such file or directory]
06/22/08 17:04:47.281989 zmf_m3[8968].WAR-zmf.cpp/54 [Can't unlink '/tmp/zmf-3.sock': No such file or directory]
06/22/08 17:04:48.748546 zmf_m3[8968].INF-zmf.cpp/86 [Frame server socket open, awaiting images]
Found a few times
06/22/08 17:05:55.095953 zmf_m4[8960].DB1-zmf.cpp/202 [Select timed out]
06/22/08 17:05:55.861213 zmf_m4[8960].DB1-zmf.cpp/232 [Read frame header, expecting 155218 bytes of image]
Is this relevent or tell me where to look
any ideas
also after i delete manually(to make sure it goes away) apatche holds the old file i believe cuz i got an old file on second and third export
and also export always fails when i export a archived event
found more any event older than about a day fails i think it might be a data base problem do you agree
ideas
also after i delete manually(to make sure it goes away) apatche holds the old file i believe cuz i got an old file on second and third export
and also export always fails when i export a archived event
found more any event older than about a day fails i think it might be a data base problem do you agree
ideas
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
are all your paths setup right, and does the zm process have write access to the tmp directory?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
yeha the file generates in the temp directory but for some weird reason it only works for events that happen on the same cam multiple events off different cams cause it to give the screen shoot above
checked permisions on images event temp all all say owned by www-data group www-data and read access to everyone
what else to check
checked permisions on images event temp all all say owned by www-data group www-data and read access to everyone
what else to check
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
zip needs perl-zip if i recall.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
I just had this happen on a working system... Look in the events directory and see if you have a symbolic link to each cam. I was mossing many of them, and I don't know why. The commands I used to fix cleanly...
You do this from the events directory, and you su to www-data to make file ownership clean. Use the camera names appropriate to your system, and only make the ones missing.
Code: Select all
sudo su www-data
ln -s 2 1st-North-Stair
ln -s 3 1st-South-Stair
THat hit the nail on the head
i set up 4 cams at the same time but thre ones with numbers in the first digit are the ones missing the link
May have found bug
when you restart zoneminder with cams that have a number in the first digit it removes the symlink i had to rename mine "255m-front" to "Front-255m" then make link
and it stayed
i set up 4 cams at the same time but thre ones with numbers in the first digit are the ones missing the link
May have found bug
when you restart zoneminder with cams that have a number in the first digit it removes the symlink i had to rename mine "255m-front" to "Front-255m" then make link
and it stayed