After pc reboot "Zoneminder Console - Stopped"
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?
I start it manualy but when restart pc it gets stopped again.
Ubuntu 10.4 desktop+Zoneminder 1.24.2
How to solve it?
-
- Posts: 7
- Joined: Wed Aug 11, 2010 12:05 am
I installed 3 diferent PC by this manual: http://www.zoneminder.com/wiki/index.ph ... 29_Desktop
and get this error...
and get this error...
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.
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.
This is typically what I have:
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:
* Note that ZM is trying to start 1 second before MySQL ^^/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.
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:
^^ Now there's a nice 15 second gapAug 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]
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!
works great now!