Search found 38 matches

by torkilt
Sun Aug 27, 2023 8:54 am
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Re: Can't run query INSERT INTO `Logs` - Running in read-only mode

From /var/log/mariadb/mariadb.log: 2023-08-27 10:43:52 0 [ERROR] mariadbd: Can't create/write to file '/run/mariadb/mariadb.pid' (Errcode: 2 "No such file or directory") 2023-08-27 10:43:52 0 [ERROR] Can't start server: can't create PID file: No such file or directory Found this rather anc...
by torkilt
Sun Aug 27, 2023 8:46 am
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Re: Can't run query INSERT INTO `Logs` - Running in read-only mode

Stopped working again *grrr* Mariadb is only showing this: Aug 27 10:43:51 zm mariadb-check-socket[3993]: Socket file /var/lib/mysql/mysql.sock exists. Aug 27 10:43:51 zm mariadb-check-socket[3993]: No process is using /var/lib/mysql/mysql.sock, which means it is a garbage, so it will be removed aut...
by torkilt
Mon Aug 07, 2023 8:45 am
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Re: Can't run query INSERT INTO `Logs` - Running in read-only mode

Magic919 wrote: Mon Aug 07, 2023 8:41 am I expect a DB restart would have cleared it. Hopefully your changes will prevent it happening again.
I expected so as well but it did not. Fingers crossed.
by torkilt
Mon Aug 07, 2023 7:10 am
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Re: Can't run query INSERT INTO `Logs` - Running in read-only mode

I added the following[1] while mucking around and that may have fixed it: innodb_buffer_pool_size = 2G innodb_buffer_pool_instances = 2 innodb_log_buffer_size = 32M innodb_log_file_size = 512M innodb_open_files = 5000 table_open_cache = 1000 net_read_timeout = 60 net_write_timeout = 120 connect_time...
by torkilt
Mon Aug 07, 2023 6:17 am
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Re: Can't run query INSERT INTO `Logs` - Running in read-only mode

Code: Select all

Aug 07 08:13:01 zm zmpkg.pl[21346]: DBD::mysql::st execute failed: Running in read-only mode at /usr/share/perl5/vendor_perl/ZoneMinder/Logger.pm line 627.
by torkilt
Sat Aug 05, 2023 5:09 pm
Forum: ZoneMinder 1.36.x
Topic: Can't run query INSERT INTO `Logs` - Running in read-only mode
Replies: 7
Views: 5262

Can't run query INSERT INTO `Logs` - Running in read-only mode

Hi Suddenlyy started seeing these and zoneminder doesn't work. ... Aug 05 19:02:44 zm zmc_m5[2520]: ERR [zmc_m5] [Can't run query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1691254964.920227, 'zmc_m5', 0, 2597, 0, 'INF', 'Dri...
by torkilt
Thu Jun 29, 2023 9:50 am
Forum: Mobile Apps and Event Server
Topic: ValueError: Tensor data is null. Run allocate_tensors() first
Replies: 0
Views: 11068

ValueError: Tensor data is null. Run allocate_tensors() first

Mlapi works fine otherwise but I can't get the TPU to work on CentOS Stream 9: Jun 29 2023 11:40:30.367815 [DBG 2] Got pyzm_uid0_tpu_lock portalock Jun 29 2023 11:40:30.367875 [DBG 1] |---------- TPU (input image: 800w*600h) ----------| Jun 29 2023 11:40:30.368200 [DBG 2] Released portalock pyzm_uid...
by torkilt
Fri Aug 07, 2020 8:08 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Segfaults in zoneminder-1.35.5-1.167.20200724gitg859428db5
Replies: 4
Views: 1672

Re: Segfaults in zoneminder-1.35.5-1.167.20200724gitg859428db5

Thanks.

I did of course check for a new version before posting, I should have made that clear 🙂

Mvh.

Torkil
by torkilt
Fri Aug 07, 2020 5:57 am
Forum: ZoneMinder 1.35.x Development Branch
Topic: Segfaults in zoneminder-1.35.5-1.167.20200724gitg859428db5
Replies: 4
Views: 1672

Segfaults in zoneminder-1.35.5-1.167.20200724gitg859428db5

After last upgrade all my monitors seem to segfault. Here's an example: Aug 07 07:50:03 zm zma_m8[10531]: ERR [zma_m8] [Got signal 11 (Segmentation fault), crashing] Aug 07 07:50:03 zm zma_m8[10531]: ERR [zma_m8] [Signal address is (nil), from 0x7fb1856d9ccf] Aug 07 07:50:03 zm zma_m8[10531]: ERR [z...
by torkilt
Sun Feb 16, 2020 2:12 pm
Forum: ZoneMinder 1.34.x
Topic: Moving events with filter between storages doesn't quite work
Replies: 7
Views: 6044

Re: Moving events with filter between storages doesn't quite work

iconnor wrote: Tue Feb 11, 2020 2:44 pm Go to Options -> System -> RUN_AUDIT. UNcheck it, click save, restart zoneminder.
No more problems since I disabled audit.

Mvh.

Torkil
by torkilt
Tue Feb 11, 2020 7:20 am
Forum: ZoneMinder 1.34.x
Topic: Moving events with filter between storages doesn't quite work
Replies: 7
Views: 6044

Re: Moving events with filter between storages doesn't quite work

torkilt wrote: Tue Feb 11, 2020 6:58 am
iconnor wrote: Mon Feb 10, 2020 5:30 pm I think zmupdate.pl is doing something bad. Turn it off.
I'm not sure I understand this. I can't find anything about zmupdate.pl in the settings and I believed it was a script that was run manually when upgrading?
Speaking of which, I'm holding back on updating to 1.34.2.

Mvh.

Torkil
by torkilt
Tue Feb 11, 2020 6:58 am
Forum: ZoneMinder 1.34.x
Topic: Moving events with filter between storages doesn't quite work
Replies: 7
Views: 6044

Re: Moving events with filter between storages doesn't quite work

I think zmupdate.pl is doing something bad. Turn it off. I'm not sure I understand this. I can't find anything about zmupdate.pl in the settings and I believed it was a script that was run manually when upgrading? I will have to figure out what it is doing. I'll be happy to provide debug informatio...
by torkilt
Mon Feb 10, 2020 9:23 am
Forum: ZoneMinder 1.34.x
Topic: Moving events with filter between storages doesn't quite work
Replies: 7
Views: 6044

Re: Moving events with filter between storages doesn't quite work

The actual files are here, on the slow storage: [root@zm zoneminder]# find /zoneminder | grep 37919 /zoneminder/4/2020-02-07/37919 /zoneminder/4/2020-02-07/37919/00001-capture.jpg /zoneminder/4/2020-02-07/37919/snapshot.jpg /zoneminder/4/2020-02-07/37919/objects.json /zoneminder/4/2020-02-07/37919/a...
by torkilt
Mon Feb 10, 2020 7:56 am
Forum: ZoneMinder 1.34.x
Topic: Moving events with filter between storages doesn't quite work
Replies: 7
Views: 6044

Moving events with filter between storages doesn't quite work

Hi Running 1.34.1. I set up a filter to move events from fast storage to slower, compressed storage when the former is near capacity. It seems to work, but I can't play back events after they are moved and something seems to be wrong with the dates also: Screenshot from 2020-02-10 08-52-12.png The r...