Code: Select all
root@Fileserver:~# apache2ctl restart
Syntax error on line 4 of /etc/apache2/conf.d/zoneminder:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Thanks
Code: Select all
root@Fileserver:~# apache2ctl restart
Syntax error on line 4 of /etc/apache2/conf.d/zoneminder:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Code: Select all
Start-Date: 2010-09-25 20:04:51
Install: apache2-mpm-worker (2.2.14-5ubuntu8.2)
Upgrade: apache2.2-bin (2.2.14-5ubuntu8, 2.2.14-5ubuntu8.2), php5-gd (5.3.2-1ubuntu4.2, 5.3.2-1ubuntu4.5), apache2 (2.2.14-5ubuntu8, 2.2.14-5ubunt$
Remove: php5 (5.3.2-1ubuntu4.2), apache2-mpm-prefork (2.2.14-5ubuntu8), zoneminder (1.24.2-2build3), phpmyadmin (3.3.2-1), libapache2-mod-php5 (5.$
End-Date: 2010-09-25 20:05:55
Code: Select all
$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-21 linux-headers-2.6.32-23 linux-headers-2.6.32-23-generic-pae linux-headers-2.6.32-21-generic-pae
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1,541kB of archives.
After this operation, 6,693kB of additional disk space will be used.
Selecting previously deselected package zoneminder.
(Reading database ... 133724 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.24.2-2build3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up zoneminder (1.24.2-2build3) ...
Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Unknown database 'zm' at /usr/share/perl5/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
barrydocks wrote:just ran an update on ubuntu 8.04 LTS and the apache update has uninstalled zoneminder and dropped the mysql databaser. What is worse is I can't get apche to run after the reinstall Here are the errors:Also there is no zm directory in the www directory anymore!Code: Select all
root@Fileserver:~# apache2ctl restart Syntax error on line 4 of /etc/apache2/conf.d/zoneminder: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Thanks
nope, still have the same errorWell, with Peter Howard help, I've put my system up and running again.
Check this thread:
http://www.zoneminder.com/forums/viewto ... 4780#64780
How do I fix it?There shouldn't be.. at least with 1.24..
It's an apache alias to the zm webroot..
Bill