Page 1 of 1

Akuvox R20A doesn't work...

Posted: Wed May 31, 2023 6:51 am
by GbMax78
Hi guys,

I have seven Akuvox R20A which I can see by VLC with rtsp without problems (audio and video are perfect!); this is the configuration page: https://ibb.co/sWkf7r5

I installed Zone Minder on Debian Bookworm from repositories, here below the screenshots:
https://ibb.co/jGwCYy0
https://ibb.co/6nZvWWr
https://ibb.co/HNpdjZt
https://ibb.co/0Dbwk9W

I didn't understand why I can see nothing... :\

GabrieleMax

Re: Akuvox R20A doesn't work...

Posted: Wed May 31, 2023 12:24 pm
by Magic919
I'd expect it to log something.

Re: Akuvox R20A doesn't work...

Posted: Wed May 31, 2023 4:59 pm
by iconnor
Did you use the same url in vlc as in the monitor settings? Cuz I so no path or user auth...

It may be that the camera only supports either UDP or TCP, so try both.

I see that your logs button is RED, so it seems like it IS logging something.

Re: Akuvox R20A doesn't work in realtime view

Posted: Sun Jun 04, 2023 12:03 pm
by GbMax78
I solved the issue about the configuration and now ZM is connected to the device:

https://ibb.co/StLVYZq
https://ibb.co/Jn9WXB0
https://ibb.co/QJ2W1K4

I inserted in the rtsp link the username and password but now I had another problem, I can't see the realtime view.

https://ibb.co/N1Tv1dT

I tried also with different web browsers like Chrome, Firefox, Edge, etc. but I understood it's not a browser problem, obviously I tried to search on internet and it seems it's an API issue but I don't know what should I do now, I'm using ZM on Debian Bookworm.

Regards.
GabrieleMax

Re: Akuvox R20A doesn't work...

Posted: Sat Aug 19, 2023 12:07 pm
by GbMax78
Thanks to a member of ZoneMinder's crew I found the first solution so... I configured CGI (I followed this guide: https://www.ionos.com/digitalguide/serv ... on-apache/ it works also on my Debian Bullseye.

Now I have this issue:
https://ibb.co/ZLcbpwM

Logs said:
https://ibb.co/m5fk5Ms

The ip cam config on ZM is:
https://ibb.co/MkQpMTz
https://ibb.co/TqQ5XBL
https://ibb.co/3C44Nc6

This is the Akuvox config:
https://ibb.co/hDc44GG
https://ibb.co/WD4cRWr

I tried to find how to fix the error showed on the Log's page but I didn't find a real solution... :roll:

Regards.
GbMax78

Re: Akuvox R20A doesn't work...

Posted: Sat Aug 19, 2023 1:22 pm
by iconnor
That error generally means that the capture process isn't running.

Re: Akuvox R20A doesn't work...

Posted: Mon Aug 21, 2023 7:13 am
by GbMax78
iconnor wrote: Sat Aug 19, 2023 1:22 pm That error generally means that the capture process isn't running.
Thanks for your reply, I edited this file: /etc/zm/conf.d/01-system-paths.conf

Code: Select all

# Full Path to ZoneMinder's mapped memory files
# The web account user must have full read/write permission to this folder.
ZM_PATH_MAP=/dev/shm

# Full Path to ZoneMinder's socket folder
# The web account user must have full read/write permission to this folder.
ZM_PATH_SOCKS=/run/zm

# Full path to ZoneMinder's log folder
# The web account user must have full read/write permission to this folder.
ZM_PATH_LOGS=/var/log/zm

# Full path to ZoneMinder's swap folder
# The web account user must have full read/write permission to this folder.
ZM_PATH_SWAP=/tmp/zm
Now I have just one web account on zm db and it is "admin" and obviously it is not a Linux user so should I create a Linux user named "admin" to give it permissions to the above directories and should I do it for every new zm users?

Regards.
GbMax78

Re: Akuvox R20A doesn't work...

Posted: Mon Aug 21, 2023 7:43 am
by Magic919
A normal web account user would be www-data or apache. It's a system (Linux) account that runs the webserver. Nothing to do with ZM users.

Re: Akuvox R20A doesn't work...

Posted: Mon Aug 21, 2023 9:16 am
by GbMax78
Magic919 wrote: Mon Aug 21, 2023 7:43 am A normal web account user would be www-data or apache. It's a system (Linux) account that runs the webserver. Nothing to do with ZM users.
Ok, thanks to clarify it to me; I gived to the directories written in my last post, to do a test, +777 permissions but nothing happened :\

After I unchecked "OPT_USE_AUTH" I tried to understand by http://server_ip/zm/api/host/getVersion.json if json works but I have a 404 not found.

I also checked /dev/shm/zm.mmap.1 and there aren't files so there isn't zm.mmap.1

Regards.
GbMax78

Re: Akuvox R20A doesn't work...

Posted: Mon Aug 21, 2023 11:09 am
by Magic919
I'm not clear what you are trying to achieve.

Isaac is saying the capture process is not running. These things don't happen in silence, so I'd be guided by what appears in the logs. Turn up logging if you have to.