Koozali.org: home of the SME Server

SME server 7.4 and Zoneminder 1.22.3 problems

Offline Bastionas

  • 4
  • +0/-0
SME server 7.4 and Zoneminder 1.22.3 problems
« on: February 26, 2010, 11:42:37 AM »
Hi everyone, I installed ZM 1.22.3 on my server, but then I try to view live stream I get still image. Neither mpeg nor jpeg streaming works. I use Logitech QuickCam Messenger (V-UBC40). I found out that I may need to change ZM paths in httpd.conf file, but I am too green at this. Or maybe I am wrong. Can anyone help me? Thanks in advance!

ZM_PATH_ZMS : /cgi-bin/zm/nph-zms

httpd.conf file contents (shortened version

Code: [Select]
#------------------------------------------------------------
#          !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
....
    DocumentRoot         /home/e-smith/files/ibays/Primary/html
    ScriptAlias /cgi-bin /home/e-smith/files/ibays/Primary/cgi-bin
    Alias       /files   /home/e-smith/files/ibays/Primary/files

ScriptAlias /zm/cgi-bin/zm /usr/libexec/zoneminder/cgi-bin
.....

Alias /zm "/usr/share/zoneminder/www"
<Directory>
    Options -Indexes MultiViews FollowSymLinks
    AddType application/x-httpd-php .php
    AllowOverride All
    Order allow,deny
    Allow from all
    AuthName "Zoneminder"
    AuthType Basic
    AuthExternal pwauth
    require user admin
</Directory>

<Directory>
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME server 7.4 and Zoneminder 1.22.3 problems
« Reply #1 on: February 26, 2010, 01:00:32 PM »
Can anyone help me?

hi, welcome here

you could/should start searching the logs for errors

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: SME server 7.4 and Zoneminder 1.22.3 problems
« Reply #2 on: February 27, 2010, 12:43:18 AM »
Bastionas

There are rpms & instructions for an earlier sme version (7.2) here.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/

Looks like it is for the 2.6.9-67.0.1 kernel

As I understand it, Zoneminder has quite specific requirements and various modules must be compiled for the specific kernel in use. The original maintainer (sognenovski) is no longer supporting the contrib, and as far as I know, nobody else is updating the rpms for the current sme release (and kernel).

You could try installing those rpms (listed above) on a test sme 7.2 (that has been upgraded with the appropriate kernel), to see if you can get it working, and then address the issue of compiling for the current OS kernel.

Otherwise ask someone here who is knowledgable to have a go at compiling "whatever is required", but as implied, zoneminder & related packages will need updating for each new kernel release, so a maintainer is really needed.

PS As far as settings are concerned, you can open Midnight Commander, type mc at the command prompt, and view the rpms to see what changes are made to the system when it gets installed. That should give you very good clues. Download and copy the rpms to your server first of course (use the wget command).
 
Quote
I installed ZM 1.22.3 on my server

Out of interest, what install steps did you use or follow ?
« Last Edit: March 01, 2010, 12:21:34 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Bastionas

  • 4
  • +0/-0
Re: SME server 7.4 and Zoneminder 1.22.3 problems
« Reply #3 on: February 28, 2010, 10:40:02 PM »
Out of interest, what install steps did you use or follow ?

1. Clean install SME 7.4
2. yum update
3. after that installed these files using "yum localinstall *.rpm":
    dkms-gspca-1.0.20-1.noarch.rpm
    perl-Device-SerialPort-1.003001-1.el4.rf.i386.rpm
    perl-Archive-Zip-1.30-1.el4.rf.noarch.rpm
    perl-Email-Date-Format-1.002-1.el4.rf.noarch.rpm
    perl-MIME-Lite-3.025-1.el4.rf.noarch.rpm
    smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
    zoneminder-1.22.3-9.el4.sme.i386.rpm
4. installed kernel-devel-2.6.9-89.0.16.EL.i686.rpm and spca5xx-20060501.tar.gz

And when I launch ZoneMinder it shows that I am using SME 7.2

hi, welcome here

you could/should start searching the logs for errors
Here is the log, and I was wrong about misplaced file:
Code: [Select]
[Mon Mar 01 12:26:20 2010] [warn] RSA server certificate CommonName (CN) `kamera.kamera' does NOT match server name!?
[Mon Mar 01 12:26:20 2010] [notice] Apache configured -- resuming normal operations
« Last Edit: March 01, 2010, 11:40:53 AM by Bastionas »