Ubuntu 14.04 new install issue
Posted: Sun Feb 07, 2016 8:58 pm
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
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