Capture deamon stops restarting

Support and queries relating to all previous versions of ZoneMinder
Locked
svadu
Posts: 25
Joined: Sun Oct 15, 2006 7:39 pm

Capture deamon stops restarting

Post by svadu »

Hi All,

I have a problem that I have to restart (/ets/init.d/zm restart) at least once a day because in the morning it stops restarting:

Code: Select all

==> /tmp/zmwatch.log <==
10/25/06 08:05:23.822265 zmwatch[5047].INF [Restarting capture daemon for Cam1, time since last capture 9 seconds (1161756323-1161756314)]
10/25/06 08:05:25.170792 zmwatch[5047].INF ['zmc -m 1' starting at 06/10/25 08:05:24, pid = 5082] at /usr/local/bin/zmwatch.pl line 118
10/25/06 08:06:30.295274 zmwatch[5047].INF [Restarting capture daemon for Cam1, shared memory not valid]
10/25/06 08:06:31.482760 zmwatch[5047].INF ['zmc -m 1' stopping at 06/10/25 08:06:31]
10/25/06 08:06:36.489718 zmwatch[5047].INF [Restarting capture daemon for Cam1, time since last capture 6 seconds (1161756396-1161756390)]
10/25/06 08:06:37.825949 zmwatch[5047].INF ['zmc -m 1' started at 06/10/25 08:06:37] at /usr/local/bin/zmwatch.pl line 118
10/25/06 08:06:42.834915 zmwatch[5047].INF [Restarting capture daemon for Cam1, time since last capture 4 seconds (1161756402-1161756398)]
10/25/06 08:06:44.195188 zmwatch[5047].INF ['zmc -m 1' started at 06/10/25 08:06:43] at /usr/local/bin/zmwatch.pl line 118
10/25/06 08:07:49.255421 zmwatch[5047].INF [Restarting capture daemon for Cam1, shared memory not valid]
10/25/06 08:07:50.440807 zmwatch[5047].INF ['zmc -m 1' stopping at 06/10/25 08:07:50]

Code: Select all

==> /tmp/zmpkg.log <==
10/23/06 15:03:03.985551 zmpkg[9698].INF [Command: start]
10/23/06 22:11:10.158372 zmpkg[14133].INF [Command: state]
10/23/06 22:11:10.160943 zmpkg[14133].INF [Updating DB: Nighttime]
10/23/06 22:20:21.573085 zmpkg[14471].INF [Command: restart]
10/24/06 08:00:03.166126 zmpkg[20282].INF [Command: state]
10/24/06 08:00:03.892504 zmpkg[20282].INF [Updating DB: Daytime]
10/24/06 19:03:19.978251 zmpkg[31362].INF [Command: state]
10/24/06 19:03:19.980939 zmpkg[31362].INF [Updating DB: Nighttime]
10/25/06 08:00:02.706477 zmpkg[4944].INF [Command: state]
10/25/06 08:00:03.192187 zmpkg[4944].INF [Updating DB: Daytime]

Code: Select all

==> /tmp/zmdc.log <==
10/25/06 08:06:37.371266 zmdc[5004].INF ['zmc -m 1' starting at 06/10/25 08:06:37, pid = 5091]
10/25/06 08:06:43.072014 zmdc[5004].ERR ['zmc -m 1' exited abnormally, exit status 255]
10/25/06 08:06:43.697946 zmdc[5095].INF ['zmc -m 1' started at 06/10/25 08:06:43]
10/25/06 08:06:43.714274 zmdc[5004].INF ['zmc -m 1' starting at 06/10/25 08:06:43, pid = 5095]
10/25/06 08:06:49.328771 zmdc[5004].ERR ['zmc -m 1' exited abnormally, exit status 255]
10/25/06 08:07:49.037564 zmdc[5004].INF [Starting pending process, zmc -m 1]
10/25/06 08:07:49.042839 zmdc[5100].INF ['zmc -m 1' started at 06/10/25 08:07:49]
10/25/06 08:07:49.046378 zmdc[5004].INF ['zmc -m 1' starting at 06/10/25 08:07:49, pid = 5100]
10/25/06 08:07:50.403268 zmdc[5004].INF ['zmc -m 1' stopping at 06/10/25 08:07:50]
10/25/06 08:07:50.421082 zmdc[5004].ERR ['zmc -m 1' exited abnormally, exit status 255]

Any idea what can be the problem?

Regards,
Sergei
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Im affaid your going to have to dig in your logs a little deeper and/or turn on debuging in zm. I see no error here other than the one monitor keeps restarting and form lack of information there is no way to answer.
Please check the troubleshooting section of the README and the Wiki.

Regards,
Corey
Locked