For all OpenSuse user

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
giosi
Posts: 6
Joined: Thu Sep 28, 2017 6:10 pm

For all OpenSuse user

Post by giosi »

Hi everybody.
My system is opensuse Leap 42.3 following this guide
https://wiki.zoneminder.com/Installing_ ... s_for_SuSE
My problem is that I can not see streaming video.

Code: Select all

getStreamCmdResponse stream error: Socket 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()
I tried to point the VLC video player directly to the camera's address
rtsp://admin:admin@ipaddress:554/11
and everything works fine thus I guess it's not due to lack of ffmpeg.
Note: the same ipcamera on Debian 9.1 distro works fine thus I guess it's no ipcamera problem.
I am try on OpenSuse 13.2, Leap 42.2 but always the same trouble.
I am going crazy
Can you help me step by step what I do ?
Thanks a lot
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: For all OpenSuse user

Post by Baylink »

Find the error_log file for Apache -- usually in something like

/var/log/apache or /var/log/httpd

and see what it says when you try to open a camera viewer.

The #1 problem with this is that Apache, ZM's PATHS config, and the filesystem don't all agree on where nph-zms lives.
giosi
Posts: 6
Joined: Thu Sep 28, 2017 6:10 pm

Re: For all OpenSuse user

Post by giosi »

Hi Baylink,
thanks for reply.
This is my apache2 error_log

Code: Select all

Fri Sep 29 12:49:03.472565 2017] [:notice] [pid 1609] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Sep 29 12:49:03.515432 2017] [:notice] [pid 1609] mod_python: using mutex_directory /tmp
[Fri Sep 29 12:49:03.750062 2017] [mpm_prefork:notice] [pid 1609] AH00163: Apache/2.4.23 (Linux/SUSE) mod_python/3.5.0- Python/2.7.13 mod_perl/2.0.9 Perl/v5.18.2 configured -- resuming normal operations
[Fri Sep 29 12:49:03.750091 2017] [core:notice] [pid 1609] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C $
[Fri Sep 29 12:55:51.466006 2017] [php5:error] [pid 2921] [client 192.168.1.101:48748] PHP Notice:  Undefined variable: remSocketFile in /srv/www/htdocs/zm/ajax/stream.php on line 55, referer: http://192.16$
[Fri Sep 29 12:55:51.503191 2017] [php5:error] [pid 2921] [client 192.168.1.101:48748] ERR [Socket  does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms $
[Fri Sep 29 12:56:03.530049 2017] [php5:error] [pid 2921] [client 192.168.1.101:48748] PHP Notice:  Undefined variable: remSocketFile in /srv/www/htdocs/zm/ajax/stream.php on line 55, referer: http://192.16$
[Fri Sep 29 12:56:03.629809 2017] [php5:error] [pid 2921] [client 192.168.1.101:48748] ERR [Socket  does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms $
[Fri Sep 29 12:56:15.658918 2017] [php5:error] [pid 2937] [client 192.168.1.101:48752] PHP Notice:  Undefined variable: remSocketFile in /srv/www/htdocs/zm/ajax/stream.php on line 55, referer: http://192.16$
[Fri Sep 29 12:56:15.689852 2017] [php5:error] [pid 2937] [client 192.168.1.101:48752] ERR [Socket  does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms $
[Fri Sep 29 12:56:27.720865 2017] [php5:error] [pid 1697] [client 192.168.1.101:48760] PHP Notice:  Undefined variable: remSocketFile in /srv/www/htdocs/zm/ajax/stream.php on line 55, referer: http://192.16$
[Fri Sep 29 12:56:27.751438 2017] [php5:error] [pid 1697] [client 192.168.1.101:48760] ERR [Socket  does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms $
[Fri Sep 29 12:56:53.661001 2017] [php5:error] [pid 1701] [client 192.168.1.101:48764] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 38 bytes) in /srv/www/htdocs/zm/i$
And this is my zm log

Code: Select all

2017-09-29 13:02:47.314807 zmc_m1[3256].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 13:00:55.424918 zmc_m1[3256].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 13:00:55.352927 zmc_m1[3256].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 13:00:55.115790 zmdc[3256].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 13:00:55]
2017-09-29 13:00:55.115780 zmdc[2688].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 13:00:55, pid = 3256]
2017-09-29 13:00:55.064320 zmdc[2688].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 13:00:35.990320 zmdc[2688].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 13:00:35.956407 zmc_m1[3032].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:58:38.201899 zmc_m1[3032].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:58:38.182194 zmc_m1[3032].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:58:38.078410 zmdc[3032].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:58:38]
2017-09-29 12:58:38.078240 zmdc[2688].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:58:38, pid = 3032]
2017-09-29 12:58:38.037730 zmdc[2688].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:58:28.286660 zmdc[2688].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:58:28.247506 zmc_m1[2987].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:56:53.725532 web_js[2935].ERR-?view=log [Export request failed: 500 / Internal Server Error - exportFail()]
2017-09-29 12:56:27.720982 web_php[1697].ERR-zm/includes/functions.php/2031 [Socket  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.]
2017-09-29 12:56:22.233994 zmc_m1[2987].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:56:22.202163 zmc_m1[2987].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:56:22.102540 zmdc[2987].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:56:22]
2017-09-29 12:56:22.102520 zmdc[2688].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:56:22, pid = 2987]
2017-09-29 12:56:22.069060 zmdc[2688].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:56:17.336690 zmdc[2688].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:56:17.309252 zmc_m1[2728].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:56:16.227354 zms[2982].ERR-zm_monitor.cpp/4213 [Terminating, last frame sent time 1506682575.727169 secs more than maximum of 10.000000]
2017-09-29 12:56:15.713563 web_js[2937].ERR-?view=watch [getStreamCmdResponse stream error: Socket  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()]
2017-09-29 12:56:15.659047 web_php[2937].ERR-zm/includes/functions.php/2031 [Socket  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.]
2017-09-29 12:56:04.164511 zms[2971].ERR-zm_monitor.cpp/4213 [Terminating, last frame sent time 1506682563.664306 secs more than maximum of 10.000000]
2017-09-29 12:56:03.653203 web_js[2937].ERR-?view=watch [getStreamCmdResponse stream error: Socket  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()]
2017-09-29 12:56:03.530157 web_php[2921].ERR-zm/includes/functions.php/2031 [Socket  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.]
2017-09-29 12:55:52.044735 zms[2958].ERR-zm_monitor.cpp/4213 [Terminating, last frame sent time 1506682551.544544 secs more than maximum of 10.000000]
2017-09-29 12:55:51.532372 web_js[2921].ERR-?view=watch [getStreamCmdResponse stream error: Socket  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()]
2017-09-29 12:55:51.466159 web_php[2921].ERR-zm/includes/functions.php/2031 [Socket  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.]
2017-09-29 12:55:42.906763 zms[2951].ERR-zm_monitor.cpp/4213 [Terminating, last frame sent time 1506682542.406672 secs more than maximum of 10.000000]
2017-09-29 12:54:06.532030 zmdc[2785].INF-zmdc.pl ['zmtelemetry.pl' started at 17/09/29 12:54:06]
2017-09-29 12:54:06.531710 zmdc[2688].INF-zmdc.pl ['zmtelemetry.pl' starting at 17/09/29 12:54:06, pid = 2785]
2017-09-29 12:54:06.306530 zmwatch[2760].INF-zmwatch.pl [Watchdog pausing for 30 seconds]
2017-09-29 12:54:06.054000 zmdc[2773].INF-zmdc.pl ['zmupdate.pl -c' started at 17/09/29 12:54:06]
2017-09-29 12:54:06.054000 zmdc[2688].INF-zmdc.pl ['zmupdate.pl -c' starting at 17/09/29 12:54:06, pid = 2773]
2017-09-29 12:54:06.011930 zmwatch[2760].INF-zmwatch.pl [Watchdog starting]
2017-09-29 12:54:05.807150 zmdc[2760].INF-zmdc.pl ['zmwatch.pl' started at 17/09/29 12:54:05]
2017-09-29 12:54:05.807150 zmdc[2688].INF-zmdc.pl ['zmwatch.pl' starting at 17/09/29 12:54:05, pid = 2760]
2017-09-29 12:54:05.652580 zmfilter[2732].INF-zmfilter.pl [Scanning for events]
2017-09-29 12:54:05.607480 zmdc[2688].INF-zmdc.pl ['zmaudit.pl -c' starting at 17/09/29 12:54:05, pid = 2745]
2017-09-29 12:54:05.607480 zmdc[2745].INF-zmdc.pl ['zmaudit.pl -c' started at 17/09/29 12:54:05]
2017-09-29 12:54:05.471131 zmc_m1[2728].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:54:05.420317 zmc_m1[2728].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:54:05.384180 zmdc[2732].INF-zmdc.pl ['zmfilter.pl' started at 17/09/29 12:54:05]
2017-09-29 12:54:05.384170 zmdc[2688].INF-zmdc.pl ['zmfilter.pl' starting at 17/09/29 12:54:05, pid = 2732]
2017-09-29 12:54:05.330140 zmdc[2688].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:54:05, pid = 2728]
2017-09-29 12:54:05.330060 zmdc[2728].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:54:05]
2017-09-29 12:54:05.303450 zmdc[2688].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:54:05.263450 zmdc[2688].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:54:05.189500 zmdc[2688].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:54:05, pid = 2718]
2017-09-29 12:54:05.189330 zmdc[2718].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:54:05]
2017-09-29 12:54:05.013940 zmpkg[2630].INF-zmpkg.pl [Single server configuration detected. Starting up services.]
2017-09-29 12:54:02.008310 zmdc[2688].INF-zmdc.pl [Server starting at 17/09/29 12:54:02]
2017-09-29 12:54:01.559890 zmpkg[2630].INF-zmpkg.pl [Command: start]
2017-09-29 12:54:01.529350 zmpkg[2630].INF-zmpkg.pl [Sanity checking States table...]
2017-09-29 12:54:01.297260 zmdc[1861].INF-zmdc.pl [Server shutdown at 17/09/29 12:54:01]
2017-09-29 12:53:51.117980 zmdc[1861].INF-zmdc.pl ['zmc -m 1' crashed, signal 8]
2017-09-29 12:53:51.032500 zmdc[1861].WAR-zmdc.pl ['zmc -m 1' has not stopped at 17/09/29 12:53:51. Sending KILL to pid 2568]
2017-09-29 12:53:45.999870 zmdc[1861].INF-zmdc.pl ['zmupdate.pl -c' exited, signal 14]
2017-09-29 12:53:45.964470 zmdc[1861].INF-zmdc.pl ['zmtelemetry.pl' exited, signal 14]
2017-09-29 12:53:45.914270 zmdc[1861].INF-zmdc.pl ['zmupdate.pl -c' sending stop to pid 1948 at 17/09/29 12:53:45]
2017-09-29 12:53:45.805349 zmc_m1[2568].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
2017-09-29 12:53:45.805320 zmdc[1861].INF-zmdc.pl ['zmtelemetry.pl' sending stop to pid 1958 at 17/09/29 12:53:45]
2017-09-29 12:53:45.771710 zmdc[1861].INF-zmdc.pl ['zmwatch.pl' exited, signal 14]
2017-09-29 12:53:45.746470 zmdc[1861].INF-zmdc.pl ['zmc -m 1' sending stop to pid 2568 at 17/09/29 12:53:45]
2017-09-29 12:53:45.721270 zmdc[1861].INF-zmdc.pl ['zmaudit.pl -c' exited, signal 14]
2017-09-29 12:53:45.696050 zmdc[1861].INF-zmdc.pl ['zmwatch.pl' sending stop to pid 1932 at 17/09/29 12:53:45]
2017-09-29 12:53:45.670790 zmdc[1861].INF-zmdc.pl ['zmfilter.pl' exited, signal 14]
2017-09-29 12:53:45.628840 zmdc[1861].INF-zmdc.pl ['zmaudit.pl -c' sending stop to pid 1919 at 17/09/29 12:53:45]
2017-09-29 12:53:45.571670 zmdc[1861].INF-zmdc.pl ['zmfilter.pl' sending stop to pid 1906 at 17/09/29 12:53:45]
2017-09-29 12:53:45.253760 zmpkg[2575].INF-zmpkg.pl [Command: stop]
2017-09-29 12:53:45.225040 zmpkg[2575].INF-zmpkg.pl [Sanity checking States table...]
2017-09-29 12:53:41.268697 zmc_m1[2568].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:53:41.237558 zmc_m1[2568].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:53:41.136870 zmdc[2568].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:53:41]
2017-09-29 12:53:41.136600 zmdc[1861].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:53:41, pid = 2568]
2017-09-29 12:53:41.091220 zmdc[1861].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:53:31.038790 zmdc[1861].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:53:30.991637 zmc_m1[2558].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:51:27.285020 zmc_m1[2558].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:51:27.248497 zmc_m1[2558].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:51:27.136690 zmdc[2558].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:51:27]
2017-09-29 12:51:27.136410 zmdc[1861].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:51:27, pid = 2558]
2017-09-29 12:51:27.094610 zmdc[1861].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:51:22.462330 zmdc[1861].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:51:22.413066 zmc_m1[2033].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:49:20.685964 zmc_m1[2033].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.203:554/12]
2017-09-29 12:49:20.624465 zmc_m1[2033].INF-zmc.cpp/250 [Starting Capture version 1.30.2]
2017-09-29 12:49:20.489900 zmdc[2033].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:49:20]
2017-09-29 12:49:20.489800 zmdc[1861].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:49:20, pid = 2033]
2017-09-29 12:49:20.420770 zmdc[1861].INF-zmdc.pl [Starting pending process, zmc -m 1]
2017-09-29 12:49:20.317860 zmdc[1861].ERR-zmdc.pl ['zmc -m 1' exited abnormally, exit status 255]
2017-09-29 12:49:19.305170 zmupdate[1948].INF-zmupdate.pl [Got version: '1.30.0']
2017-09-29 12:49:16.915220 zmupdate[1948].INF-zmupdate.pl [Checking for updates]
2017-09-29 12:49:15.748180 zmfilter[1906].INF-zmfilter.pl [Scanning for events]
2017-09-29 12:49:15.623890 zmdc[1958].INF-zmdc.pl ['zmtelemetry.pl' started at 17/09/29 12:49:15]
2017-09-29 12:49:15.623810 zmdc[1861].INF-zmdc.pl ['zmtelemetry.pl' starting at 17/09/29 12:49:15, pid = 1958]
2017-09-29 12:49:15.088480 zmwatch[1932].INF-zmwatch.pl [Watchdog pausing for 30 seconds]
2017-09-29 12:49:14.587680 zmdc[1861].INF-zmdc.pl ['zmupdate.pl -c' starting at 17/09/29 12:49:14, pid = 1948]
2017-09-29 12:49:14.587680 zmdc[1948].INF-zmdc.pl ['zmupdate.pl -c' started at 17/09/29 12:49:14]
2017-09-29 12:49:14.574200 zmwatch[1932].INF-zmwatch.pl [Watchdog starting]
2017-09-29 12:49:14.329640 zmdc[1932].INF-zmdc.pl ['zmwatch.pl' started at 17/09/29 12:49:14]
2017-09-29 12:49:14.329580 zmdc[1861].INF-zmdc.pl ['zmwatch.pl' starting at 17/09/29 12:49:14, pid = 1932]
2017-09-29 12:49:12.975040 zmdc[1919].INF-zmdc.pl ['zmaudit.pl -c' started at 17/09/29 12:49:12]
2017-09-29 12:49:12.974820 zmdc[1861].INF-zmdc.pl ['zmaudit.pl -c' starting at 17/09/29 12:49:12, pid = 1919]
2017-09-29 12:49:12.112320 zmdc[1906].INF-zmdc.pl ['zmfilter.pl' started at 17/09/29 12:49:12]
2017-09-29 12:49:12.111940 zmdc[1861].INF-zmdc.pl ['zmfilter.pl' starting at 17/09/29 12:49:12, pid = 1906]
2017-09-29 12:49:11.825870 zmdc[1896].INF-zmdc.pl ['zmc -m 1' started at 17/09/29 12:49:11]
2017-09-29 12:49:11.825660 zmdc[1861].INF-zmdc.pl ['zmc -m 1' starting at 17/09/29 12:49:11, pid = 1896]
2017-09-29 12:49:11.554010 zmpkg[1659].INF-zmpkg.pl [Single server configuration detected. Starting up services.]
2017-09-29 12:49:08.549410 zmdc[1861].INF-zmdc.pl [Server starting at 17/09/29 12:49:08]
2017-09-29 12:49:05.648700 zmpkg[1659].INF-zmpkg.pl [Command: start]
2017-09-29 12:49:05.211340 zmpkg[1659].INF-zmpkg.pl [Sanity checking States table...]
Please note sometimes also this error appears

Code: Select all

Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
This is strange because with VLC I am able to watch video streaming. Does VLC use the same codec?
What do you mean ?
The #1 problem with this is that Apache, ZM's PATHS config, and the filesystem don't all agree on where nph-zms lives.

Can you explain better where I check or where I wrong?
I love OpenSuse and I don't want change my best distro linux for my survillance server
Thanks in advance
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: For all OpenSuse user

Post by knight-of-ni »

This is important and should be fixed first:

Code: Select all

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 38 bytes) in /srv/www/htdocs/zm/i$
The memory_limit parm in your php.ini is set too low.
For reference, mine is set to 1024M, but I do a lot of other stuff in addition to zoneminder so yours doesn't need to be that high.

Regarding this error:

Code: Select all

2017-09-29 12:58:28.247506 zmc_m1[2987].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.203:554/12]
If this happens consistently, this means the particular version of ffmpeg on your system does not understand the incoming stream. Even though it is likely an h264 stream, manufacturers use lots of different codecs which make the stream unique.... so much for standards. ;-)

The two ways I can think of to address this are:
- use a different library. In your case, that means switching to the libvlc source type
- get a new version of ffmpeg installed (Not as easy as it sounds because it may require you to rebuild zoneminder against this newer ffmpeg)

The OpenSuse documentation and packages in our wiki are maintined by a user named monex. I always prefer to get him involved with OpenSuse related issues, because my knowledge of this distro is limited.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
giosi
Posts: 6
Joined: Thu Sep 28, 2017 6:10 pm

Re: For all OpenSuse user

Post by giosi »

Hi knnniggett.
Your suggestions have solved the problem !!!
The first step I increased the memory allocation in php.ini, the second step was change to libvlc and all works fine!
Many many Thanks
Post Reply