I am using the guide from
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
and have received the same error twice, Given it was new install, I just nuked the install, booted from Ubuntu install CD again, and same thing again.
When I get to:
root@Burn:/home/jmcgee# a2enmod cgi
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf-enabled/zoneminder.conf: No such file or directory
Enabling module cgi.
To activate the new configuration, you need to run:
service apache2 restart
root@Burn:/home/jmcgee# service apache2 restart
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf-enabled/zoneminder.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
So I check
root@Burn:/home/jmcgee# cd /var/log/apache2
root@Burn:/var/log/apache2# ls
access.log error.log other_vhosts_access.log
root@Burn:/var/log/apache2# cat error.log
[Sun Feb 07 14:29:03.031937 2016] [mpm_prefork:notice] [pid 1146] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 configured -- resuming normal operations
[Sun Feb 07 14:29:03.031974 2016] [core:notice] [pid 1146] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 07 14:32:18.920559 2016] [mpm_prefork:notice] [pid 1146] AH00169: caught SIGTERM, shutting down
[Sun Feb 07 14:32:19.967450 2016] [mpm_prefork:notice] [pid 13562] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Sun Feb 07 14:32:19.967485 2016] [core:notice] [pid 13562] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 07 14:32:21.408599 2016] [mpm_prefork:notice] [pid 13562] AH00169: caught SIGTERM, shutting down
[Sun Feb 07 14:32:22.455429 2016] [mpm_prefork:notice] [pid 13929] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Sun Feb 07 14:32:22.455452 2016] [core:notice] [pid 13929] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 07 14:44:27.725058 2016] [mpm_prefork:notice] [pid 13929] AH00169: caught SIGTERM, shutting down
[Sun Feb 07 14:44:41.249682 2016] [mpm_prefork:notice] [pid 1103] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Sun Feb 07 14:44:41.249916 2016] [core:notice] [pid 1103] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 07 14:50:52.641175 2016] [mpm_prefork:notice] [pid 1103] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Sun Feb 07 14:50:52.657390 2016] [mpm_prefork:notice] [pid 1103] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Sun Feb 07 14:50:52.657401 2016] [core:notice] [pid 1103] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 07 14:54:52.916207 2016] [mpm_prefork:notice] [pid 1103] AH00169: caught SIGTERM, shutting down
Ubuntu 14.04 new install issue
Re: Ubuntu 14.04 new install issue
Well, that is an obsolete guide. Please use the one for ZM 1.29.0
bb
bb
Re: Ubuntu 14.04 new install issue
So I assume the Ubuntu repository only has. 29, no easy way to install. 28?
Re: Ubuntu 14.04 new install issue
If you want 1.28.1 install Ubuntu 15.10
Re: Ubuntu 14.04 new install issue
OK, I will just run with .29 hopefully Kodi and/or Mythtv will catch up.
Zoneminder starts now using the guide you pointed to. Thank you!
But there is an error in log tab:
2016-02-09 07:06:32.272340 zmpkg 4306 FAT Can't create missing temporary directory '/var/run/zm': Permission denied zmpkg.pl
from terminal:
jmcgee@Burn:/$ ls -l /var/run
lrwxrwxrwx 1 root root 4 Feb 8 06:35 /var/run -> /run
Zoneminder starts now using the guide you pointed to. Thank you!
But there is an error in log tab:
2016-02-09 07:06:32.272340 zmpkg 4306 FAT Can't create missing temporary directory '/var/run/zm': Permission denied zmpkg.pl
from terminal:
jmcgee@Burn:/$ ls -l /var/run
lrwxrwxrwx 1 root root 4 Feb 8 06:35 /var/run -> /run
Re: Ubuntu 14.04 new install issue
In options, paths change the temp to tmpfs Think /run/shm should work
Re: Ubuntu 14.04 new install issue
I'm confused. in Options/Path, the only field set to /var/run/zm is
PATH_SOCKS Path to the various Unix domain socket files that ZoneMinder uses (?)
Is that the correct path to change to /run/shm ?
PATH_SOCKS Path to the various Unix domain socket files that ZoneMinder uses (?)
Is that the correct path to change to /run/shm ?
Re: Ubuntu 14.04 new install issue
PATH_SWAP set to /run/shm
Re: Ubuntu 14.04 new install issue
I changed
PATH_SWAP Path to location for temporary swap images used in streaming (?)
to /run/shm.
Same error:
2016-02-09 21:23:40.022910 zmpkg 1745 FAT Can't create missing temporary directory '/var/run/zm': Permission denied
Again the only field in paths that has /var/run/zm
PATH_SOCKS Path to the various Unix domain socket files that ZoneMinder uses (?)
PATH_SWAP Path to location for temporary swap images used in streaming (?)
to /run/shm.
Same error:
2016-02-09 21:23:40.022910 zmpkg 1745 FAT Can't create missing temporary directory '/var/run/zm': Permission denied
Again the only field in paths that has /var/run/zm
PATH_SOCKS Path to the various Unix domain socket files that ZoneMinder uses (?)
Re: Ubuntu 14.04 new install issue
I changed both fields to /run/shm and still get the error.
Re: Ubuntu 14.04 new install issue
I have posted this issue in the 1.29 forum as this has to do with 1.29.