PDA

View Full Version : Zoneminder problems



baz.g
November 23rd, 2011, 01:34 PM
Hi all,

I have been trying to setup zoneminder on my laptop with little success. i installed just now from the repositories:




sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 libarchive-zip-perl libconvert-binhex-perl
libdate-manip-perl libdevice-serialport-perl libemail-date-format-perl
libhtml-template-perl libjs-mootools libmime-lite-perl libmime-tools-perl
libmime-types-perl libphp-serialization-perl libsys-mmap-perl
libyaml-syck-perl mysql-server mysql-server-5.1 mysql-server-core-5.1 php5
php5-cli php5-common php5-mysql
Suggested packages:
php-pear libipc-sharedcache-perl tinyca mailx php5-suhosin
The following NEW packages will be installed:
libapache2-mod-php5 libarchive-zip-perl libconvert-binhex-perl
libdate-manip-perl libdevice-serialport-perl libemail-date-format-perl
libhtml-template-perl libjs-mootools libmime-lite-perl libmime-tools-perl
libmime-types-perl libphp-serialization-perl libsys-mmap-perl
libyaml-syck-perl mysql-server mysql-server-5.1 mysql-server-core-5.1 php5
php5-cli php5-common php5-mysql zoneminder
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/23.4 MB of archives.
After this operation, 72.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package mysql-server-core-5.1.
(Reading database ... 177794 files and directories currently installed.)
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.58-1ubuntu1_amd64.deb) ...
Selecting previously deselected package mysql-server-5.1.
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.58-1ubuntu1_amd64.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.3.6-13ubuntu3.2_amd64.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.6-13ubuntu3.2_amd64.deb) ...
Selecting previously deselected package libarchive-zip-perl.
Unpacking libarchive-zip-perl (from .../libarchive-zip-perl_1.30-4_all.deb) ...
Selecting previously deselected package libconvert-binhex-perl.
Unpacking libconvert-binhex-perl (from .../libconvert-binhex-perl_1.119+pristine-3_all.deb) ...
Selecting previously deselected package libyaml-syck-perl.
Unpacking libyaml-syck-perl (from .../libyaml-syck-perl_1.17-1build1_amd64.deb) ...
Selecting previously deselected package libdate-manip-perl.
Unpacking libdate-manip-perl (from .../libdate-manip-perl_6.24-1_all.deb) ...
Selecting previously deselected package libemail-date-format-perl.
Unpacking libemail-date-format-perl (from .../libemail-date-format-perl_1.002-1_all.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...
Selecting previously deselected package libjs-mootools.
Unpacking libjs-mootools (from .../libjs-mootools_1.3.2~debian1-1_all.deb) ...
Selecting previously deselected package libmime-lite-perl.
Unpacking libmime-lite-perl (from .../libmime-lite-perl_3.027-1_all.deb) ...
Selecting previously deselected package libmime-tools-perl.
Unpacking libmime-tools-perl (from .../libmime-tools-perl_5.502-1_all.deb) ...
Selecting previously deselected package libmime-types-perl.
Unpacking libmime-types-perl (from .../libmime-types-perl_1.30-1_all.deb) ...
Selecting previously deselected package libphp-serialization-perl.
Unpacking libphp-serialization-perl (from .../libphp-serialization-perl_0.34-1_all.deb) ...
Selecting previously deselected package libsys-mmap-perl.
Unpacking libsys-mmap-perl (from .../libsys-mmap-perl_0.15-1_amd64.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.58-1ubuntu1_all.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../php5_5.3.6-13ubuntu3.2_all.deb) ...
Selecting previously deselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.3.6-13ubuntu3.2_amd64.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.3.6-13ubuntu3.2_amd64.deb) ...
Selecting previously deselected package libdevice-serialport-perl.
Unpacking libdevice-serialport-perl (from .../libdevice-serialport-perl_1.04-2build1_amd64.deb) ...
Selecting previously deselected package zoneminder.
Unpacking zoneminder (from .../zoneminder_1.24.4-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-core-5.1 (5.1.58-1ubuntu1) ...
Setting up mysql-server-5.1 (5.1.58-1ubuntu1) ...
mysql start/running, process 4324
Setting up php5-common (5.3.6-13ubuntu3.2) ...
Setting up libapache2-mod-php5 (5.3.6-13ubuntu3.2) ...
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
Setting up libarchive-zip-perl (1.30-4) ...
Setting up libconvert-binhex-perl (1.119+pristine-3) ...
Setting up libyaml-syck-perl (1.17-1build1) ...
Setting up libdate-manip-perl (6.24-1) ...
Setting up libemail-date-format-perl (1.002-1) ...
Setting up libhtml-template-perl (2.10-1) ...
Setting up libjs-mootools (1.3.2~debian1-1) ...
Setting up libmime-lite-perl (3.027-1) ...
Setting up libmime-tools-perl (5.502-1) ...
Setting up libmime-types-perl (1.30-1) ...
Setting up libphp-serialization-perl (0.34-1) ...
Setting up libsys-mmap-perl (0.15-1) ...
Setting up mysql-server (5.1.58-1ubuntu1) ...
Setting up php5 (5.3.6-13ubuntu3.2) ...
Setting up php5-cli (5.3.6-13ubuntu3.2) ...
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-mysql (5.3.6-13ubuntu3.2) ...
Setting up libdevice-serialport-perl (1.04-2build1) ...
Setting up zoneminder (1.24.4-1) ...
Starting ZoneMinder: success


but when i navigate to http://localhost/zm i get the 404 not found page.

i tried creating a symbolic link to the www directory



sudo ln -s /usr/share/zoneminder /var/www/zm


and then restarting apache



sudo /etc/init.d/apache2 restart


but then when i navigate to the url my browser tries to download a 'download' file. i tried focring it to http://locahost/zm/index.php but then it tries to download index.php

i have since removed the symbolic link



sudo rm /var/www/zm


please help :)

bhh1988
January 3rd, 2012, 03:02 AM
I have the same problem. I don't have a folder /usr/share/zoneminder so making a symbolic link doesn't make sense. Have you found the solution? I will keep trying to figure this out...

The_Loko
January 4th, 2012, 02:37 PM
The repositories zoneminder is not the last version, and it doesn't work for me too, I installed from source and no problems :D