View unanswered posts | View active topics It is currently Fri May 24, 2013 1:41 am



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
After pc reboot "Zoneminder Console - Stopped" 
Author Message

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post After pc reboot "Zoneminder Console - Stopped"
When i restart pc get "Zoneminder Console - Stopped"
I start it manualy but when restart pc it gets stopped again.

Ubuntu 10.4 desktop+Zoneminder 1.24.2

How to solve it?


Fri Aug 13, 2010 12:24 pm
Profile

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post 
Anybody please help!


Fri Aug 13, 2010 1:40 pm
Profile

Joined: Wed Apr 02, 2008 1:04 am
Posts: 833
Post 
You have a required service that ZM needs not set to start at boot. In FC12 you'd need to go to System::Administration::Services, scroll down to the ZM services, enable the ones that aren't running, and set to start. Can't tell you specifically on Ubuntu.


Fri Aug 13, 2010 3:49 pm
Profile

Joined: Wed Aug 11, 2010 1:05 am
Posts: 7
Post 
Install "bum". Just search for it in the synaptic package manager. It should show up in System > Administration > Bootup Manager


Sun Aug 15, 2010 10:25 pm
Profile

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post 
Thanks "bb99" and "williamthrilliam" for your answers, but this not help.
When i start manualy Zoneminder service In Boot-Up Manager, after reboot it stopped.

Any ideas?


Mon Aug 16, 2010 7:59 am
Profile

Joined: Wed Dec 02, 2009 10:55 pm
Posts: 556
Location: Spain
Post 
Try reinstalling apache2.


Mon Aug 16, 2010 1:06 pm
Profile

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post 
that not helpped :(


Tue Aug 17, 2010 9:00 am
Profile

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post 
I installed 3 diferent PC by this manual: http://www.zoneminder.com/wiki/index.ph ... 29_Desktop

and get this error...

:x


Tue Aug 17, 2010 1:01 pm
Profile

Joined: Mon Aug 02, 2010 12:45 pm
Posts: 9
Post 
before reboot pc
Image

after reboot pc
Image


Any ideas?


Tue Aug 17, 2010 2:35 pm
Profile

Joined: Mon Mar 08, 2010 11:30 am
Posts: 19
Post 
I've got this problem too with Ubuntu server.
Zoneminder service is configured to start on boot, but this does not happen.
I don't think this is a zoneminder problem, as the init script works perfectly. It should be an Ubuntu problem, i'll try top post on an ubuntu and see ifI can get something to work.


Wed Aug 18, 2010 12:23 pm
Profile
User avatar

Joined: Mon Mar 26, 2007 7:07 am
Posts: 1101
Location: Las Vegas, Nevada
Post 
Haven touched ubuntu in a while but i believe it has something to do with permission you may have to add zm to the video group. If not go open the log viewer under admin tool should give some more info.

_________________
GOOGLE TUTORIAL

Professional ZM install
Give PM or email.
E-lance Profile Link

Experiment/Blog


Wed Aug 18, 2010 10:54 pm
Profile YIM

Joined: Fri Jul 30, 2010 1:29 am
Posts: 69
Post 
I'm having the exact same thing.

It appears to me as if the ZoneMinder service is trying to start before the MySQL server has started, letting the ZoneMinder service fail to start.

I'm gonna see if sleeping the ZM startup script for a few seconds could fix this.


Tue Aug 24, 2010 1:44 am
Profile

Joined: Fri Jul 30, 2010 1:29 am
Posts: 69
Post 
This is typically what I have:
/var/log/syslog wrote:
Aug 24 03:01:33 it-desktop zmfix[1267]: ERR [Can't connect to server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)]
Aug 24 03:01:34 it-desktop /etc/mysql/debian-start[1431]: Upgrading MySQL tables if necessary.

* Note that ZM is trying to start 1 second before MySQL ^^

Simply adding 'sleep 15' in the line above 'zmfix -a' in the /etc/init.d/zoneminder file fixed my ZoneMinder startup problems!
Here's the new output from the syslog:
Quote:
Aug 24 03:05:29 it-desktop /etc/mysql/debian-start[1412]: Upgrading MySQL tables if necessary.
Aug 24 03:05:44 it-desktop zmpkg[1731]: INF [Command: start]

^^ Now there's a nice 15 second gap :)


Tue Aug 24, 2010 2:10 am
Profile

Joined: Sat Aug 14, 2010 3:25 pm
Posts: 5
Post 
works but for me (I'm using 10.4 server with dist-upgrade on 8-29-10) adding the "sleep 15" line broke apache2 and kept it from starting on boot. I fixed this and got apache server to start on boot by removing it from startup with "update-rc.d -f apache2 remove" and adding the line "apache2ctl restart" AFTER the sleep command.

works great now!


Sun Aug 29, 2010 4:02 pm
Profile

Joined: Mon Mar 08, 2010 11:30 am
Posts: 19
Post 
What I have done:

update-rc.d -f zoneminder remove
then
update-rc.d zoneminder defaults 92

So it strats after apache, and normally after mysql.

Worked for me.


Mon Aug 30, 2010 10:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Google Feedfetcher 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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group