From time to time it'd be nice to have a remote control camera connected
to my Pi. Most likely use would be watching for unwelcome critters in
the garage or garden.
Knowing absolutely nothing I downloaded zoneminder. It looks like a much
more complex system than I need, but it's available.
At this stage I'd just like to find out if it runs on a Pi4 running up-to-date 64 bit RasPiOS. It's installed but the man page is little
help and running zmu reports a permissions error.
Any tips or links would be much appreciated.
Thanks for reading,
bob prohaska
You don't run it manually, it start (should) automagically at boot time,
go to <http://ip.address.of.RPi/zm/index.php>
HTH
The Nomad <nomad@the.desert.invalid> wrote:
You don't run it manually, it start (should) automagically at boot
time,
go to <http://ip.address.of.RPi/zm/index.php>
HTH
It helps enormously, now I know which way is up 8-)
Still, there seem to be problems:
If I try to visit http://localhost/zm/index.php I get a 404.
If I try to run the daemon manually I see:
bob@raspberrypi:~ $ sudo zmc -d localhost 03/27/24 13:43:48.107397 zmc_dlocalhost[400666].ERR-zm_db.cpp/55 [Can't connect to server: Access denied for user 'zmuser'@'localhost']
03/27/24 13:43:48.107614 zmc_dlocalhost[400666].FAT-zm_config.cpp/67
[Can't connect to db. Can't continue.]
Zoneminder was set up using sudo apt install zoneminder, no manual configuration.
The errors above make it look like maybe some sort of install script
needs to run for setting permissions. Sudo zmu reports the same
permissions error as zmc.
I did check that sudo more /etc/zm/zm.conf displays a reasonable looking file.
Any further hints appreciated!
Thanks for writing!
bob prohaska
Have you read <https://wiki.zoneminder.com/Dummies_Guide>?Saw it, but nothing clicked
<https://zoneminder.readthedocs.io/en/stable/userguide/
gettingstarted.html>
There is a lot of good stuff there - though some is a bit arcane :-)Indeed, I'll have study it a while. I wish there had been a hint in the
The Nomad <nomad@the.desert.invalid> wrote:
Saw it, but nothing clicked
Have you read <https://wiki.zoneminder.com/Dummies_Guide>?
<https://zoneminder.readthedocs.io/en/stable/userguide/That's new to me. I tried using sudo chgrp -c www-data /etc/zm/zm.conf
gettingstarted.html>
but still see bob@raspberrypi:~ $ sudo zmu 03/28/24 10:31:33.373918 undef[406950].ERR-zm_db.cpp/55 [Can't connect to server: Access denied
for user 'zmuser'@'localhost']
03/28/24 10:31:33.374161 undef[406950].FAT-zm_config.cpp/67 [Can't
connect to db. Can't continue.]
At least the config file is now readable.
Don't run zmu from the command line it's not how it works :-)
Zoneminder is a service that runs all the time in the background doing its stuff, there is a mysql database at the heart of this system with .php web pages.
ps aux |grep zm provides
ps aux |grep zm provides
That command offered proof that zoneminder's not running.
I'll try rebooting at some point to see if that makes any difference.
I'm not likely to want it running all the time,
can it be stopped and started _without_ rebooting?
Thanks for all your help!
bob prohaska
From time to time it'd be nice to have a remote control camera
connected to my Pi. Most likely use would be watching for
unwelcome critters in the garage or garden.
Knowing absolutely nothing I downloaded zoneminder...
In article <uu1rtd$31a20$1@dont-email.me>, bp@www.zefox.net says...
From time to time it'd be nice to have a remote control camera
connected to my Pi. Most likely use would be watching for
unwelcome critters in the garage or garden.
Knowing absolutely nothing I downloaded zoneminder...
I've not used zoneminder, but have used 'motion' for watching wildlife (https://motion-project.github.io/) which works fine on an RPi (both
with USB cameras and the RPi camera).
John Aldridge <jpsa@cantab.net> wrote:
In article <uu1rtd$31a20$1@dont-email.me>, bp@www.zefox.net says...
From time to time it'd be nice to have a remote control camera
connected to my Pi. Most likely use would be watching for
unwelcome critters in the garage or garden.
Knowing absolutely nothing I downloaded zoneminder...
I've not used zoneminder, but have used 'motion' for watching wildlife (https://motion-project.github.io/) which works fine on an RPi (both
with USB cameras and the RPi camera).
How does one guesstimate which cameras will work? Zonemaster has a list,
but I didn't see one for motion. It looks like the better-performing
cameras start in the mid-hundreds of dollars so a correct choice matters.
In article <uufja9$2ps5s$1@dont-email.me>, bp@www.zefox.net says...
John Aldridge <jpsa@cantab.net> wrote:
In article <uu1rtd$31a20$1@dont-email.me>, bp@www.zefox.net says...
From time to time it'd be nice to have a remote control camera
connected to my Pi. Most likely use would be watching for
unwelcome critters in the garage or garden.
Knowing absolutely nothing I downloaded zoneminder...
I've not used zoneminder, but have used 'motion' for watching wildlife
(https://motion-project.github.io/) which works fine on an RPi (both
with USB cameras and the RPi camera).
How does one guesstimate which cameras will work? Zonemaster has a list,
but I didn't see one for motion. It looks like the better-performing
cameras start in the mid-hundreds of dollars so a correct choice matters.
I'm not aware of a list of tested cameras, though a quick glance at the documentation suggests that one which supports Video4Linux2 should work.
But I wasn't trying to persuade you to switch away from zoneminder, just suggesting something else you might try if zoneminder doesn't work out.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 88 |
Nodes: | 16 (0 / 16) |
Uptime: | 12:16:25 |
Calls: | 4,921 |
Calls today: | 7 |
Files: | 8,491 |
Messages: | 351,012 |