.dmrc after power fault fix

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
tszodie
Posts: 21
Joined: Tue Jan 22, 2008 7:39 pm
Location: Yellowknife NWT

.dmrc after power fault fix

Post by tszodie »

hey guys just thought I'd lurk over to drop a fix for what just happened to me. As I've mentioned before we be up in the great white north o Canada so power faults in Yellowknife are hell summer and winter. Ok the fix before I start to rant :P .. So if the sql is doing reads & writes (which would be all the time with ZM) and that gets interrupted it can cause a .dmrc error (well documented online). I did these two steps.. *replace odcam with yer user*

sudo chmod 644 /home/odcam/.dmrc
sudo chown odcam /home/odcam/.dmrc
sudo chmod -R 700 /home/odcam
sudo chown -R odcam /home/odcam

Then I used phpmyadmin > log in > pick ZM database > select check all > in drop down box saying "with selected" change to repair table .. :D
And there u have it if anyone has anything to add about power bumps and outages feel free to lemme know. I guess ill be upgrading the UPS's again
tszodie
Posts: 21
Joined: Tue Jan 22, 2008 7:39 pm
Location: Yellowknife NWT

Post by tszodie »

well crap I feel bad now .. hehe sorry for jackin yer post ...
http://www.zoneminder.com/forums/viewtopic.php?t=11615
Post Reply