ZoneMinder 1.24.3 Archlinux

Forum for questions and support relating to the 1.24.x releases only.
Locked
aivs
Posts: 9
Joined: Fri Mar 18, 2011 12:15 pm

ZoneMinder 1.24.3 Archlinux

Post by aivs »

Hello, I have successfully compiled ZoneMinder 1.24.3 on Archlinux and install it, but how start zoneminder??

Code: Select all

./configure --prefix=/usr \
		--with-ffmpeg=/usr CPPFLAGS="-D__STDC_CONSTANT_MACROS" \
		--sysconfdir=/etc \
		--with-webuser=http  \
		--with-webgroup=http \
		--with-mysql=/usr  \
		--with-webdir=/var/lib/zm/www  \
    --with-cgidir=/var/lib/zm/cgi-bin \
    --with-extralibs="-lv4l1 -lv4l2" \
    --bindir=/usr/lib/zm/bin \
    --enable-mmap=no \
    ZM_SSL_LIB=openssl

make

make install
I have installed and started mysql, and apache, at localhost i see apache start_page, localhost/zm not work.
What i need to do?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: ZoneMinder 1.24.3 Archlinux

Post by bb99 »

If you were to have a look at RDMelin's ZMLarch 1.24.2 live CD you could see how he did it. The wiki lists several url's where you can download if you don't have a copy.
aivs
Posts: 9
Joined: Fri Mar 18, 2011 12:15 pm

Re: ZoneMinder 1.24.3 Archlinux

Post by aivs »

Thanks, i I used a configuration from "zoneminder-svn". Then I have installed and have started zoneminder (localhost/zm), then i add my ip-camera TRENDNET TP-110, but picture I haven't seen.
In vlc i can see the video from camera

In zmwatch.log error

Code: Select all

03/23/2011 04:52:39.926274 zmwatch[2271].ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]
How to define why doesn't show video??

aivs.narod. ru/zoneminder.jpg (space after "narod.")
aivs
Posts: 9
Joined: Fri Mar 18, 2011 12:15 pm

Re: ZoneMinder 1.24.3 Archlinux

Post by aivs »

In /var/log/httpd/error_log some errors

Code: Select all

[Wed Mar 23 16:02:25 2011] [error] [client 127.0.0.1] socket_sendto( /tmp/zm/zms-745391s.sock ) failed: No such file or directory, referer: localhost /zm/ ?view=watch&mid=8
[Wed Mar 23 16:02:25 2011] [error] [client 127.0.0.1] array (\n  0 => \n  array (\n    'file' => '/var/lib/z m/www/ajax/ stream. php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zm/zms-745 391s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/lib/zm/ww w/inde x.php',\n    'line' => 119,\n    'args' => \n    array (\n      0 => '/var/lib/ zm/www/ajax /stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: localh ost/zm/?view=watch&mid=8
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Re: ZoneMinder 1.24.3 Archlinux

Post by timcraig »

One possibility is that you need to include '/tmp/' to your 'open_basedir' line in your /etc/php/php.ini.

For example, your open_base line might look like this:
open_basedir = /srv/http/

If that's the case you'll want to change it to:
open_basedir = /srv/http/:/tmp/
and then restart Apache.
aivs
Posts: 9
Joined: Fri Mar 18, 2011 12:15 pm

Re: ZoneMinder 1.24.3 Archlinux

Post by aivs »

tmm is include
/etc/php/php.ini

open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/etc/:/var/lib/zm/
Locked