Fedora core 3, axis 205 problem

Support and queries relating to all previous versions of ZoneMinder
Locked
blackkane
Posts: 6
Joined: Sat Aug 02, 2003 9:45 am

Fedora core 3, axis 205 problem

Post by blackkane »

Hi,
I used an axis 205 network camera with zoneminder but if I look my log I find these logs:
--/var/log/messages--
Jun 6 10:49:19 proxy zmu[20091]: ERR [Shared memory not initialised by capture daemon]
Jun 6 10:53:23 proxy zmc_m1[20234]: ERR [Can't gethostbyname(http://192.168.1.170): Operation not permitted]
--/var/log/zm/zmdc.log
Starting pending process, zmc -m 1
'zmc -m 1' started at 05/06/06 10:53:23
'zmc -m 1' starting at 05/06/06 10:53:23, pid = 20234
'zmc -m 1' crashed at 05/06/06 10:53:23, exit status 255
I suppose that my problem is the "Remote Host Path" of network camera....Have you some idea?
Regards, Francesco

ps: I use package zm-1.21.0-10.FC3.SEL.CTU
jasper19
Posts: 4
Joined: Sat Jun 04, 2005 8:12 pm

Post by jasper19 »

I am using both an old axis 240 and a usb web cam with FC3. I can just get the axis to work if I reduce the frame buffer to about 10 - I have had to increase my kernel sysmem figures to

kernel.shmall = 834217728
kernel.shmmax = 834217728

I have no idea why I have had to go this high - but i still can't get the usb cam to work

stilling getting zmu[3735]: ERR [Shared memory not initialised by capture daemon]

HOW BIG DO I HAVE TO GO

Remote CAM's seem to really be picky about pcre and pcre-devel. Even through rpm was reporting that it had them installed until I downloaded them fresh and did a RPM --force. THis fixed the ERR [Can't gethostbyname(http://x.x.x.x)


But I think FC3 is at the root of these other probs.

I have a friend using slackware with zoneminder and the install and config was a breeze!!!

Just can't bring myself to give up with FC3
User avatar
voronwe
Posts: 193
Joined: Tue Jan 18, 2005 12:40 am
Location: Copenhagen Denmark

Post by voronwe »

Hey Guys

Iam using FC3 with an Axis 206 Cam. and have none of the problems u guys seem to have, i have my shared memory set to half of what is installed in my machine, and i can easely change my resolution to 640X480 with 30FPS and never have have the shared memory error, my system is runng on the FC updates that where availeble at 27-05-2005.

So i find it strange that u guys have these problems.
Best Regards
Tom Stage
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The gethostname error I think was probably cause by you specifying your cameras hostname as http://x.x.x.x which is a url, rather than x.x.x.x by itself.

1.21.1 will optionally allow you to use non-regexp with netcams, so you can ignore libpcre.a et al completely.

Phil
User avatar
voronwe
Posts: 193
Joined: Tue Jan 18, 2005 12:40 am
Location: Copenhagen Denmark

Post by voronwe »

Ahh hehe now the dime fell into place.

For the Axis 206 Cams (and i prosume it is the same for axis 205) the remotre host name should be the ip adress only and not http://

Example : Remote Host Name = xxx.xxx.xxx.xxx

And if u want to use user auth. for the camera u should do the following. :

Remote Host Name = [Username]:[Password]@xxx.xxx.xxx.xxx

Example : Remote Host Name = zm:zm@192.168.100.100

I havent got any problems with this way of doing things.

Hope it solves ur problems. :)
Best Regards
Tom Stage
jasper19
Posts: 4
Joined: Sat Jun 04, 2005 8:12 pm

Post by jasper19 »

Things are looking up - I have being starting zoneminder and then modprobing the drivers for the USB web cam and then trying to get the monitor to work.
If I modprobe the drivers first or in the modprobe.conf file and then start ZM no problems -

Does the ERR [Shared memory not initialised by capture daemon] message cover a number of problems.

May even try and reduce the Shared memory!!
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

That error basically means that the analysis daemon or the streaming daemon etc are trying to get images out of shared memory but that the capturing daemon hasn't set up the shared memory in order to do so. In other words things are trying to get images out but no images are going in! Usually this is because the capture daemon is crashing on startup, or not being started at all.

Phil
blackkane
Posts: 6
Joined: Sat Aug 02, 2003 9:45 am

Post by blackkane »

Thx!
My problem was the address:
I use http://ip and not only ip.
Regards, blackkane
Locked