Page 1 of 1
ZoneMinder 1.24.3 Archlinux
Posted: Tue Mar 22, 2011 1:59 pm
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?
Re: ZoneMinder 1.24.3 Archlinux
Posted: Tue Mar 22, 2011 5:43 pm
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.
Re: ZoneMinder 1.24.3 Archlinux
Posted: Wed Mar 23, 2011 11:57 am
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.")
Re: ZoneMinder 1.24.3 Archlinux
Posted: Wed Mar 23, 2011 1:12 pm
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
Re: ZoneMinder 1.24.3 Archlinux
Posted: Wed Mar 23, 2011 5:49 pm
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.
Re: ZoneMinder 1.24.3 Archlinux
Posted: Thu Mar 24, 2011 6:38 am
by aivs
tmm is include
/etc/php/php.ini
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/etc/:/var/lib/zm/