LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   zoneminder and pclinuxos (https://www.linuxquestions.org/questions/linux-newbie-8/zoneminder-and-pclinuxos-752027/)

midhat 09-02-2009 04:50 AM

zoneminder and pclinuxos
 
1 Attachment(s)
pozdrav svima

i have install zone minder, and want make my web cam monitor my room but i only see black sreen
Attachment 1381
i install camorama and my web cam working.
my web cam cam is
creative labs FC N10225
on zoneminder is 00 fps .

centosboy 09-02-2009 08:25 AM

Quote:

Originally Posted by midhat (Post 3666557)
pozdrav svima

i have install zone minder, and want make my web cam monitor my room but i only see black sreen
Attachment 1381
i install camorama and my web cam working.
my web cam cam is
creative labs FC N10225
on zoneminder is 00 fps .


tell what the log files are doing.
by default they are in /tmp and also some logs go to /var/log/messages.

reboot zoneminder whilst

Code:

tail -f /tmp/*.log &

i actually got the same error when trying to upgrade from version 1.23 to version 1.24, so in the end had to do a clean install for 1.24 and then restoring db from backup....

centosboy 09-02-2009 08:31 AM

1 Attachment(s)
Quote:

Originally Posted by midhat (Post 3666557)
pozdrav svima

i have install zone minder, and want make my web cam monitor my room but i only see black sreen
Attachment 1381
i install camorama and my web cam working.
my web cam cam is
creative labs FC N10225
on zoneminder is 00 fps .


tell what the log files are doing.
by default they are in /tmp and also some logs go to /var/log/messages.

reboot zoneminder whilst

Code:

tail -f /tmp/*.log &

i actually got the same error when trying to upgrade from version 1.23 to version 1.24, so in the end had to do a clean install for 1.24 and then restoring db from backup....problem was caused by shared memory issues which in some cases you need to increase or decrease in /etc/sysctl.conf


also from looking at your screenshot, the camera link should be green. Check zoneminder is actually started from the web interface and on the server.
notice the camera link is green

midhat 09-02-2009 12:33 PM

now i have 2 problems i cant click on camera name and there is no tmp nothing
i am beginer in this

centosboy 09-03-2009 01:52 AM

Quote:

Originally Posted by midhat (Post 3667111)
now i have 2 problems i cant click on camera name and there is no tmp nothing
i am beginer in this



hang on..you are saying you have no /tmp directory?
what about /var/log/messages??


You need to be tailing either of these logs whilst clicking on the camera.
The most common problem i have seen in zoneminder is with shared memory.
Find out where your zoneminder logs are and have a look at those.

options->paths will tell you where the logs are generated

midhat 09-04-2009 08:12 AM

i have reinstall os but same problem
and here is my log


p 4 05:56:38 localhost zmdc[10045]: INF ['zmwatch.pl' started at 09/09/04 05:56:38]
Sep 4 05:56:38 localhost zmdc[10007]: INF ['zmwatch.pl' starting at 09/09/04 05:56:38, pid = 10045]
Sep 4 05:56:38 localhost sudo: root : TTY=pts/5 ; PWD=/var/www/html/zm ; USER=apache ; COMMAND=/usr/lib/zm/bin/zmdc.pl start zmupdate.pl -c
Sep 4 05:56:39 localhost zmwatch[10045]: INF [Watchdog starting]
Sep 4 05:56:39 localhost zmwatch[10045]: INF [Watchdog pausing for 30 seconds]
Sep 4 05:56:39 localhost zmdc[10050]: INF ['zmupdate.pl -c' started at 09/09/04 05:56:39]
Sep 4 05:56:39 localhost zmdc[10007]: INF ['zmupdate.pl -c' starting at 09/09/04 05:56:39, pid = 10050]
Sep 4 05:56:40 localhost zmupdate[10050]: INF [Checking for updates]
Sep 4 05:56:41 localhost zmupdate[10050]: INF [Got version: '1.24.2']
Sep 4 05:56:42 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:56:42 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:56:42 localhost zmdc[10061]: INF ['zmfilter.pl' started at 09/09/04 05:56:42]
Sep 4 05:56:42 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:56:42, pid = 10061]
Sep 4 05:56:43 localhost zmfilter[10061]: INF [Scanning for events]
Sep 4 05:56:44 localhost dhclient: DHCPREQUEST on eth0 to 10.12.79.1 port 67
Sep 4 05:56:44 localhost dhclient: DHCPACK from 10.12.79.1
Sep 4 05:56:44 localhost NET[10091]: /sbin/dhclient-script : updated /etc/resolv.conf
Sep 4 05:56:44 localhost dhclient: bound to 10.12.79.252 -- renewal in 1594 seconds.
Sep 4 05:56:48 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:56:53 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:56:53 localhost zmdc[10103]: INF ['zmfilter.pl' started at 09/09/04 05:56:53]
Sep 4 05:56:53 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:56:53, pid = 10103]
Sep 4 05:56:53 localhost zmfilter[10103]: INF [Scanning for events]
Sep 4 05:56:58 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:57:01 localhost crond[10117]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 05:57:08 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:57:08 localhost zmdc[10133]: INF ['zmfilter.pl' started at 09/09/04 05:57:08]
Sep 4 05:57:08 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:57:08, pid = 10133]
Sep 4 05:57:08 localhost zmfilter[10133]: INF [Scanning for events]
Sep 4 05:57:13 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:57:33 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:57:33 localhost zmdc[10167]: INF ['zmfilter.pl' started at 09/09/04 05:57:33]
Sep 4 05:57:33 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:57:33, pid = 10167]
Sep 4 05:57:34 localhost zmfilter[10167]: INF [Scanning for events]
Sep 4 05:57:39 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:58:01 localhost crond[10216]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 05:58:19 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:58:19 localhost zmdc[10247]: INF ['zmfilter.pl' started at 09/09/04 05:58:19]
Sep 4 05:58:19 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:58:19, pid = 10247]
Sep 4 05:58:20 localhost zmfilter[10247]: INF [Scanning for events]
Sep 4 05:58:25 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 05:59:01 localhost crond[10311]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 05:59:45 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 05:59:45 localhost zmdc[10365]: INF ['zmfilter.pl' started at 09/09/04 05:59:45]
Sep 4 05:59:45 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 05:59:45, pid = 10365]
Sep 4 05:59:45 localhost zmfilter[10365]: INF [Scanning for events]
Sep 4 05:59:50 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 06:00:01 localhost crond[10392]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:01:01 localhost crond[10475]: (root) CMD (nice -n 19 run-parts --report /etc/cron.hourly)
Sep 4 06:01:01 localhost crond[10476]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:01:09 localhost synaptic: [RPM] libglademm2.4_1-2.6.7-1pclos2007 installed
Sep 4 06:01:21 localhost synaptic: [RPM] pcre-7.7-1pclos2007 installed
Sep 4 06:01:22 localhost synaptic: [RPM] smartmontools-5.38-1pclos2007 installed
Sep 4 06:01:23 localhost synaptic: [RPM] gsmartcontrol-0.8.4-1pclos2007 installed
Sep 4 06:02:01 localhost crond[10585]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:02:30 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 06:02:30 localhost zmdc[10625]: INF ['zmfilter.pl' started at 09/09/04 06:02:30]
Sep 4 06:02:30 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 06:02:30, pid = 10625]
Sep 4 06:02:31 localhost zmfilter[10625]: INF [Scanning for events]
Sep 4 06:02:36 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 06:03:01 localhost crond[10684]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:04:01 localhost crond[10762]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:05:01 localhost crond[10848]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:06:01 localhost crond[10924]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:07:01 localhost crond[10996]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:07:56 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 06:07:56 localhost zmdc[11064]: INF ['zmfilter.pl' started at 09/09/04 06:07:56]
Sep 4 06:07:56 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 06:07:56, pid = 11064]
Sep 4 06:07:56 localhost zmfilter[11064]: INF [Scanning for events]
Sep 4 06:08:01 localhost crond[11074]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:08:01 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 06:08:38 localhost zmdc[10007]: WAR [Can't find process with command of 'zmc -m']
Sep 4 06:08:38 localhost zmdc[10007]: WAR [Can't find process with command of 'zma -m']
Sep 4 06:08:39 localhost zmwatch[10045]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Sep 4 06:08:48 localhost zms[11159]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 06:08:48 localhost zms[11159]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 06:08:48 localhost zms[11159]: INF [Authenticated user 'admin']
Sep 4 06:08:48 localhost zms[11159]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Sep 4 06:08:48 localhost zms[11159]: WAR [Unable to store frame as shared memory invalid]
Sep 4 06:09:01 localhost crond[11192]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 06:09:01 localhost crond[11199]: (root) CMD ([ -d /var/lib/php ] && find /var/lib/php/ -type f -mmin +$(/usr/lib/php/maxlifetime) -print0 | xargs -r -0 rm)
Sep 4 06:10:01 localhost crond[11303]: (root) CMD ( /usr/share/msec/promisc_check.sh)

mushroomboy 09-04-2009 10:12 AM

resolution settings I'm gessing. The pixels have to be specified and be EXACT. EG 351x260 or something... I have recently set up an IP camera with ZM, it's actually really easy to work with. =) Just make sure the source and resolution are exact. You'll need to figure out where your camera outputs it's jmpeg so zm can grab it.

[edit] Yes the links have to be green. What we need is a screenshot of the source setup, where you have /dev/devname and then /path/to/image.jpeg ect...

All ZM does is grab a single jpeg that your camera updates every .xx secconds. It's mjpeg, or motion jpeg... really it's a bunch of jpeg's that your camera outputs and zm grabs. Anyways screenshot of the source setup, that'll help more.

midhat 09-04-2009 10:25 AM

i dont understend you can you better explain i am not so good with english and linux
please

mushroomboy 09-04-2009 10:36 AM

You took a picture of the "monitor" section, what I want is for you to click on the "source" section. The links are divided up into 3 sections, Name/Function/Source

If you click on the link under Name (ie the name of the cam) you get the "Monitor" page. If you click under Function you can decide what you want it to do (ie record or not ect...). If you click under the Source section you get the camera's setup stuff... That's what I want to see, the source/setup area. I need to know what you put in there in order to help you. =P

midhat 09-04-2009 10:57 AM

1 Attachment(s)
Attachment 1392

midhat 09-04-2009 11:09 AM

1 Attachment(s)
Attachment 1393

and here is new log
Sep 4 08:55:32 localhost zmdc[10007]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Sep 4 08:55:48 localhost zmdc[10007]: INF [Starting pending process, zma -m 1]
Sep 4 08:55:48 localhost zmdc[25822]: INF ['zma -m 1' started at 09/09/04 08:55:48]
Sep 4 08:55:48 localhost zmdc[10007]: INF ['zma -m 1' starting at 09/09/04 08:55:48, pid = 25822]
Sep 4 08:55:48 localhost zma_m1[25822]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 08:55:48 localhost zma_m1[25822]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 08:55:48 localhost zmdc[10007]: ERR ['zma -m 1' exited abnormally, exit status 255]
Sep 4 08:56:01 localhost crond[25843]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 08:57:01 localhost crond[25935]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 08:58:01 localhost crond[26030]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 08:59:01 localhost crond[26121]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 08:59:10 localhost zmdc[10007]: INF [Starting pending process, zmc -d /dev/video]
Sep 4 08:59:10 localhost zmdc[26137]: INF ['zmc -d /dev/video' started at 09/09/04 08:59:10]
Sep 4 08:59:10 localhost zmdc[10007]: INF ['zmc -d /dev/video' starting at 09/09/04 08:59:10, pid = 26137]
Sep 4 08:59:10 localhost zmc_dvideo[26137]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 08:59:10 localhost zmc_dvideo[26137]: ERR [No monitors found]
Sep 4 08:59:10 localhost zmdc[10007]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Sep 4 08:59:17 localhost kernel: gspca: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency banding filters.
Sep 4 08:59:17 localhost kernel: gspca: [gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 7
Sep 4 08:59:33 localhost zmdc[10007]: INF [Starting pending process, zmfilter.pl]
Sep 4 08:59:33 localhost zmdc[26178]: INF ['zmfilter.pl' started at 09/09/04 08:59:33]
Sep 4 08:59:33 localhost zmdc[10007]: INF ['zmfilter.pl' starting at 09/09/04 08:59:33, pid = 26178]
Sep 4 08:59:34 localhost zmfilter[26178]: INF [Scanning for events]
Sep 4 08:59:39 localhost zmdc[10007]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
Sep 4 09:00:01 localhost crond[26213]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:00:03 localhost dhclient: DHCPREQUEST on eth0 to 10.12.79.1 port 67
Sep 4 09:00:03 localhost dhclient: DHCPACK from 10.12.79.1
Sep 4 09:00:03 localhost NET[26248]: /sbin/dhclient-script : updated /etc/resolv.conf
Sep 4 09:00:03 localhost dhclient: bound to 10.12.79.252 -- renewal in 1407 seconds.
Sep 4 09:01:01 localhost crond[26334]: (root) CMD (nice -n 19 run-parts --report /etc/cron.hourly)
Sep 4 09:01:01 localhost crond[26335]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:01:18 localhost zms[26371]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:01:18 localhost zms[26371]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:01:18 localhost zms[26371]: INF [Authenticated user 'admin']
Sep 4 09:01:18 localhost zms[26371]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:02:01 localhost crond[26422]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:02:22 localhost zmdc[26457]: INF ['zmc -d /dev/video0' started at 09/09/04 09:02:22]
Sep 4 09:02:22 localhost zmdc[10007]: INF ['zmc -d /dev/video0' starting at 09/09/04 09:02:22, pid = 26457]
Sep 4 09:02:22 localhost zmc_dvideo0[26457]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:02:22 localhost zmc_dvideo0[26457]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:02:22 localhost zmdc[10007]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Sep 4 09:02:22 localhost zmdc[10007]: INF [Command 'zma -m 1' removed from pending list at 09/09/04 09:02:22]
Sep 4 09:02:31 localhost zms[26482]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:02:31 localhost zms[26482]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:02:31 localhost zms[26482]: INF [Authenticated user 'admin']
Sep 4 09:02:31 localhost zms[26482]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:02:37 localhost zms[26491]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:02:37 localhost zms[26491]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:02:37 localhost zms[26491]: INF [Authenticated user 'admin']
Sep 4 09:02:37 localhost zms[26491]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:03:01 localhost crond[26570]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:04:01 localhost crond[26660]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:04:47 localhost zms[26741]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:04:47 localhost zms[26741]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:04:47 localhost zms[26741]: INF [Authenticated user 'admin']
Sep 4 09:04:47 localhost zms[26741]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:04:53 localhost zms[26751]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:04:53 localhost zms[26751]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:04:53 localhost zms[26751]: INF [Authenticated user 'admin']
Sep 4 09:04:53 localhost zms[26751]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:04:58 localhost zms[26760]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:04:58 localhost zms[26760]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:04:58 localhost zms[26760]: INF [Authenticated user 'admin']
Sep 4 09:04:58 localhost zms[26760]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Sep 4 09:05:01 localhost crond[26765]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:06:01 localhost crond[26913]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:07:01 localhost crond[27001]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Sep 4 09:07:03 localhost zms[27012]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 09:07:03 localhost zms[27012]: Libgcrypt warning: missing initialization - please fix the application
Sep 4 09:07:03 localhost zms[27012]: INF [Authenticated user 'admin']
Sep 4 09:07:03 localhost zms[27012]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]

mushroomboy 09-04-2009 11:53 AM

Code:

Sep 4 08:59:10 localhost zmc_dvideo[26137]: INF [Debug Level = 0, Debug Log = <none>]
Sep 4 08:59:10 localhost zmc_dvideo[26137]: ERR [No monitors found]

What's the "general" tab give us? I have a feeling the monitor isn't in the right mode.

midhat 09-05-2009 05:05 AM

where is general tab

centosboy 09-05-2009 08:02 PM

Quote:

Originally Posted by midhat (Post 3670708)
where is general tab

on your zoneminder home page, click on your camera (link) under source. In the pop up window that opens is the source tab.

midhat 09-06-2009 04:27 AM

i have solve my problem
i just need to set
source only video without 0
pal
linux version 1
yuv420p


All times are GMT -5. The time now is 04:16 PM.