how do i install Zoneminder on linux mint 18.3? (need step by step instructions)

Forum for questions and support relating to the 1.31.x releases only.
Post Reply
linuxcar1
Posts: 8
Joined: Fri Jun 08, 2018 11:17 am

how do i install Zoneminder on linux mint 18.3? (need step by step instructions)

Post by linuxcar1 » Wed Jun 13, 2018 11:00 am

so i tried a week now to install zm but with no luck.
i am new with linux and dont know how to work with it yet but zoneminder is importend for my security camera(s)

What is tried is this:
https://zoneminder.readthedocs.io/en/st ... buntu.html
But without succes.

Then i tried the some instructions from youtube video's
- https://www.youtube.com/watch?v=Spr-JD2bEbc
- https://www.youtube.com/watch?v=Fw4SQur6rbI
also no succes and my whole pc crasht and must install linux all over again. :cry:

then they told me to install this scripts
https://wiki.zoneminder.com/Shell_scrip ... 28MySQL.29
also this gives problems. (see this topic: viewtopic.php?f=37&t=27309)

i dont know what to do anymore.
i need someone that gives me step by step instructions

bbunge
Posts: 1991
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: how do i install Zoneminder on linux mint 18.3? (need step by step instructions)

Post by bbunge » Wed Jun 13, 2018 11:54 am

Try the shell script again. There were some errors in it which were fixed over the weekend.

linuxcar1
Posts: 8
Joined: Fri Jun 08, 2018 11:17 am

Re: how do i install Zoneminder on linux mint 18.3? (need step by step instructions)

Post by linuxcar1 » Wed Jun 13, 2018 12:21 pm

bbunge wrote:
Wed Jun 13, 2018 11:54 am
Try the shell script again. There were some errors in it which were fixed over the weekend.
how do you know about the errors?

anysways, i have installed the 2 scripts and i see a Apache2 Ubuntu Default Page on http://192.168.1.100/

But i dont understand how i got zoneminder get to work...

edit: when i test of mysql is running or not (# service mysql status)
it says:
mysql.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead) (Result: exit-code) since Wed 2018-06-13 12:35:13 CES
Main PID: 375 (code=exited, status=1/FAILURE)
So i have trtied some random commands:
# systemctl restart mysql
Failed to restart mysql.service: Unit mysql.service is masked.
# service mysqld start
Failed to start mysqld.service: Unit mysqld.service not found.
# sudo systemctl unmask mysql.service
Removed symlink /etc/systemd/system/mysql.service
# systemctl restart mysql
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
# systemctl status mysql.service
mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: en
Active: activating (start-post) (Result: exit-code) since Wed 2018-06-13 18:1
Process: 28478 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 28471 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exi
Main PID: 28478 (code=exited, status=1/FAILURE); : 28479 (mysql-systemd
CGroup: /system.slice/mysql.service
└─control
├─28479 /bin/bash /usr/share/mysql/mysql-systemd-start post
└─28517 sleep 1
# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
mariadb-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.7 (5.7.22-0ubuntu0.16.04.1) ...
update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mariadb.cnf because link group my.cnf is broken
update-alternatives: warning: not replacing /etc/mysql/my.cnf with a link
ERROR: Unable to start MySQL server:
2018-06-13T16:47:06.806424Z 0 [ERROR] unknown option '--NO_ENGINE_SUBSTITUTION'
2018-06-13T16:47:06.809833Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up zoneminder (1.30.4-xenial1) ...
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
mysql.service couldn't start.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.7
mysql-server
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)

#

[/quote]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest