ArchiveOrangemail archive

debian-bugs-dist.lists.debian.org


(List home) (Recent threads) (193 other Debian lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line.
  • Very high traffic list: 100+ messages per day
  • This list contains about 378,984 messages, beginning Jan 2011
  • 339 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

Bug#623100: zoneminder: Waiting for capture daemon. No image capturing.

Ad
Christoph Haas 1303041462Sun, 17 Apr 2011 11:57:42 +0000 (UTC)
Package: zoneminder
Version: 1.24.2-8
Severity: normal

Zoneminder worked well for me in Debian Lenny but now with Squeeze lets
me down. After purging the package, removing the database, wiping
/var/cache/zoneminder and reinstalling Zoneminder runs with one remote
camera in "mocord" mode. The process I see running are:

6828 pts/2    S      0:00 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
6851 pts/2    S      0:00 /usr/bin/zmc -m 1
6854 pts/2    S      0:00 /usr/bin/zma -m 1
6857 pts/2    S      0:00 /usr/bin/perl -wT /usr/bin/zmfilter.pl
6860 pts/2    S      0:00 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
6863 pts/2    S      0:00 /usr/bin/perl -wT /usr/bin/zmwatch.pl

At this time already the /var/log/syslog start to look like this:

Apr 17 12:49:38 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:39 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:40 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:41 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:42 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:43 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:44 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:45 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:46 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:47 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:48 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:49 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:50 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:51 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:52 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:53 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:54 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:55 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:56 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:57 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
Apr 17 12:49:58 myserver zma_m1[6854]: WAR [Waiting for capture daemon]

In this state I'm not getting any motion recording. I can't even see the
video when clicking on the monitor's name in the dashboard.

In the Apache error log I see:

[Sun Apr 17 13:07:15 2011] [error] [client 10.13.0.2] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 818, referer: http://myserver/zm/index.php
[Sun Apr 17 13:07:15 2011] [error] [client 10.13.0.2] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 823, referer: http://myserver/zm/index.php
[Sun Apr 17 13:07:15 2011] [error] [client 10.13.0.2] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: http://myserver/zm/index.php
[Sun Apr 17 13:07:18 2011] [error] [client 10.13.0.2] socket_sendto( /tmp/zms-450418s.sock ) failed: No such file or directory, referer: http://myserver/zm/index.php?view=watch&m...

The file /tmp/zms-450418s.sock does not exist.

The software is currently unusable for me. Help welcome.

 Christoph


-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zoneminder depends on:
ii  apache2                2.2.16-6+squeeze1 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [a 2.2.16-6+squeeze1 Apache HTTP Server - traditional n
ii  ffmpeg                 4:0.5.2-6         multimedia player, server and enco
ii  libapache2-mod-php5    5.3.3-7+squeeze1  server-side, HTML-embedded scripti
pn  libarchive-tar-perl    <none>            (no description available)
ii  libarchive-zip-perl    1.30-3            Perl module for manipulation of ZI
ii  libavcodec52           4:0.5.2-6         ffmpeg codec library
ii  libavformat52          4:0.5.2-6         ffmpeg file format library
ii  libavutil49            4:0.5.2-6         ffmpeg utility library
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libdate-manip-perl     6.11-1            module for manipulating dates
ii  libdevice-serialport-p 1.04-2+b1         emulation of Win32::SerialPort for
ii  libdirac-encoder0      1.0.2-3           open and royalty free high quality
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libgnutls26            2.8.6-1           the GNU TLS library - runtime libr
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libjs-mootools         1.2.4.0~debian1-1 compact JavaScript framework
ii  libmime-lite-perl      3.027-1           module for convenient MIME message
ii  libmime-tools-perl     5.428-1           Perl5 modules for MIME-compliant m
ii  libmysqlclient16       5.1.49-3          MySQL database client library
ii  libpcre3               8.02-1.1          Perl 5 Compatible Regular Expressi
ii  libphp-serialization-p 0.34-1            Perl module to manipulate serializ
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  libswscale0            4:0.5.2-6         ffmpeg video scaling library
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  mysql-client           5.1.49-3          MySQL database client (metapackage
ii  mysql-client-5.1 [mysq 5.1.49-3          MySQL database client binaries
ii  mysql-server           5.1.49-3          MySQL database server (metapackage
ii  mysql-server-5.1 [mysq 5.1.49-3          MySQL database server binaries and
ii  perl-modules [libmodul 5.10.1-17         Core Perl modules
ii  php5                   5.3.3-7+squeeze1  server-side, HTML-embedded scripti
ii  php5-mysql             5.3.3-7+squeeze1  MySQL module for php5
ii  rsyslog [system-log-da 4.6.4-2           enhanced multi-threaded syslogd
ii  zip                    3.0-3             Archiver for .zip files
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

zoneminder recommends no packages.

zoneminder suggests no packages.

-- no debconf information
Vagrant Cascadian 1305482060Sun, 15 May 2011 17:54:20 +0000 (UTC)
On Sun, Apr 17, 2011 at 01:14:24PM +0200, Christoph Haas wrote:
> At this time already the /var/log/syslog start to look like this:
> 
> Apr 17 12:49:38 myserver zma_m1[6854]: WAR [Waiting for capture daemon]...> Apr 17 12:49:58 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
> 
> In this state I'm not getting any motion recording. I can't even see the
> video when clicking on the monitor's name in the dashboard.does it work any better if you just put it in record mode? monitor?

are you running on amd64? if so, could you try on i386? i've had mixed results
with the patch proposed in #614404, but it did seem to at least partially 
address the problem. packages available for amd64: 

  deb http://people.debian.org/~vagrant/debian UNRELEASED/

live well,
  vagrant
Christoph Haas 1306267403Tue, 24 May 2011 20:03:23 +0000 (UTC)
Hi Vagrant,

thanks for your response.Am 15.05.2011 19:53, schrieb Vagrant Cascadian:
> On Sun, Apr 17, 2011 at 01:14:24PM +0200, Christoph Haas wrote:
>> At this time already the /var/log/syslog start to look like this:
>>
>> Apr 17 12:49:38 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
> ...
>> Apr 17 12:49:58 myserver zma_m1[6854]: WAR [Waiting for capture daemon]
>>
>> In this state I'm not getting any motion recording. I can't even see the
>> video when clicking on the monitor's name in the dashboard.
> 
> does it work any better if you just put it in record mode? monitor?I have checked all the settings again and apparently I messed up one
setting. The source's "Source" -> "Remote method" was set to "Regexp"
for no particular reason. I have set it to "Simple" and the "Waiting for
capture daemon" message went away suddenly. I even get proper
"mocord"-ing now. (Can somebody shoo away my cat? Its playing in the
yard is filling up my disk.) I can reproduce that the problem returns as
soon as I set it to "Regexp".

I must admit that I'm not sure this is really the cause. After all I
wiped the entire data and configuration file several times and started
from scratch. And unless "Regexp" is the default value I cannot really
explain why it was set to "Regexp".> are you running on amd64? if so, could you try on i386? i've had mixed results
> with the patch proposed in #614404, but it did seem to at least partially 
> address the problem. packages available for amd64: 
> 
>   deb http://people.debian.org/~vagrant/debian UNRELEASED/Yes, I have used amd64. I won't try the unreleased packages while the
above solution works for me.

Sorry to have bothered you as it was probably my own fault.

Best regards
 Christoph
Home | About | Privacy