Hi all, I installed the new ubuntu 13.10 (server, new installation) and installed zoneminder form official repos.
On my previous 13.04 all works fine
I maked all symbolic links from conf.d to new conf-available e conf-enabled with:
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
and included the httpd.conf in apache2.conf with:
# Include all the user configurations:
Include /etc/apache2/httpd.conf
and in httpd.conf:
ServerName localhost
and "196.168.0.100/zm" won't work...... (192.168.0.100 is the ubuntu server static ip)
what i've to do?
another question, there is a way to update to the lastest zoneminder?
(sorry for my bad english)
ubuntu 13.10 and apache 2.4
Re: ubuntu 13.10 and apache 2.4
I'm having the same issues with Ubuntu 13.10.
I have successfully upgraded from 1.25.0 to 1.26.4 link here:
http://www.zoneminder.com/forums/viewto ... 30&t=21524
I have successfully upgraded from 1.25.0 to 1.26.4 link here:
http://www.zoneminder.com/forums/viewto ... 30&t=21524
Re: ubuntu 13.10 and apache 2.4
so there is not a solution??
for the update i get:
for the update i get:
Code: Select all
W: Impossibile recuperare /iconnor/zoneminder/ubuntu/dists/saucy/main/binary-amd64/Packages 404 Not Found
W: Impossibile recuperare /iconnor/zoneminder/ubuntu/dists/saucy/main/binary-i386/Packages 404 Not Found
E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.
Re: ubuntu 13.10 and apache 2.4
Not sure what would be causing those errors. I installed 1.26.4 on a clean install of Ubuntu 13.10. Just can't get Apache linked to the right place.
Here is a link to a procedure to install 1.26.4 from a clean install: http://www.zoneminder.com/wiki/index.ph ... e_easy_way
Here is a link to a procedure to install 1.26.4 from a clean install: http://www.zoneminder.com/wiki/index.ph ... e_easy_way
Re: ubuntu 13.10 and apache 2.4
but the problem is zoneminder or apache?
Re: ubuntu 13.10 and apache 2.4
I was able to have apache open zm but it is a blank page. The error log indicates a php error the function mysql_pconnect was depriciated in php 5.x.x and my Ubuntu installed php 5.5.3. Not being an expert here can anyone verify this may be the issue?
-
- Posts: 3
- Joined: Wed Oct 23, 2013 3:09 am
Re: ubuntu 13.10 and apache 2.4
the same promble!!
Re: ubuntu 13.10 and apache 2.4
Thanks to all who got me to investigating this in PHP.
The issue is in the php.ini file and is a value called:
short_open_tag = Off
This value needs to be set to On
sudo nano /etc/php5/php.ini
find the short_open_tag = Off and change it to On
Ctrl +o to save the file
Ctrl +x to exit
/etc/init.d/apache2 force-reload
and now you should see the ZM page!
After posting this I continued to install a camera. The camera loaded and is recording events but I'm unable to view video. Guess it is back to the drawing board or another piece of the puzzle to find!
The issue is in the php.ini file and is a value called:
short_open_tag = Off
This value needs to be set to On
sudo nano /etc/php5/php.ini
find the short_open_tag = Off and change it to On
Ctrl +o to save the file
Ctrl +x to exit
/etc/init.d/apache2 force-reload
and now you should see the ZM page!
After posting this I continued to install a camera. The camera loaded and is recording events but I'm unable to view video. Guess it is back to the drawing board or another piece of the puzzle to find!
Re: ubuntu 13.10 and apache 2.4
chjanging the short_open_tag does present the zm page but I still get the mysql_pconnect message in the error log. I traced the mysql_pconnect line to /usr/shared/zoneminder/includes/database.php where it is the statement that makes a persistent connection to the database. If the command mysql_pconnect was depriciated in PHP 5.5 then I assume we are not getting a connection to the database. I also changed the mysql_pconnect command with the new mysqli_connect in 13.10 and the recieved a database select error on the page. I am sure it taks more than just replacing the command in database.php but that is beyond my skill set right now.
I installed a clean copy of 13.04 which uses PHP 5.4.9 Ubuntu2.3 and zm works.
I installed a clean copy of 13.04 which uses PHP 5.4.9 Ubuntu2.3 and zm works.
Re: ubuntu 13.10 and apache 2.4
all this is interesting, but...
Why an ubuntu package are not tested????!!
i've to use old system only for this..... anyone can contact ubuntu team to fix all this problems? or zoneminder team?
Why an ubuntu package are not tested????!!
i've to use old system only for this..... anyone can contact ubuntu team to fix all this problems? or zoneminder team?