Not show the events

Forum for questions and support relating to the 1.24.x releases only.
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Not show the events

Post by Francisconi »

Greetings,
I´m new here, and a novice user Linux and ZM...

After instalation and basic´s uses, I can´t view the record event´s. When I click on the event, not show anything, have images, but dont play anything.

Somebody have a tip for correct show the record?

and another question: How to record only moviments? I like when stay moviment off, not record anything.

Thanks.

Marcos Francisconi
Using: Ubuntu 10.10 and ZM 1.24.2
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

This is the problem...
never show anything.!
Attachments
ScreenShot003.JPG
ScreenShot003.JPG (89.43 KiB) Viewed 6451 times
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

Somebody have any ideia ?
I'm try this but dont solve my problem:

The other common cause for being unable to view streams is that you have installed the ZoneMinder cgi binaries (zms and nph-zms) in a different directory than your web server is expecting. Make sure that the --with-cgidir option you use to the ZoneMinder configure script is the same as the CGI directory configure for your web server. If you are using Apache, which is the most common one, then in your httpd.conf file there should be a line like

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

where the last directory in the quotes is the one you have specified. If not then change one or the other to match. Be warned that configuring apache can be complex so changing the one passed to the ZoneMinder configure (and then rebuilding and reinstalling) is recommended in the first instance. If you change the apache config you will need to restart apache for the changes to take effect. If you still cannot see stream reliably then try changing Options->Paths->ZM_PATH_ZMS to just use zms if nph-zms is specified, or vice versa. Also check in your apache error logs.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Not show the events

Post by PacoLM »

Hi,

In your capture of the events window, seems that all the events are null events (no frames), so maybe you have to solve this problem before. Are you able to see the events in the database using phpmyadmin?.

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

My phpmyadmin not run! I'm input on browser "localhost/phpmyadmin" e not show anything.
The message say: Not possible load that page.

I´m re-install with apt-get install phpmyadmin but not run yet.

What hell is going on?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Not show the events

Post by bb99 »

PacoLM suggested the answer and he nailed it exactly: you aren't recording anything! Your .png shows null events (empty), so you'll need to look in log files to see what's the problem. If they don't give you the answer then enable debug to a level that will. Debug is in the config menu's.
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

I'm recording, belive this. I'm navigate to folder and I see all events, have over than 1000 events, but only images statics...
I suspicious that my database sql is corrupt.

I will verify the debug, and after I post here that conclusion. Thanks a lot.
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

I,m re-install all again, and no success! Where I'm config to show events recorded???

See that printscreen's of my system. :?
Attachments
Captura_de_tela-1.jpeg
Captura_de_tela-1.jpeg (90.91 KiB) Viewed 6405 times
Captura_de_tela.jpeg
Captura_de_tela.jpeg (93.12 KiB) Viewed 6405 times
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

This is my httpd.conf:

ScriptAlias /cgi-bin/ "/cgi-bin/nph-zms"

Alias /zm /usr/share/zoneminder



<Directory /usr/share/zoneminder>

php_flag register_globals off

Options Indexes FollowSymLinks

<IfModule mod_dir.c>

DirectoryIndex index.php

</IfModule>

</Directory>


I'm try this too on the FAQ:

Why can't I see streamed images when I can see stills in the Zone window etc?

This issue is normally down to one of two causes

1) You are using Internet Explorer and are trying to view multi-part jpeg streams. IE does not support these streams directly, unlike most other browsers. You will need to install Cambozola or another multi-part jpeg aware pluging to view them. To do this you will need to obtain the applet from the Downloads page and install the cambozola.jar file in the same directly as the ZoneMinder php files. Then find the ZoneMinder Options->Images page and enable ZM_OPT_CAMBOZOLA and enter the web path to the .jar file in ZM_PATH_CAMBOZOLA. This will ordinarily just be cambozola.jar. Provided ZM_CAN_STREAM is set to auto and ZM_STREAM_METHOD is set to jpeg then Cambozola should be loaded next time you try and view a stream.

NOTE: If you find that the Cambozola applet loads in IE but the applet just displays the version # of Cambozola and the author's name (as opposed to seeing the streaming images), you may need to chmod your cambozola.jar:

$ sudo chmod 775 cambozola.jar

Once I did this, images started to stream for me.
2) The other common cause for being unable to view streams is that you have installed the ZoneMinder cgi binaries (zms and nph-zms) in a different directory than your web server is expecting. Make sure that the --with-cgidir option you use to the ZoneMinder configure script is the same as the CGI directory configure for your web server. If you are using Apache, which is the most common one, then in your httpd.conf file there should be a line like

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

where the last directory in the quotes is the one you have specified. If not then change one or the other to match. Be warned that configuring apache can be complex so changing the one passed to the ZoneMinder configure (and then rebuilding and reinstalling) is recommended in the first instance. If you change the apache config you will need to restart apache for the changes to take effect. If you still cannot see stream reliably then try changing Options->Paths->ZM_PATH_ZMS to just use zms if nph-zms is specified, or vice versa. Also check in your apache error logs.


And this too:

Why am I getting broken images when trying to view events?

Zoneminder and the Apache web server need to have the right permissions. Check this forum topic and similar ones: http://www.zoneminder.com/forums/viewto ... 8754#48754
marcodefreitas
Posts: 21
Joined: Wed Oct 21, 2009 6:45 pm

Re: Not show the events

Post by marcodefreitas »

Forget phpmyadmin. It's pointless.
marcodefreitas
Posts: 21
Joined: Wed Oct 21, 2009 6:45 pm

Re: Not show the events

Post by marcodefreitas »

Increase buffers.
Attachments
Buffers must be higher for than the sum of other buffers.
Buffers must be higher for than the sum of other buffers.
buffers.png (20.21 KiB) Viewed 6387 times
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Not show the events

Post by PacoLM »

Are you storing the events in the default location?

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

I'm try change buffer, but not run yet. :evil:

I think my solution is same this:
http://www.zoneminder.com/forums/viewto ... 8754#48754

but my http.conf is empty, and my apache2.conf not have anything that have on this solution topic.

I'm using ubuntu 10.10.

I'm going crazy with this zoneminder...
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Not show the events

Post by bb99 »

Did you check the default-server.conf (if you have this file)? Your link says that's where they added the fix in SuSE 10.3, ZM 1.23.3.
I found it in the default-server.conf, it had a 'none' after Options, I just added the 'Indexes FollowSymLinks' saved it, then restarted zm, mysql and apache2. Worked beautifully aftewords.
Francisconi
Posts: 16
Joined: Mon Jul 11, 2011 3:14 pm

Re: Not show the events

Post by Francisconi »

What is "default-server.conf"??? I'm don't have this file, but I have apache2.conf

#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "foo.log"
# with ServerRoot set to "/etc/apache2" will be interpreted by the
# server as "/etc/apache2/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs/2.2/mod/mp ... l#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
#ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
LockFile ${APACHE_LOCK_DIR}/accept.lock

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
# graceful restart. ThreadLimit can only be changed by stopping
# and starting Apache.
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

# event MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy all
</Files>

#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain


#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog ${APACHE_LOG_DIR}/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf

# Include all the user configurations:
Include httpd.conf

# Include ports listing
Include ports.conf

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
Include conf.d/

# Include the virtual host configurations:
Include sites-enabled/
Locked