Can't start zm

Support and queries relating to all previous versions of ZoneMinder
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you post any errors you are seeing from the logs, specifically /var/log/messages?

I have also modified the regexp a little more since posting the patch so it's possible that it didn't fix your particular issue.
Phil
rodj59
Posts: 18
Joined: Sat Apr 15, 2006 9:57 am

Can't start ZM

Post by rodj59 »

The main cause of my lack of vision seems to have been the configuration of ZM_PATH_ZMS = /cgi-bin/nph-zms (this was I believe the unchanged setting of the installation). Setting it = /cgi-bin/zms clears things up quite a bit : I can now see something. javascript:emoticon(':shock:')

I updated & configured a firefox/linux browser with as many streaming plugins as I could find & yet it still doesn't seem to work with ZM_STREAM_METHOD = mpeg : had to use jpeg. I also set ZM_MPEG_LIVE_FORMAT = avi: not sure if any other combinations work. I am not using the "CPU Crushing" Cambozola.jar ! ... yippee

I don't seem to be getting the shared memory errors I was getting last week: the only change I believe I have made was to update the procps package. Shared memory errors previously showed up in the zmwatch.log.

There isn't anything interesting in the /var/log/messages but these are messages in zmdc.log around the act of trying to change the state of a monitor to Mocord:-

05/14/06 00:20:00.241525 zmdc[6587].INF ['zmfilter.pl ' stopping at 06/05/14 00:20:00]
05/14/06 00:20:00.246012 zmdc[6587].INF ['zmfilter.pl ' died, signal 14]
05/14/06 00:20:00.249002 zmdc[6587].INF ['zma -m 2' stopping at 06/05/14 00:20:00]
05/14/06 00:20:01.032743 zmdc[6587].INF ['zma -m 2' died]
05/14/06 00:20:01.034937 zmdc[6587].INF ['zmc -d /dev/video0' stopping at 06/05/14 00:20:01]
05/14/06 00:20:01.407591 zmdc[6587].INF ['zmc -d /dev/video0' died]
05/14/06 00:20:01.409874 zmdc[6587].INF ['zmaudit.pl -c' stopping at 06/05/14 00:20:01]
05/14/06 00:20:01.422904 zmdc[6587].INF ['zmaudit.pl -c' died, signal 14]
05/14/06 00:20:01.425165 zmdc[6587].INF ['zma -m 1' stopping at 06/05/14 00:20:01]
05/14/06 00:20:01.709296 zmdc[6587].INF ['zma -m 1' died]
05/14/06 00:20:12.336698 zmdc[6587].INF [Server shutdown at 06/05/14 00:20:12]
05/14/06 00:20:16.879975 zmdc[6813].INF [Server starting at 06/05/14 00:20:16]
05/14/06 00:20:23.149018 zmdc[6844].INF ['zmc -d /dev/video0' started at 06/05/14 00:20:23]
05/14/06 00:20:23.191406 zmdc[6813].INF ['zmc -d /dev/video0' starting at 06/05/14 00:20:23, pid =6844]
05/14/06 00:20:25.068537 zmdc[6848].INF ['zma -m 1' started at 06/05/14 00:20:25]
05/14/06 00:20:25.075298 zmdc[6813].INF ['zma -m 1' starting at 06/05/14 00:20:25, pid = 6848]
05/14/06 00:20:28.531609 zmdc[6813].INF ['zmc -d /dev/video0' already running at 06/05/14 00:20:23, pid = 6844]
05/14/06 00:20:31.923475 zmdc[6855].INF ['zma -m 2' started at 06/05/14 00:20:31]
05/14/06 00:20:32.147385 zmdc[6813].INF ['zma -m 2' starting at 06/05/14 00:20:32, pid = 6855]
05/14/06 00:20:35.340997 zmdc[6861].INF ['zmfilter.pl' started at 06/05/14 00:20:35]
05/14/06 00:20:35.343298 zmdc[6813].INF ['zmfilter.pl' starting at 06/05/14 00:20:35, pid = 6861]
05/14/06 00:20:42.687939 zmdc[6868].INF ['zmaudit.pl -c' started at 06/05/14 00:20:42]
05/14/06 00:20:42.691366 zmdc[6813].INF ['zmaudit.pl -c' starting at 06/05/14 00:20:42, pid = 6868]
05/14/06 00:20:46.920385 zmdc[6813].INF ['zmwatch.pl' starting at 06/05/14 00:20:46, pid = 6874]
05/14/06 00:20:46.939699 zmdc[6874].INF ['zmwatch.pl' started at 06/05/14 00:20:46]
05/14/06 00:20:51.290435 zmdc[6813].INF ['zmupdate.pl -c' starting at 06/05/14 00:20:51, pid = 6878]
05/14/06 00:20:51.558958 zmdc[6878].INF ['zmupdate.pl -c' started at 06/05/14 00:20:51]
05/14/06 00:54:42.992682 zmdc[6813].INF ['zma -m 2' stopping at 06/05/14 00:54:42]
05/14/06 00:54:44.382958 zmdc[6813].INF ['zma -m 2' died]
05/14/06 00:56:36.817398 zmdc[6813].INF ['zmc -d /dev/video0' stopping at 06/05/14 00:56:36]
05/14/06 00:56:37.056029 zmdc[6813].INF ['zmc -d /dev/video0' died]
05/14/06 00:56:39.254208 zmdc[9425].INF ['zmc -d /dev/video0' started at 06/05/14 00:56:39]
05/14/06 00:56:39.350739 zmdc[6813].INF ['zmc -d /dev/video0' starting at 06/05/14 00:56:39, pid =9425]
05/14/06 00:56:45.738567 zmdc[6813].WAR [Can't find process with command of 'zma -m 2']
05/14/06 01:03:06.901300 zmdc[6813].INF ['zmc -d /dev/video0' stopping at 06/05/14 01:03:06]
05/14/06 01:03:07.458022 zmdc[6813].INF ['zmc -d /dev/video0' died]
05/14/06 01:03:08.676600 zmdc[9985].INF ['zmc -d /dev/video0' started at 06/05/14 01:03:08]
05/14/06 01:03:08.697422 zmdc[6813].INF ['zmc -d /dev/video0' starting at 06/05/14 01:03:08, pid =9985]
05/14/06 01:03:11.712092 zmdc[6813].WAR [Can't find process with command of 'zma -m 2']


Here is /var/log/messages :-
May 14 01:02:34 rod1 zma_m1[6848]: INF [FirstCam: 10240 - Processing at 5.00 fps]
May 14 01:02:35 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1450 - Capturing at 5.00 fps]
May 14 01:02:36 rod1 zma_m1[6848]: INF [FirstCam: 10250 - Processing at 5.00 fps]
May 14 01:02:38 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1460 - Capturing at 3.33 fps]
May 14 01:02:39 rod1 zma_m1[6848]: INF [FirstCam: 10260 - Processing at 3.33 fps]
May 14 01:02:40 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1470 - Capturing at 5.00 fps]
May 14 01:02:41 rod1 zma_m1[6848]: INF [FirstCam: 10270 - Processing at 5.00 fps]
May 14 01:02:42 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1480 - Capturing at 5.00 fps]
May 14 01:02:44 rod1 zma_m1[6848]: INF [FirstCam: 10280 - Processing at 3.33 fps]
May 14 01:02:45 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1490 - Capturing at 3.33 fps]
May 14 01:02:46 rod1 zma_m1[6848]: INF [FirstCam: 10290 - Processing at 5.00 fps]
May 14 01:02:47 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1500 - Capturing at 5.00 fps]
May 14 01:02:49 rod1 zma_m1[6848]: INF [FirstCam: 10300 - Processing at 3.33 fps]
May 14 01:02:50 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1510 - Capturing at 3.33 fps]
May 14 01:02:51 rod1 zma_m1[6848]: INF [FirstCam: 10310 - Processing at 5.00 fps]
May 14 01:02:52 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1520 - Capturing at 5.00 fps]
May 14 01:02:53 rod1 zma_m1[6848]: INF [FirstCam: 10320 - Processing at 5.00 fps]
May 14 01:02:55 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1530 - Capturing at 3.33 fps]
May 14 01:02:56 rod1 zma_m1[6848]: INF [FirstCam: 10330 - Processing at 3.33 fps]
May 14 01:02:57 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1540 - Capturing at 5.00 fps]
May 14 01:02:58 rod1 zma_m1[6848]: INF [FirstCam: 10340 - Processing at 5.00 fps]
May 14 01:02:59 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1550 - Capturing at 5.00 fps]
May 14 01:03:01 rod1 zma_m1[6848]: INF [FirstCam: 10350 - Processing at 3.33 fps]
May 14 01:03:02 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1560 - Capturing at 3.33 fps]
May 14 01:03:03 rod1 zma_m1[6848]: INF [FirstCam: 10360 - Processing at 5.00 fps]
May 14 01:03:04 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1570 - Capturing at 5.00 fps]
May 14 01:03:06 rod1 zma_m1[6848]: INF [FirstCam: 10370 - Processing at 3.33 fps]
May 14 01:03:07 rod1 zmc_dvideo0[9425]: INF [FirstCam: 1580 - Capturing at 3.33 fps]
May 14 01:03:07 rod1 zmdc[6813]: INF ['zmc -d /dev/video0' stopping at 06/05/14 01:03:06]
May 14 01:03:07 rod1 zmc_dvideo0[9425]: INF [Got TERM signal, exiting]
May 14 01:03:07 rod1 zmdc[6813]: INF ['zmc -d /dev/video0' died]
May 14 01:03:08 rod1 zmdc[9985]: INF ['zmc -d /dev/video0' started at 06/05/14 01:03:08]
May 14 01:03:08 rod1 zmdc[6813]: INF ['zmc -d /dev/video0' starting at 06/05/14 01:03:08, pid = 9985]
May 14 01:03:08 rod1 zmc_dvideo0[9985]: INF [Debug Level = 0, Debug Log = <none>]
May 14 01:03:09 rod1 zmc_dvideo0[9985]: INF [Starting Capture]
May 14 01:03:11 rod1 zma_m1[6848]: INF [FirstCam: 10380 - Processing at 2.00 fps]
May 14 01:03:12 rod1 zmc_dvideo0[9985]: INF [FirstCam: 10 - Capturing at 3.33 fps]
May 14 01:03:13 rod1 zma_m1[6848]: INF [FirstCam: 10390 - Processing at 5.00 fps]
May 14 01:03:14 rod1 zmc_dvideo0[9985]: INF [FirstCam: 20 - Capturing at 5.00 fps]
May 14 01:03:16 rod1 zma_m1[6848]: INF [FirstCam: 10400 - Processing at 3.33 fps]
May 14 01:03:17 rod1 zmc_dvideo0[9985]: INF [FirstCam: 30 - Capturing at 3.33 fps]
May 14 01:03:18 rod1 zma_m1[6848]: INF [FirstCam: 10410 - Processing at 5.00 fps]
May 14 01:03:19 rod1 zmc_dvideo0[9985]: INF [FirstCam: 40 - Capturing at 5.00 fps]

I don't really know how this thing operates yet but I don't think this is working ?
johnc10
Posts: 15
Joined: Wed Aug 10, 2005 9:28 pm

Post by johnc10 »

> I updated & configured a firefox/linux browser with as many streaming plugins as I could find & yet it still doesn't seem to work with ZM_STREAM_METHOD = mpeg

Yes I have this problem too but just noticed I haven't installed ffmpeg-devel which contains libavformat.a.
anest
Posts: 24
Joined: Tue May 16, 2006 12:47 am

Post by anest »

install on gentoo by 'emerge'
on result:

Image

why?
rodj59
Posts: 18
Joined: Sat Apr 15, 2006 9:57 am

Can't start zm

Post by rodj59 »

I did have libavformat.a & .so installed.

Can anyone give any clues on what exactly is supposed to happen when a camera is switched into a 'monitor' or other non None state?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

all the states are in the manual but if you select monitor it will alow you to monitor the input ie it will stream images but not record anything
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
rodj59
Posts: 18
Joined: Sat Apr 15, 2006 9:57 am

Post by rodj59 »

I was thinking in more technical terms: ie. what additions are made to which database tables (if any), what processes are stopped/started, what parameters etc. Looks to me at this point that something isn't happening to the database ... but is it a DB problem or a problem with the process meant to record the change ... or even the process intended to act on the change?
Locked