Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/246.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何启动zoneminder服务器_Php_Ubuntu_Zoneminder - Fatal编程技术网

Php 如何启动zoneminder服务器

Php 如何启动zoneminder服务器,php,ubuntu,zoneminder,Php,Ubuntu,Zoneminder,我按照zoneminder的指示安装zoneminder。安装后,他们发出启动zomeminder服务器的命令 “zmpkg.pl start”但是当我使用它时,我得到了这个错误 Warning, overriding installed ./zm.conf file with local copy Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Debug

我按照zoneminder的指示安装zoneminder。安装后,他们发出启动zomeminder服务器的命令

“zmpkg.pl start”但是当我使用它时,我得到了这个错误

Warning, overriding installed ./zm.conf file with local copy
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.

Zoneminder需要web服务器和后台任务:

 service httpd start
 service zoneminder start

查看SQL转储导入是否有问题

在我的例子中,在Ubuntu 14.04的安装手册中,它被要求使用

MySQL -uroot -p < /usr/share/zoneminder/db/zm_create.sql
以前

CREATE TABLE `Logs` (

然后成功导入转储。然后,
zm
服务正确启动,没有错误

检查服务zoneminder开始启动zoneminder:在/usr/share/perl5/zoneminder/Debug.pm第265行中使用“strict subs”时,不允许使用裸字“zm_路径_日志”。在/usr/share/perl5/zonemider.pm第34行的require中编译失败。BEGIN失败--编译在/usr/share/perl5/zonemider.pm第34行中止。在/usr/bin/zmpkg.pl第45行的require中编译失败。BEGIN失败--编译在/usr/bin/zmpkg.pl行中止。失败
CREATE TABLE `Logs` (