Unable to connect to ZM db.could not find driver [Debian buster]

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
fromillo
Posts: 6
Joined: Sun Sep 08, 2019 3:56 pm

Unable to connect to ZM db.could not find driver [Debian buster]

Post by fromillo » Sat Aug 08, 2020 12:02 pm

Hello,

i've tried to install zoneminder on ubuntu buster

It seems to be installed, but after some updates (of debian) i have this message when i try to connecto to it:
Unable to connect to ZM db.could not find driver
Do you have any idea?
Thank you very much

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

Re: Unable to connect to ZM db.could not find driver [Debian buster]

Post by bbunge » Sat Aug 08, 2020 1:54 pm

What install instructions did you use?
And, Buster is a Debian distro. Ubuntu is not. Maybe you should give us more info about your hardware and double check which version of Linux you use.

Edit:
This may be your problem: viewtopic.php?f=40&t=29774
You may have two copies of PHP or some parts of an old version left.

fromillo
Posts: 6
Joined: Sun Sep 08, 2019 3:56 pm

Re: Unable to connect to ZM db.could not find driver [Debian buster]

Post by fromillo » Sat Aug 08, 2020 6:34 pm

Yes, you're right.

I'm using Debian (i dont know why i wrote ubuntu :) ) buster

I don't remeber since i'm using zoneminder from some years, and i upgrade Debian after some months every releases came out.

I follow your link. Ok maybe i've more php installed, but i've no idea how to solve. In that post they didn't write how they solved.

Thank you and best regards

burger
Posts: 151
Joined: Mon May 11, 2020 4:32 pm

Re: Unable to connect to ZM db.could not find driver [Debian buster]

Post by burger » Sun Aug 09, 2020 1:21 am

If you are using apache, it's handled by an apache command.

Code: Select all

a2enmod 
or 
a2dismod.
Disable the old php (e.g. a2dismod php7.0)
and enable the new one. You can find version numbers in /etc/php.
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

If you are new to cctv, read this:
https://wiki.zoneminder.com/Dummies_Guide

fromillo
Posts: 6
Joined: Sun Sep 08, 2019 3:56 pm

Re: Unable to connect to ZM db.could not find driver [Debian buster]

Post by fromillo » Tue Aug 11, 2020 12:41 pm

Thank you everyone.

Searching the forum, and with your comments and suggestions, i fixed the problem.

I write how to fix it (on my debian buster).

I simply removed apache, sql (mariadb) and zoneminder with purge options in apt.

Then i re-installed them with apt install

Now it works, maybe something didn't worked properly during updates.

Thank you very much

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests