Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zoneminder problems (possibly because of mariadb)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
esperto
Apprentice
Apprentice


Joined: 27 Dec 2004
Posts: 158
Location: Brazil

PostPosted: Sat Nov 10, 2018 2:39 pm    Post subject: Zoneminder problems (possibly because of mariadb) Reply with quote

Hi all,

I'm having issues with zoneminder once again, sometime ago it just stopped showing images recording, showing stills, everything, the log doesn't help much, indicates a issue with /dev/shm (see below), but I think it isn't.
I've already removed and re-emerged everything, drop the database and build it again, removed the cameras and configured again, pretty much everything short of formating and stating from zero, then I noticed that mariadb was not on the version that I left it last time, I had problems before with anything above 10.1.31-r1, so I masked versions above it, but 10.1.31-r1 was removed from portage and it automatically emerged version 10.0.35-r2. Is there anyway for me to get back version 10.1.31-r1 for testing? Does anyone experienced a similar issue?
Also, zoneminder in portage seems abandoned, there is only one version there (1.30.4) which was released back in May 2017, they are currently in version 1.32.2.


Code:

2018-11-10 12:11:40.113300 zmdc[24615].INF-zmdc.pl ['zma -m 1' crashed, signal 10]
2018-11-10 12:11:40.062070 zmdc[24811].INF-zmdc.pl ['zma -m 1' started at 18/11/10 12:11:40]
2018-11-10 12:11:40.062060 zmdc[24615].INF-zmdc.pl ['zma -m 1' starting at 18/11/10 12:11:40, pid = 24811]
2018-11-10 12:11:40.055300 zmdc[24615].INF-zmdc.pl [Starting pending process, zma -m 1]
2018-11-10 12:11:36.045990 zmdc[24615].INF-zmdc.pl ['zmc -m 1' crashed, signal 10]
2018-11-10 12:11:36.013630 zmdc[24802].INF-zmdc.pl ['zmc -m 1' started at 18/11/10 12:11:36]
2018-11-10 12:11:36.013620 zmdc[24615].INF-zmdc.pl ['zmc -m 1' starting at 18/11/10 12:11:36, pid = 24802]
2018-11-10 12:11:35.910180 zmwatch[24693].INF-zmwatch.pl [Restarting capture daemon for Camera Sala, shared data not valid]
2018-11-10 12:11:35.907670 zmwatch[24693].ERR-zmwatch.pl [Memory map file '/dev/shm/zm.mmap.1' does not exist.  zmc might not be running.]
2018-11-10 12:11:26.154056 web_php[23613].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-999508s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
2018-11-10 12:11:23.214857 zms[24779].INF-zm_signal.cpp/110 [addr2line -e /usr/libexec/zoneminder/cgi-bin/nph-zms 0x499411 0x7f24a6707300 0x7f24a31acea5 0x44dd89 0x49bf00 0x418187 0x7f24a3192bde 0x418f5a]
2018-11-10 12:11:23.213232 zms[24779].INF-zm_signal.cpp/109 [Backtrace complete, please execute the following command for more information]
2018-11-10 12:11:23.212420 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 7: /usr/libexec/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x418f5a]]
2018-11-10 12:11:23.210016 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 6: /lib64/libc.so.6(__libc_start_main+0xee) [0x7f24a3192bde]]
2018-11-10 12:11:23.209148 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 5: /usr/libexec/zoneminder/cgi-bin/nph-zms(main+0xbb7) [0x418187]]
2018-11-10 12:11:23.208279 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 4: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x30) [0x49bf00]]
2018-11-10 12:11:23.206987 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 3: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x69) [0x44dd89]]
2018-11-10 12:11:23.206211 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 2: /lib64/libc.so.6(+0x3bea5) [0x7f24a31acea5]]
2018-11-10 12:11:23.205574 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 1: /lib64/libpthread.so.0(+0x14300) [0x7f24a6707300]]
2018-11-10 12:11:23.204917 zms[24779].ERR-zm_signal.cpp/102 [Backtrace 0: /usr/libexec/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x71) [0x499411]]
2018-11-10 12:11:23.203243 zms[24779].ERR-zm_signal.cpp/81 [Signal address is (nil), from 0x7f24a31acea5]
2018-11-10 12:11:23.201780 zms[24779].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
2018-11-10 12:11:23.153278 web_js[23613].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-999508s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()]
2018-11-10 12:11:23.127810 web_php[23613].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-999508s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
2018-11-10 12:11:20.921976 zms[24773].INF-zm_signal.cpp/110 [addr2line -e /usr/libexec/zoneminder/cgi-bin/nph-zms 0x499411 0x7f59caea8300 0x7f59c794dea5 0x44dd89 0x49bf00 0x418187 0x7f59c7933bde 0x418f5a]
2018-11-10 12:11:20.921174 zms[24773].INF-zm_signal.cpp/109 [Backtrace complete, please execute the following command for more information]
2018-11-10 12:11:20.919510 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 7: /usr/libexec/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x418f5a]]
2018-11-10 12:11:20.918740 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 6: /lib64/libc.so.6(__libc_start_main+0xee) [0x7f59c7933bde]]
2018-11-10 12:11:20.917988 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 5: /usr/libexec/zoneminder/cgi-bin/nph-zms(main+0xbb7) [0x418187]]
2018-11-10 12:11:20.916474 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 4: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x30) [0x49bf00]]
2018-11-10 12:11:20.915577 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 3: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x69) [0x44dd89]]
2018-11-10 12:11:20.912596 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 2: /lib64/libc.so.6(+0x3bea5) [0x7f59c794dea5]]
2018-11-10 12:11:20.911669 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 1: /lib64/libpthread.so.0(+0x14300) [0x7f59caea8300]]
2018-11-10 12:11:20.909954 zms[24773].ERR-zm_signal.cpp/102 [Backtrace 0: /usr/libexec/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x71) [0x499411]]
2018-11-10 12:11:20.909007 zms[24773].ERR-zm_signal.cpp/81 [Signal address is (nil), from 0x7f59c794dea5]
2018-11-10 12:11:20.907669 zms[24773].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
2018-11-10 12:11:20.128290 zmdc[24615].INF-zmdc.pl ['zmc -m 1' crashed, signal 10]
2018-11-10 12:11:20.126590 zmdc[24615].INF-zmdc.pl ['zma -m 1' crashed, signal 10]
2018-11-10 12:11:20.083330 zmdc[24765].INF-zmdc.pl ['zmc -m 1' started at 18/11/10 12:11:20]
2018-11-10 12:11:20.083330 zmdc[24615].INF-zmdc.pl ['zmc -m 1' starting at 18/11/10 12:11:20, pid = 24765]
2018-11-10 12:11:20.079780 zmdc[24615].INF-zmdc.pl [Starting pending process, zmc -m 1]
2018-11-10 12:11:20.077280 zmdc[24762].INF-zmdc.pl ['zma -m 1' started at 18/11/10 12:11:20]
2018-11-10 12:11:20.077270 zmdc[24615].INF-zmdc.pl ['zma -m 1' starting at 18/11/10 12:11:20, pid = 24762]
2018-11-10 12:11:20.073870 zmdc[24615].INF-zmdc.pl [Starting pending process, zma -m 1]
2018-11-10 12:11:19.148714 zms[24757].INF-zm_signal.cpp/110 [addr2line -e /usr/libexec/zoneminder/cgi-bin/nph-zms 0x499411 0x7f7b40164300 0x7f7b3cc09ea5 0x44dd89 0x49bf00 0x418187 0x7f7b3cbefbde 0x418f5a]
2018-11-10 12:11:19.146872 zms[24757].INF-zm_signal.cpp/109 [Backtrace complete, please execute the following command for more information]
2018-11-10 12:11:19.145990 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 7: /usr/libexec/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x418f5a]]
2018-11-10 12:11:19.145143 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 6: /lib64/libc.so.6(__libc_start_main+0xee) [0x7f7b3cbefbde]]
2018-11-10 12:11:19.143433 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 5: /usr/libexec/zoneminder/cgi-bin/nph-zms(main+0xbb7) [0x418187]]
2018-11-10 12:11:19.142547 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 4: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x30) [0x49bf00]]
2018-11-10 12:11:19.141648 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 3: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x69) [0x44dd89]]
2018-11-10 12:11:19.140107 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 2: /lib64/libc.so.6(+0x3bea5) [0x7f7b3cc09ea5]]
2018-11-10 12:11:19.139359 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 1: /lib64/libpthread.so.0(+0x14300) [0x7f7b40164300]]
2018-11-10 12:11:19.138624 zms[24757].ERR-zm_signal.cpp/102 [Backtrace 0: /usr/libexec/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x71) [0x499411]]
2018-11-10 12:11:19.136910 zms[24757].ERR-zm_signal.cpp/81 [Signal address is (nil), from 0x7f7b3cc09ea5]
2018-11-10 12:11:19.135347 zms[24757].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]
2018-11-10 12:11:19.088341 web_js[23614].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-009414s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()]
2018-11-10 12:11:19.059096 web_php[23614].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-009414s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
2018-11-10 12:11:16.821987 zms[24751].INF-zm_signal.cpp/110 [addr2line -e /usr/libexec/zoneminder/cgi-bin/nph-zms 0x499411 0x7f559a489300 0x7f5596f2eea5 0x44dd89 0x49bf00 0x418187 0x7f5596f14bde 0x418f5a]
2018-11-10 12:11:16.820157 zms[24751].INF-zm_signal.cpp/109 [Backtrace complete, please execute the following command for more information]
2018-11-10 12:11:16.819119 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 7: /usr/libexec/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x418f5a]]
2018-11-10 12:11:16.818083 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 6: /lib64/libc.so.6(__libc_start_main+0xee) [0x7f5596f14bde]]
2018-11-10 12:11:16.816106 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 5: /usr/libexec/zoneminder/cgi-bin/nph-zms(main+0xbb7) [0x418187]]
2018-11-10 12:11:16.815243 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 4: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x30) [0x49bf00]]
2018-11-10 12:11:16.814499 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 3: /usr/libexec/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x69) [0x44dd89]]
2018-11-10 12:11:16.813106 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 2: /lib64/libc.so.6(+0x3bea5) [0x7f5596f2eea5]]
2018-11-10 12:11:16.812243 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 1: /lib64/libpthread.so.0(+0x14300) [0x7f559a489300]]
2018-11-10 12:11:16.809237 zms[24751].ERR-zm_signal.cpp/102 [Backtrace 0: /usr/libexec/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x71) [0x499411]]
2018-11-10 12:11:16.808400 zms[24751].ERR-zm_signal.cpp/81 [Signal address is (nil), from 0x7f5596f2eea5]
2018-11-10 12:11:16.807005 zms[24751].ERR-zm_signal.cpp/50 [Got signal 11 (Segmentation fault), crashing]


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
nasci pelado, careca e sem dente, o que vier é lucro
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 312
Location: Caucasia

PostPosted: Thu Nov 15, 2018 8:26 pm    Post subject: Reply with quote

You might get better results by posting on the zoneminder fora (I have, and there are other gentoo users there). There were some database breakages in 1.32.? IIRC that I read about in the forum.

Here's an ebuild you might find useful that I modified from another I found here in the forums:

https://paste.pound-python.org/show/4wwHBgTk1tjoV2R5CIas/

This will build from git. I've used it for several upgrades so far (I'm on 1.31.1, and came from 1.28.?).
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum