Search found 129 matches

by Paranoid
Tue Jan 19, 2021 1:08 pm
Forum: ZoneMinder 1.35.x
Topic: zmu fails with 'ERR-zm_monitor.cpp/572 [Can't open memory map file...Permission denied
Replies: 4
Views: 449

Re: zmu fails with 'ERR-zm_monitor.cpp/572 [Can't open memory map file...Permission denied

Execute the following command:

Code: Select all

sudo sysctl fs.protected_regular=0
and zmu will work. You may need to add/edit an entry in /etc/sysctl.conf or one of the files under /etc/sysctl.d/ to preserve the setting after a reboot.
by Paranoid
Tue Jan 19, 2021 12:50 pm
Forum: ZoneMinder 1.34.x
Topic: Error on zmu.cpp and zm_monitor.cpp
Replies: 2
Views: 256

Re: Error on zmu.cpp and zm_monitor.cpp

Run the following: sudo sysctl fs.protected_regular The output should be: fs.protected_regular = 0 If it isn't then run the following: sudo sysctl fs.protected_regular=0 and everything should work. Have a look at /etc/sysctl.conf and the files under /etc/sysctl.d/ and you will probably find an entry...
by Paranoid
Mon Jan 18, 2021 1:17 pm
Forum: ZoneMinder 1.34.x
Topic: Shared data not initialised by capture daemon......
Replies: 2
Views: 183

Re: Shared data not initialised by capture daemon......

It's possible that your capture daemon is slow to start and as a result it hasn't initialised the shared memory when the analysis daemon starts up. The analysis daemon spots this and exits producing the first error message. The second message is produced by zmdc which is monitoring all the daemons. ...
by Paranoid
Sun Jan 17, 2021 12:02 am
Forum: Feature Requests
Topic: Motion detection on substream without recording
Replies: 2
Views: 1297

Re: Motion detection on substream without recording

You might already be able to do that.
Set up to 2 monitors, one for the sub stream and one for the main.
The sub stream detects the motion and triggers the main one to record.
by Paranoid
Fri Jan 15, 2021 9:23 pm
Forum: Mobile Apps
Topic: Integrating node red with event server Notifications
Replies: 2
Views: 415

Re: Integrating node red with event server Notifications

You could enable zmtrigger and then in Node Red use a TCP in Node to connect to zmtrigger to get the events real time. EDIT: I though getting Zoneminder events into my home automation system might prove useful to me so I put together a couple of nodes to do it. Here they are, you might find them use...
by Paranoid
Fri Jan 15, 2021 4:43 pm
Forum: ZoneMinder 1.33.x
Topic: DS-2DE3304W-DE PTZ
Replies: 10
Views: 4711

Re: DS-2DE3304W-DE PTZ

Can you goto the following url on your camera and post the output?

Code: Select all

http://<your camera>/ISAPI/PTZCtrl/channels/1/capabilities
by Paranoid
Fri Jan 15, 2021 4:28 pm
Forum: ZoneMinder 1.34.x
Topic: HDD Storage is increasing Ram Usage?
Replies: 8
Views: 545

Re: HDD Storage is increasing Ram Usage?

The OS caches file data in memory to save on disk acceses and speed things up. If the running processes need more memory the cache size will automatically reduce. Run the "free" command jupiter-1009 $ free -h total used free shared buff/cache available Mem: 62Gi 5.8Gi 3.2Gi 4.0Gi 53Gi 52Gi Swap: 63G...
by Paranoid
Fri Jan 15, 2021 4:09 pm
Forum: ZoneMinder 1.34.x
Topic: Fresh Install on CentOS Linux TimeZone Catch-22
Replies: 5
Views: 1958

Re: Fresh Install on CentOS Linux TimeZone Catch-22

You need to set the date.timezone setting in the php.ini files. You should be able to find them with the following command.

Code: Select all

sudo find /etc -name php.ini
by Paranoid
Fri Jan 15, 2021 3:09 pm
Forum: ZoneMinder 1.34.x
Topic: Unable to access 2nd HDD for storage
Replies: 15
Views: 774

Re: Unable to access 2nd HDD for storage

Open a terminal and run

Code: Select all

df -kh
If your disk does not appear in the list then it isn't mounted and isn't accessible by Zoneminder.
by Paranoid
Fri Jan 15, 2021 1:50 pm
Forum: ZoneMinder 1.34.x
Topic: DCS5222LB PTZ CONFIGURE
Replies: 2
Views: 145

Re: DCS5222LB PTZ CONFIGURE

You have enabled "Can move continuous" and the control script can't do that.
See the post by "giantskorpion" in the thread you link to for the correct settings
by Paranoid
Fri Jan 15, 2021 1:14 pm
Forum: User Contributions
Topic: Mysql_free_result () called twice to free same result
Replies: 0
Views: 184

Mysql_free_result () called twice to free same result

The zmLoadUser function in zm_user.cpp has this section of code: if ( mysql_num_rows(result) == 1 ) { MYSQL_ROW dbrow = mysql_fetch_row(result); User *user = new User(dbrow); mysql_free_result(result); if ( (! password ) // relay type must be none || verifyPassword(username, password, user->getPassw...
by Paranoid
Thu Jan 14, 2021 10:37 am
Forum: User Contributions
Topic: HikVision PTZ control
Replies: 39
Views: 33521

Re: HikVision PTZ control

I just tryed to get the DS-2DE3A404IW-DE/W working. Configured are the following settings: https://i.ibb.co/XD6chNG/ptz.jpg But its not working and the logs are spammed with: 2020-08-26 04:40:02 zmcontrol_7 16709 FAT No protocol is set in monitor. Please edit the monitor, edit control type, select ...
by Paranoid
Sat Sep 29, 2018 1:37 pm
Forum: ZoneMinder 1.31.x
Topic: Setting up Zoneminder for the first time
Replies: 19
Views: 12253

Re: Setting up Zoneminder for the first time

The HikVision URL is usually something like this: rtsp://user:password@192.168.1.15/Streaming/Channels/101/ Use /101/ for channel 1 and /102/ for channel 2. If you want to test it then you should be able use that URL with ffplay or VLC or some other video player. I have a HikVision bullet carmera (d...
by Paranoid
Thu Apr 12, 2018 8:19 pm
Forum: ZoneMinder 1.30.x
Topic: IP Camera stops working regularly
Replies: 5
Views: 2079

Re: IP Camera stops working regularly

If it is a WiFi camera then see this thread: viewtopic.php?f=36&t=27130
by Paranoid
Wed Apr 11, 2018 7:56 pm
Forum: ZoneMinder 1.30.x
Topic: IPCam Signal "Dies"
Replies: 8
Views: 2756

Re: IPCam Signal "Dies"

I think its a wifi issue. The camera loses its wifi connection long enough for it to close the stream to zoneminder. Because the wifi is down zoneminder is never told about this and sits there just waiting for data on what it thinks is a good connection. If you are unable to improve the wifi connect...