new install compilation failed
Posted: Tue Dec 22, 2015 8:14 pm
Can someone take a look at this and jump start me?????? I'm stuck with a failure after install.
Apache2 is up and running on localhost at 127.0.0.1
using mint cinnimon 17.2 the repository installs zoneminder 1.26 for me
I'll start with I have restarted the OS before I post this.
I login with admin / admin... I see the screen start up then it crashes.
error message is:
Not Found
The requested URL /zm/undefined was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
So after some searching I try this:
sudo /etc/init.d/zoneminder restart ****(note: when I look in the folder /etc/init.d/zoneminder I find no /init.d folder or file)****
Stopping ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
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 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Zoneminder already stopped
So the first line above says stopping ZoneMinder and points to /usr/share/perl5/Zondminder/logger.pm line 153
a quick look at line 153 says->>> $this->{logPath} = ZM_PATH_LOGS;
line 168 says- >>> no strict 'subs';
a quick look at Zoneminder.pm line 34 says->>> use ZoneMinder::Logger qw(:all);
quick look at user/bin/zmpkg.pl line 37 says->> use ZoneMinder;
_So below I try update and get the following.
$ zmupdate.pl-f
zmupdate.pl-f: command not found
~ $ sudo zmupdate.pl-f
[sudo] password for ehem:
sudo: zmupdate.pl-f: command not found
~ $ zmupdate.pl -f
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 48.
$ sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.confln: failed to create symbolic link ‘/etc/apache2/conf.d/zoneminder.conf’: No such file or directory
Apache2 is up and running on localhost at 127.0.0.1
using mint cinnimon 17.2 the repository installs zoneminder 1.26 for me
I'll start with I have restarted the OS before I post this.
I login with admin / admin... I see the screen start up then it crashes.
error message is:
Not Found
The requested URL /zm/undefined was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
So after some searching I try this:
sudo /etc/init.d/zoneminder restart ****(note: when I look in the folder /etc/init.d/zoneminder I find no /init.d folder or file)****
Stopping ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
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 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Zoneminder already stopped
So the first line above says stopping ZoneMinder and points to /usr/share/perl5/Zondminder/logger.pm line 153
a quick look at line 153 says->>> $this->{logPath} = ZM_PATH_LOGS;
line 168 says- >>> no strict 'subs';
a quick look at Zoneminder.pm line 34 says->>> use ZoneMinder::Logger qw(:all);
quick look at user/bin/zmpkg.pl line 37 says->> use ZoneMinder;
_So below I try update and get the following.
$ zmupdate.pl-f
zmupdate.pl-f: command not found
~ $ sudo zmupdate.pl-f
[sudo] password for ehem:
sudo: zmupdate.pl-f: command not found
~ $ zmupdate.pl -f
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 48.
$ sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.confln: failed to create symbolic link ‘/etc/apache2/conf.d/zoneminder.conf’: No such file or directory