View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Nov 08, 2016 9:03 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
I updated my packages yesterday and had trouble with zoneminder. Here's the fix:
Code:
sudo -i
cd /etc/sv
sv stop zoneminder
zmupdate.pl
su - mysql
mysql -h localhost zm
mysql -h localhost zm < /usr/share/zoneminder/db/zm_update-1.28.99.sql
zmupdate.pl
mysql -h localhost zm < /usr/share/zoneminder/db/zm_update-1.28.108.sql
zmupdate.pl
sv start zoneminder

The reason I ran this repeated is that the "zmuser" did not have enough privileges to create tables so I would get an error and then apply the update manually. There's probably a better way to do this.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu