Installation errors installing on Linux Mint
Posted: Tue Feb 14, 2017 2:14 am
I have spent days trying to install without luck. The installation instructions I followed are Easy Way: Ubuntu 14.x (zoneminder.readthedocs.io/en/stable/installationguide/uabuntu.html#harder-way-build-package-from-source). I have checked these instructions plenty of times so pretty sure that I did everything as mentioned.
I'm using Linux Mint 18 Sarah. myPHPadmin works fine. Apache seems to work. ZM database is created (although all of the tables are empty). Zoneminder will not start.
SYSTEM STATUS ZONEMINDER.SERVICE SHOWS THE FOLLOWING:
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-02-13 20:43:25 EST; 19min ago
Process: 17120 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Feb 13 20:43:15 mintPC sudo[17133]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl startup
Feb 13 20:43:15 mintPC sudo[17133]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value $Config{"ZM_PATH_SOCKS"} in concatenation (.) or string at /usr/bin/zmdc.pl line 72.
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 155.
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 205.
Feb 13 20:43:25 mintPC sudo[17133]: pam_unix(sudo:session): session closed for user www-data
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Control process exited, code=exited status=255
Feb 13 20:43:25 mintPC systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Unit entered failed state.
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Failed with result 'exit-code'.
~
APPACHE ERROR LOG SHOWS
[Mon Feb 13 19:05:30.483033 2017] [ssl:warn] [pid 1808] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 13 19:05:33.996690 2017] [ssl:warn] [pid 1819] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 13 19:05:33.999512 2017] [mpm_prefork:notice] [pid 1819] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Feb 13 19:05:33.999544 2017] [core:notice] [pid 1819] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 13 19:10:14.868973 2017] [mpm_prefork:notice] [pid 1819] 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
I'm using Linux Mint 18 Sarah. myPHPadmin works fine. Apache seems to work. ZM database is created (although all of the tables are empty). Zoneminder will not start.
SYSTEM STATUS ZONEMINDER.SERVICE SHOWS THE FOLLOWING:
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-02-13 20:43:25 EST; 19min ago
Process: 17120 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Feb 13 20:43:15 mintPC sudo[17133]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl startup
Feb 13 20:43:15 mintPC sudo[17133]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value $Config{"ZM_PATH_SOCKS"} in concatenation (.) or string at /usr/bin/zmdc.pl line 72.
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 155.
Feb 13 20:43:15 mintPC zmpkg.pl[17120]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 205.
Feb 13 20:43:25 mintPC sudo[17133]: pam_unix(sudo:session): session closed for user www-data
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Control process exited, code=exited status=255
Feb 13 20:43:25 mintPC systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Unit entered failed state.
Feb 13 20:43:25 mintPC systemd[1]: zoneminder.service: Failed with result 'exit-code'.
~
APPACHE ERROR LOG SHOWS
[Mon Feb 13 19:05:30.483033 2017] [ssl:warn] [pid 1808] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 13 19:05:33.996690 2017] [ssl:warn] [pid 1819] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 13 19:05:33.999512 2017] [mpm_prefork:notice] [pid 1819] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Feb 13 19:05:33.999544 2017] [core:notice] [pid 1819] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 13 19:10:14.868973 2017] [mpm_prefork:notice] [pid 1819] 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