I think this is a new problem for me, and it does not look like the old classic problem with too low settings on shared memory, found in FAQ etc?
2014-08-20 15:25:30.971068 zmu 19837 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results zm_monitor.cpp 424
Aug 20 15:50:43 stik zms[22402]: INF [Authenticated user 'admin']
Aug 20 15:50:43 stik zms[22402]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Aug 20 15:50:47 stik zms[22402]: INF [Got signal 15 (Terminated), exiting]
Aug 20 15:50:50 stik zms[22006]: INF [Got signal 15 (Terminated), exiting]
Aug 20 15:50:50 stik zms[22006]: ERR [Unable to send stream frame: Broken pipe]
# ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 524288
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages Limits --------
max queues system wide = 1652
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
# apt-cache policy zoneminder
zoneminder:
Installed: 1.27.99+1-trusty-SNAPSHOT2014080402
Candidate: 1.27.99+1-trusty-SNAPSHOT2014080402
Version table:
*** 1.27.99+1-trusty-SNAPSHOT2014080402 0
500 http://ppa.launchpad.net/iconnor/zonemi ... er/ubuntu/ trusty/main i386 Packages
100 /var/lib/dpkg/status
1.26.5-1ubuntu3 0
500 http://se.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
Shared data not initialised by capture daemon
-
- Posts: 29
- Joined: Fri Jun 12, 2009 11:36 am
-
- Posts: 29
- Joined: Fri Jun 12, 2009 11:36 am
Re: Shared data not initialised by capture daemon
Interesting observation, this only happens when I'm logged into the web gui. During the night there has been no shared data errors but there has been successfully recorded events.
Some log after logging in
Some log after logging in
Code: Select all
2014-08-21 11:16:16.335816 zms 17415 ERR Unable to send raw frame 35: Broken pipe zm_event.cpp 1316
2014-08-21 11:16:16.327198 zms 17415 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-08-21 11:16:11.846473 zms 17415 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results zm_monitor.cpp 424
2014-08-21 11:16:11.834254 zms 17415 INF Authenticated user 'admin' zm_user.cpp 241
2014-08-21 11:16:10.106079 zms 17413 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-08-21 11:16:04.252870 zms 17413 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results zm_monitor.cpp 424
2014-08-21 11:16:04.216023 zms 17413 INF Authenticated user 'admin' zm_user.cpp 241
2014-08-21 11:15:56.171978 zms 17348 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results zm_monitor.cpp 424
2014-08-21 11:15:56.108302 zms 17348 INF Authenticated user 'admin' zm_user.cpp 241
Re: Shared data not initialised by capture daemon
Seeing exactly the same the same thing.
I recently upgrade to Ubuntu 14.04 and so moved to iconnor's (very useful, thanks ) zoneminder-master PPA. This flags the Zoneminder version as v1.27.99.0, but I guess that's just a placeholder
Same cameras setup in the same way using ffmpeg (libvlc returns a stack of errors) as I had with my 1.27 install on Ubuntu 12.04.
Everything OK except when viewing in the web view, where I get the same warnings and errors as posted earlier:
I recently upgrade to Ubuntu 14.04 and so moved to iconnor's (very useful, thanks ) zoneminder-master PPA. This flags the Zoneminder version as v1.27.99.0, but I guess that's just a placeholder
Same cameras setup in the same way using ffmpeg (libvlc returns a stack of errors) as I had with my 1.27 install on Ubuntu 12.04.
Everything OK except when viewing in the web view, where I get the same warnings and errors as posted earlier:
Code: Select all
2014-10-13 20:57:01.933470 zms 9303 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-10-13 20:57:01.775427 zms 9305 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-10-13 20:57:01.754786 zms 9307 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-10-13 20:56:46.772679 zms 9307 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results zm_monitor.cpp 424
2014-10-13 20:56:46.766035 zms 9305 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results
-
- Posts: 29
- Joined: Fri Jun 12, 2009 11:36 am
Re: Shared data not initialised by capture daemon
I opened an issue on GitHub but it hasn't lead to anything
https://github.com/ZoneMinder/ZoneMinder/issues/507
https://github.com/ZoneMinder/ZoneMinder/issues/507
Re: Shared data not initialised by capture daemon
Just looked at the comments on the Github issue, especially:
Switching on the LOG_DEBUG stuff further down the logging page - lots of verbose output in the /tmp/zm stored files, and I also start getting stuff in the /var/log/zm/zmc*.log files. However - it looks normal? Here's the output form a single quick session viewing in the UI:
However, within the zms log over this time, I have again:
I also had no output in my zmc_* logs, even with debug output on to the component files. However...the zmc processes for my 3 cameras *were* actually running, and didn't stop/restart over getting the warning:This is actually a warning. It is just telling you that the camera is not recording. It means that the zmc process is not running. You need to look into why zmc is not running. So check in the zmc logs. /var/log/zm/zmc*
Code: Select all
www-data 11079 9.4 11.3 677284 218768 ? Sl 22:17 1:01 /usr/bin/zmc -m 1
www-data 11085 8.4 9.1 631280 175644 ? Sl 22:17 0:54 /usr/bin/zmc -m 2
www-data 11091 3.4 11.4 677408 218964 ? Sl 22:17 0:22 /usr/bin/zmc -m 3
Code: Select all
10/13/14 22:17:49.053822 zmc_m2[11085].INF-zmc.cpp/195 [Starting Capture]
10/13/14 22:17:49.087825 zmc_m2[11085].INF-zm_ffmpeg_camera.cpp/114 [Priming capture from rtsp://username:password@192.168.1.132:554/Streaming/Channels/1]
10/13/14 22:20:36.299390 zmc_m2[11085].INF-zm_monitor.cpp/2899 [Steps: 1000 - Capturing at 5.99 fps]
10/13/14 22:23:22.976310 zmc_m2[11085].INF-zm_monitor.cpp/2899 [Steps: 2000 - Capturing at 6.02 fps]
10/13/14 22:26:09.722060 zmc_m2[11085].INF-zm_monitor.cpp/2899 [Steps: 3000 - Capturing at 5.99 fps]
10/13/14 22:28:56.443431 zmc_m2[11085].INF-zm_monitor.cpp/2899 [Steps: 4000 - Capturing at 5.99 fps]
10/13/14 22:31:43.137095 zmc_m2[11085].INF-zm_monitor.cpp/2899 [Steps: 5000 - Capturing at 5.99 fps]
10/13/14 22:33:58.629539 zmc_m2[11085].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
Code: Select all
10/13/14 22:28:32.069221 zms[11318].INF-zm_user.cpp/241 [Authenticated user 'admin']
10/13/14 22:28:32.100790 zms[11318].WAR-zm_monitor.cpp/424 [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
10/13/14 22:32:07.467107 zms[11318].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
Re: Shared data not initialised by capture daemon
I ought to add that, in my case (and not the OP's) the "WAR-zm_monitor.cpp/424 [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]" warning *seems* to be benign.
I can view live streams and recordings seem to be fine, but although my shared memory settings seem valid, I get the warning.
I can view live streams and recordings seem to be fine, but although my shared memory settings seem valid, I get the warning.
Re: Shared data not initialised by capture daemon
any luck in finding a solution for this warning?
I have a slightly different issue - when i log in the gui and click on a monitor for live streaming the recording stops. When i close the live window the recording resumes.
I have a slightly different issue - when i log in the gui and click on a monitor for live streaming the recording stops. When i close the live window the recording resumes.