Getting Started – Ubuntu
6 Troubleshooting
Camera firmware upgrade does
not work
Check that the
php.ini
file has the relevant options set.
Camera firmware upgrade does
not work: “
An error has
occurred.
Check the
log for more info.
”
The firmware files might be too big for PHP.
Check that PHP is correctly configured.
Check the permissions on the firmware directory.
Devices cannot be listed. Log
complains of database queries
related to camera listings, and
that event links cannot be created
or linked.
Ensure that the partition of the
temp
directory (defined by the configuration variable
PATH_TEMP
) is not short of space or inodes. Try manually creating a file in this directory to
ensure that it works.
If the partition of the
temp
directory is small and uses the
ext3
file system, the default
values for maximum inodes might not be enough.
The maximum number of inodes is specified when the partition is created, the default value
being defined by the following: If
V
is the volume size in bytes, then the maximum number
of inodes is given by
V/2
13
(or the number of blocks, whichever is less), and the minimum
by
V/2
23
.
Recordings
Cannot start/stop/view events and
recordings.
Is the event path set in the configuration? This should be
$_ST_config[‘PATH_EVENTS’]
Does the path have a trailing “/”?
Does the directory exist?
Does the web server user have write permission?
Is the disk full?
Manual/scheduled recording
does not work (while most other
functionality seems to work).
Check
$_ST_config[‘PATH_PHP’]
in the configuration file. This should point to the
PHP binary, not to a directory. (Run
which php
in a shell to get the correct path from the
system, e.g.
/usr/bin/php
.)
Manual and scheduled recordings
do not work, but alarm recordings
and Live view do.
If recording to H.264/MPEG-4 is enabled, check that the media server is running.
Alarm recordings do not work, but
manual and scheduled recordings
do.
Check the size of the log files.
Check that log rotation is set up correctly.
Check that the log level is set to a reasonable level, i.e. not more than 2 or 3 for normal
operation.
Events are uploaded via the web server. Check that port 80 is open. Do not use port 443
— SSL is not supported for event uploads.
Check that the web server has been configured to handle
.cgi
files as scripts, see
AddHandler
in
2.7 Configure Apache on page 11
.
6.3 Resetting to factory default — Axis products
If the Axis product needs to be reset to factory default, follow these steps:
Products with no restart or power button
1. Disconnect power.
2. Press and hold the Control button and reconnect power.
23