no image and log error

Support and queries relating to all previous versions of ZoneMinder
Locked
Oxy
Posts: 3
Joined: Thu Jul 15, 2004 9:28 pm

no image and log error

Post by Oxy »

hi
I'm using a network camera Dlink
I configured zm but it cannot grab any picture
I put root:toto@192.168.0.20 in the host field
/IMAGE.JPG in the path field and 320x240
but nothing appears on the screen except a blank square.

however a
wget --http-user=root --http-passwd=toto 192.168.0.20/IMAGE.JPG;
works fine.

my first screen is my IP cam and the second one is a still picture on a website. none is working but in the second case i have a refresh rate around 100 fps whereas it is 0 for my cam

any idea ?
thank you

here are my logs:
/var/log/syslog:
Jul 15 23:20:16 fire zmc-m1[18079]: INF [Debug Level = 0, Debug Log = ]
Jul 15 23:20:16 fire zmc-m1[18079]: INF [Starting Capture]
Jul 15 23:20:19 fire zmc-m2[17277]: INF [test: 55000 - Capturing at 111.11 fps]
Jul 15 23:20:27 fire zmc-m2[17277]: INF [test: 56000 - Capturing at 125.00 fps]
Jul 15 23:20:37 fire zmc-m2[17277]: INF [test: 57000 - Capturing at 100.00 fps]
Jul 15 23:20:46 fire zmc-m2[17277]: INF [test: 58000 - Capturing at 111.11 fps]
Jul 15 23:20:54 fire zmc-m2[17277]: INF [test: 59000 - Capturing at 125.00 fps]
Jul 15 23:21:01 fire zmc-m2[17277]: ERR [Invalid response status 404: Not Found]
Jul 15 23:21:03 fire zmc-m2[18165]: INF [Debug Level = 0, Debug Log = ]
Jul 15 23:21:03 fire zmc-m2[18165]: INF [Starting Capture]
Jul 15 23:21:11 fire zmc-m2[18165]: INF [test: 1000 - Capturing at 125.00 fps]
Jul 15 23:21:20 fire zmc-m2[18165]: INF [test: 2000 - Capturing at 111.11 fps]
Jul 15 23:21:29 fire zmc-m2[18165]: INF [test: 3000 - Capturing at 111.11 fps]
Jul 15 23:21:38 fire zmc-m2[18165]: INF [test: 4000 - Capturing at 111.11 fps]
Jul 15 23:21:46 fire zmc-m2[18165]: INF [test: 5000 - Capturing at 125.00 fps]
Jul 15 23:21:55 fire zmc-m2[18165]: INF [test: 6000 - Capturing at 111.11 fps]
Jul 15 23:22:01 fire zmc-m2[18165]: ERR [Invalid response status 404: Not Found]
Jul 15 23:22:06 fire zmc-m2[18165]: INF [test: 7000 - Capturing at 90.91 fps]
Jul 15 23:22:15 fire zmc-m2[18165]: INF [test: 8000 - Capturing at 111.11 fps]
Jul 15 23:22:24 fire zmc-m2[18165]: INF [test: 9000 - Capturing at 111.11 fps]
Jul 15 23:22:32 fire zmc-m2[18165]: INF [test: 10000 - Capturing at 125.00 fps]
Jul 15 23:22:41 fire zmc-m2[18165]: INF [test: 11000 - Capturing at 111.11 fps]
Jul 15 23:22:50 fire zmc-m2[18165]: INF [test: 12000 - Capturing at 111.11 fps]
Jul 15 23:22:59 fire zmc-m2[18165]: INF [test: 13000 - Capturing at 111.11 fps]
Jul 15 23:23:01 fire zmc-m2[18165]: ERR [Invalid response status 404: Not Found]
Jul 15 23:23:05 fire zmc-m2[18165]: ERR [Select timed out]
Jul 15 23:23:11 fire zmc-m2[18165]: INF [test: 14000 - Capturing at 83.33 fps]
Jul 15 23:23:21 fire zmc-m2[18165]: INF [test: 15000 - Capturing at 100.00 fps]
Jul 15 23:23:31 fire zmc-m2[18165]: INF [test: 16000 - Capturing at 100.00 fps]
Jul 15 23:23:39 fire zmc-m2[18165]: INF [test: 17000 - Capturing at 125.00 fps]
Jul 15 23:23:48 fire zmc-m2[18165]: INF [test: 18000 - Capturing at 111.11 fps]
Jul 15 23:23:57 fire zmc-m2[18165]: INF [test: 19000 - Capturing at 111.11 fps]
Jul 15 23:24:01 fire zmc-m2[18165]: ERR [Invalid response status 404: Not Found]
Jul 15 23:24:05 fire zmc-m2[18165]: ERR [Select timed out]
Jul 15 23:24:09 fire zmc-m2[18165]: INF [test: 20000 - Capturing at 83.33 fps]
Jul 15 23:24:18 fire zmc-m2[18165]: INF [test: 21000 - Capturing at 111.11 fps]





/tmp/zmdc.log:
'zmc -m 1' started at 04/07/15 23:09:54
'zmc -m 1' died at 04/07/15 23:09:54, signal 10
Starting pending process, zmc -m 1
'zmc -m 1' starting at 04/07/15 23:10:34, pid = 17114
'zmc -m 1' started at 04/07/15 23:10:34
'zmc -m 1' died at 04/07/15 23:10:55, signal 10
Corrupt JPEG data: premature end of data segment
Invalid JPEG file structure: two SOI markers
'zmc -m 2' crashed at 04/07/15 23:12:02, exit status 1
'zmc -m 2' starting at 04/07/15 23:12:02, pid = 17277
'zmc -m 2' started at 04/07/15 23:12:02
Starting pending process, zmc -m 1
'zmc -m 1' starting at 04/07/15 23:12:15, pid = 17306
'zmc -m 1' started at 04/07/15 23:12:16
'zmc -m 1' died at 04/07/15 23:12:16, signal 10
Starting pending process, zmc -m 1
'zmc -m 1' starting at 04/07/15 23:14:56, pid = 17585
'zmc -m 1' started at 04/07/15 23:14:56
'zmc -m 1' died at 04/07/15 23:14:56, signal 10
Starting pending process, zmc -m 1
'zmc -m 1' starting at 04/07/15 23:20:16, pid = 18079
'zmc -m 1' started at 04/07/15 23:20:16
'zmc -m 1' died at 04/07/15 23:20:16, signal 10
Corrupt JPEG data: premature end of data segment
Invalid JPEG file structure: two SOI markers
'zmc -m 2' crashed at 04/07/15 23:21:03, exit status 1
'zmc -m 2' starting at 04/07/15 23:21:03, pid = 18165
'zmc -m 2' started at 04/07/15 23:21:03
Starting pending process, zmfilter.pl
'zmfilter.pl' starting at 04/07/15 23:24:00, pid = 18430
'zmfilter.pl' started at 04/07/15 23:24:00
Can't locate MIME/Entity.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/07/15 23:24:00, exit status 2
Starting pending process, zmupdate.pl -c
'zmupdate.pl -c' starting at 04/07/15 23:24:03, pid = 18459
'zmupdate.pl -c' started at 04/07/15 23:24:03
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at /usr/local/bin/zmupdate.pl line 148.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 148.
'zmupdate.pl -c' crashed at 04/07/15 23:24:04, exit status 2





/tmp/zmpkg.log
Command: start
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmfix'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl status'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmc -m 1'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmfilter.pl'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmwatch.pl'
Executing: su www-data --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmupdate.pl -c'





/tmp/zmwatch.log:
Watchdog starting at 04/07/15 22:47:44
Watchdog pausing for 30 seconds
Watchdog starting at 04/07/15 23:12:45
Watchdog pausing for 30 seconds
Watchdog starting at 04/07/15 23:13:07
Watchdog pausing for 30 seconds
Oxy
Posts: 3
Joined: Thu Jul 15, 2004 9:28 pm

Post by Oxy »

nobody can help me or you are just missing some info ?
please let me know.
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

There are a couple of errors visible in your log file that should give you a hint:

Code: Select all

Can't locate MIME/Entity.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/local/bin/zmfilter.pl line 87. 
and

Code: Select all

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at /usr/local/bin/zmupdate.pl line 148.
You are missing a few required perl modules. See the instructions in the README file, or install the packages from your linux distribution, as appropriate.

Oh, and it's probably a good idea to change that password now you've told us all what it is. ;)
Rick Hewett
Oxy
Posts: 3
Joined: Thu Jul 15, 2004 9:28 pm

Post by Oxy »

thank you for your help,
It seems I missed the line about perl in the readme. I found that : "perl -MCPAN -eshell"
is that all ?

about the password, it is only the password to grab a pic from my cam so i really don't care as it is only accesible from my local network :)
User avatar
nugget
Posts: 42
Joined: Mon Dec 08, 2003 7:52 pm
Location: Sydney, Australia
Contact:

Post by nugget »

Almost there:

perl -MCPAN -eshell
CPAN> install MIME::Entity
(watch for errors)
CPAN> install LWP::UserAgent

Use <ctrl>D to exit

Have a look at the following link for a list of PERL modules, and their names:
http://www.cpan.org/modules/00modlist.long.html
User avatar
securiteaze
Posts: 25
Joined: Wed Jun 16, 2004 5:38 pm

Post by securiteaze »

The following is a revised snippet from the zm - slack howto, which was necessary for my system (gentoo).

Code: Select all

# perl -MCPAN -eshell
(Answer lots of questions with the default values. Eventually get to a prompt.)
cpan> install Bundle::CPAN
   (Lots of things happen here. Answer any questions with the default values)
cpan> install DBI
   (Lots of things happen here. Answer any questions with the default values)
cpan> install DBD::mysql
   (Lots of things happen here. Answer any questions with the default values)
cpan> install Archive::Zip
cpan> install Mail::Mailer
cpan> install Date::Manip
cpan> install MIME::Entity
cpan> install LWP::UserAgent
cpan> exit

Locked