zones images won't show up

Support and queries relating to all previous versions of ZoneMinder
Locked
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

zones images won't show up

Post by ynn »

I have install and seem to be running well only the images in zone won't show up
it looks empty in /var/www/html/zm/images/
does any one know what is wrong?
thanks.


these are the log:

tail /tmp/zmwatch.log
03/28/2006 11:13:16.474991 zmwatch[4758].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:50:14.853769 zmwatch[6332].INF [Watchdog starting]
03/28/2006 11:50:14.854183 zmwatch[6332].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:50:44.857617 zmwatch[6332].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
03/28/2006 11:50:44.857926 zmwatch[6332].INF [Restarting capture daemon for camera1, shared memory not valid]
03/28/2006 11:50:45.039932 zmwatch[6332].INF ['zmc -m 1' starting at 06/03/28 11:50:45, pid = 6444] at /usr/local/bin/zmwatch.pl line 118
03/28/2006 11:51:54.097681 zmwatch[6601].INF [Watchdog starting]
03/28/2006 11:51:54.098088 zmwatch[6601].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:57:12.546119 zmwatch[6909].INF [Watchdog starting]
03/28/2006 11:57:12.546562 zmwatch[6909].INF [Watchdog pausing for 30 seconds]

tail /var/log/messages

Mar 28 13:12:17 joe zmc_m1[6886]: INF [camera1: 20000 - Capturing at 4.15 fps]
Mar 28 13:12:17 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:17 joe last message repeated 3 times
Mar 28 13:12:17 joe zma_m1[6891]: INF [camera1: 20000 - Processing at 4.17 fps]
Mar 28 13:12:18 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:49 joe last message repeated 126 times
Mar 28 13:13:07 joe last message repeated 73 times
Mar 28 13:13:07 joe su(pam_unix)[8376]: session opened for user root by (uid=500)
Mar 28 13:13:07 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:13:38 joe last message repeated 120 times
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: zones images won't show up

Post by cordel »

ynn wrote:I have install and seem to be running well only the images in zone won't show up
it looks empty in /var/www/html/zm/images/
does any one know what is wrong?
thanks.


these are the log:

tail /tmp/zmwatch.log
03/28/2006 11:50:44.857617 zmwatch[6332].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
03/28/2006 11:50:44.857926 zmwatch[6332].INF [Restarting capture daemon for camera1, shared memory not valid]

tail /var/log/messages

Mar 28 13:12:17 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:17 joe last message repeated 3 times
Mar 28 13:12:18 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:49 joe last message repeated 126 times
Mar 28 13:13:07 joe last message repeated 73 times
Mar 28 13:13:07 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:13:38 joe last message repeated 120 times
I think you need to compile with libpcre to use a net cam

Regards,
Corey
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

where and what should i compile using libpcre? should i rebuild it?
thanks
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The pcre library allows Perl Compatible Regular Expressions to be used in c/c++ programs. You do not need it but you must unselect Options->Network->ZM_NETCAM_REGEXPS if you don't have it installed. This _should_ still work but is less flexible that using regexps.
Phil
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

Ok, i got it worked out, i rebuilt zm from the beginning after installing the libpcre rpm from internet. and now there is no more error messages on var/log/messages and /tmp/zmwatch.log but i got new error from /var/log/httpd/error_log

/usr/lib/libavutil.so.49: cannot restore segment prot after reloc: Permission denied, referer: http://localh
and
some errors with libpostproc.so.51

also the images in the event and zones stil won't show up.
and is seems i was successfull with installing ffmpeg-devel but the movie creator still cannot be generated.
do you know what should i do ?

thanks so much.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I would forget about ffmpeg until you have the rest of ZM working. Do you see either stills or streams from the regular ZM views?
Phil
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

i kind of forget if it was stream or images, because it doesn't not work either in that view right now. i want to rebuild the whole things again after i am finish i will update you.
thanks for the supports. i really appreciate it.
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

i just rebuilt the whole things from the beginning using FC4 and it is a stream images, but the zone image still not showing up.
also the zm in init.d seems to have nologin error. in the startup it said that su is not login.
and why do you know the modect seems to always recording eventhough there is no flicker in my camera or anything like that ...i already set warmups frames to 50 and alarm frame count to 5.

thank you for anybody help.
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

just got another errors: eventhough when i did zmpkg.pk status it said running ...but in the zm console it said "ZoneMinder Console - Stopped - v1.22.0". is it related to the problem above?

and this is the log files:
tail /tmp/zmdc.log
04/02/2006 12:25:46.669415 zmdc[3532].INF ['zmc -m 1' started at 06/04/02 12:25:46]
04/02/2006 12:25:46.670131 zmdc[3354].INF ['zmc -m 1' starting at 06/04/02 12:25:46, pid = 3532]
Invalid JPEG file structure: two SOI markers
04/02/2006 12:27:06.077176 zmdc[3354].ERR ['zmc -m 1' crashed, exit status 1]
04/02/2006 12:27:16.877075 zmdc[3649].INF ['zmc -m 1' started at 06/04/02 12:27:16]
04/02/2006 12:27:16.878433 zmdc[3354].INF ['zmc -m 1' starting at 06/04/02 12:27:16, pid = 3649]
Invalid JPEG file structure: two SOI markers
04/02/2006 12:27:42.708307 zmdc[3354].ERR ['zmc -m 1' crashed, exit status 1]
04/02/2006 12:27:57.076019 zmdc[3761].INF ['zmc -m 1' started at 06/04/02 12:27:57]
04/02/2006 12:27:57.077001 zmdc[3354].INF ['zmc -m 1' starting at 06/04/02 12:27:57, pid = 3761]


tail /tmp/zmwatch.log
04/02/2006 12:25:06.110648 zmwatch[3401].INF [Restarting capture daemon for New, time since last capture 6 seconds (1143955506-1143955500)]
04/02/2006 12:25:06.296066 zmwatch[3401].INF ['zmc -m 1' starting at 06/04/02 12:25:06, pid = 3466] at /usr/local/bin/zmwatch.pl line 118
04/02/2006 12:25:26.301706 zmwatch[3401].INF [Restarting capture daemon for New, time since last capture 7 seconds (1143955526-1143955519)]
04/02/2006 12:25:26.485121 zmwatch[3401].INF ['zmc -m 1' starting at 06/04/02 12:25:26, pid = 3475] at /usr/local/bin/zmwatch.pl line 118
04/02/2006 12:25:46.490868 zmwatch[3401].INF [Restarting capture daemon for New, time since last capture 6 seconds (1143955546-1143955540)]
04/02/2006 12:25:46.674976 zmwatch[3401].INF ['zmc -m 1' started at 06/04/02 12:25:46] at /usr/local/bin/zmwatch.pl line 118
04/02/2006 12:27:16.699683 zmwatch[3401].INF [Restarting capture daemon for New, time since last capture 11 seconds (1143955636-1143955625)]
04/02/2006 12:27:16.883576 zmwatch[3401].INF ['zmc -m 1' started at 06/04/02 12:27:16] at /usr/local/bin/zmwatch.pl line 118
04/02/2006 12:27:56.896370 zmwatch[3401].INF [Restarting capture daemon for New, time since last capture 14 seconds (1143955676-1143955662)]
04/02/2006 12:27:57.082315 zmwatch[3401].INF ['zmc -m 1' started at 06/04/02 12:27:57] at /usr/local/bin/zmwatch.pl line 118


tail /var/log/messages
Apr 2 12:33:30 localhost zma_m1[3384]: INF [New: 2601 - Gone into alert state]
Apr 2 12:33:32 localhost zma_m1[3384]: INF [New: 2611 - Left alarm state (491) - 47(24) images]
Apr 2 12:33:35 localhost zma_m1[3384]: INF [New: 2622 - Gone into prealarm state]
Apr 2 12:33:37 localhost zma_m1[3384]: INF [New: 2631 - Gone into alarm state]
Apr 2 12:33:38 localhost zma_m1[3384]: INF [New: 2639 - Gone into alert state]
Apr 2 12:33:39 localhost zma_m1[3384]: INF [New: 2640 - Gone back into alarm state]
Apr 2 12:33:40 localhost zma_m1[3384]: INF [New: 2649 - Gone into alert state]
Apr 2 12:33:43 localhost zma_m1[3384]: INF [New: 2659 - Left alarm state (492) - 47(26) images]
Apr 2 12:33:45 localhost zma_m1[3384]: INF [New: 2669 - Gone into prealarm state]
Apr 2 12:33:47 localhost zma_m1[3384]: INF [New: 2678 - Gone into alarm state]

tail /var/log/httpd/error_log
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE


thanks
Kurt Christensen
Posts: 2
Joined: Fri Dec 07, 2007 10:50 pm
Contact:

Re: zones images won't show up

Post by Kurt Christensen »

ynn wrote:I have install and seem to be running well only the images in zone won't show up
it looks empty in /var/www/html/zm/images/
does any one know what is wrong?
thanks.


these are the log:

tail /tmp/zmwatch.log
03/28/2006 11:13:16.474991 zmwatch[4758].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:50:14.853769 zmwatch[6332].INF [Watchdog starting]
03/28/2006 11:50:14.854183 zmwatch[6332].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:50:44.857617 zmwatch[6332].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
03/28/2006 11:50:44.857926 zmwatch[6332].INF [Restarting capture daemon for camera1, shared memory not valid]
03/28/2006 11:50:45.039932 zmwatch[6332].INF ['zmc -m 1' starting at 06/03/28 11:50:45, pid = 6444] at /usr/local/bin/zmwatch.pl line 118
03/28/2006 11:51:54.097681 zmwatch[6601].INF [Watchdog starting]
03/28/2006 11:51:54.098088 zmwatch[6601].INF [Watchdog pausing for 30 seconds]
03/28/2006 11:57:12.546119 zmwatch[6909].INF [Watchdog starting]
03/28/2006 11:57:12.546562 zmwatch[6909].INF [Watchdog pausing for 30 seconds]

tail /var/log/messages

Mar 28 13:12:17 joe zmc_m1[6886]: INF [camera1: 20000 - Capturing at 4.15 fps]
Mar 28 13:12:17 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:17 joe last message repeated 3 times
Mar 28 13:12:17 joe zma_m1[6891]: INF [camera1: 20000 - Processing at 4.17 fps]
Mar 28 13:12:18 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:12:49 joe last message repeated 126 times
Mar 28 13:13:07 joe last message repeated 73 times
Mar 28 13:13:07 joe su(pam_unix)[8376]: session opened for user root by (uid=500)
Mar 28 13:13:07 joe zmc_m1[6886]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Mar 28 13:13:38 joe last message repeated 120 times
Locked