No RTSP after bionic/lamp/zoneminder install

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

No RTSP after bionic/lamp/zoneminder install

Post by halbatron21 »

Code: Select all

System:    Host: skookum Kernel: 4.15.0-38-generic x86_64 bits: 64 Console: tty 0 Distro: Ubuntu 18.04.1 LTS
Machine:   Device: desktop System: Dell product: Inspiron 620 v: 00 serial: N/A
           Mobo: Dell model: 0GDG8Y v: A00 serial: N/A BIOS: Dell v: A04 date: 11/21/2011
CPU:       Dual core Intel Core i3-2120 (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 3300 MHz 1: 1596 MHz 2: 1596 MHz 3: 1596 MHz 4: 1596 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Display Server: N/A driver: i915 tty size: 158x63 Advanced Data: N/A out of X
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: d0:67:e5:2c:73:30
Drives:    HDD Total Size: 2000.4GB (0.4% used)
           ID-1: /dev/sda model: Hitachi_HUA72302 size: 2000.4GB
Partition: ID-1: / size: 1.8T used: 7.6G (1%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 26.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 162 Uptime: 32 min Memory: 827.6/7889.6MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.3.56
Fresh install of Bionic/LAMP/Zoneminder
error in syslog "no RTSP sources Found", also when using a2enmod cgi, at first it said no cgi conf found, now it says its enabled, but rtsp will not work.
http works and the rtsp feeds work in vlc.

i know inxi says its Desktop, but its ubuntu Server 18.04
Zoneminder 132.2

also found this in apache2 error log

Code: Select all

[php7:notice] [pid 1721] [client 192.168.0.32:47192] PHP Notice:  Undefined index: Type in /usr/share/zoneminder/www/includes/actions.php on line 620, referer: http://192.168.0.38/zm/index.php
Name "ZoneMinder::ONVIF::verbose" used only once: possible typo at /usr/bin/zmonvif-probe.pl line 81
More info, on monitor screen I get this message:
Broadcast Message for journald@xxxxxx (Mon 2018-11-12 22:46:33 PST) zmc 5122: WAR zmc_m5 Sequence in probation 2, out of sequence

Thanks to this info, https://zoneminder.readthedocs.io/en/la ... tml#remote I worked around it, instead of setting remote method to rtsp, set it to ffmpeg now it works, not a fix but at least its working.
Last edited by halbatron21 on Wed Nov 14, 2018 2:51 am, edited 1 time in total.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: No RTSP after bionic/lamp/zoneminder install

Post by bbunge »

Just did a fresh install of ZM 1.32.2 on Bionic. Did a test add of an old Linksys cam with rtsp and it worked.
Used this to install: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: No RTSP after bionic/lamp/zoneminder install

Post by halbatron21 »

yep same one I used.
To be fair the rtsp feeds are being used on 130.4 32 bit server. I decided it was time to upgrade to a 64 bit server, The rtsp feeds have been working for years on the 130.4 server.
on the new server, everything else works fine montage, cycle, montage review, options, logs, http based feeds work fine, its just the rtsp feeds that will not work.
User avatar
Hans73
Posts: 6
Joined: Wed Jul 18, 2018 12:04 pm
Location: Germany

Re: No RTSP after bionic/lamp/zoneminder install

Post by Hans73 »

halbatron21 wrote: Tue Nov 13, 2018 11:18 pm yep same one I used.
To be fair the rtsp feeds are being used on 130.4 32 bit server. I decided it was time to upgrade to a 64 bit server, The rtsp feeds have been working for years on the 130.4 server.
on the new server, everything else works fine montage, cycle, montage review, options, logs, http based feeds work fine, its just the rtsp feeds that will not work.
I experience the same issue trying to user RTSP on the new Installation (Ubuntu x64 18.04 Server / Lamp / Zoneminder 1.32). Also on the previous x86 Installation (Ubuntu Desktop 16.04) every cam worked with RTSP

On some newer cameras this works instead (Model IED-62F0026P0A):
Source Type: FFMPEG
Source Path: rtsp://USERNAME:PASSWORD@<IPADDRESS>:554/media/1/1/Profile1
Method: TCP
Options: /media/1/1

On some older cameras i use this work-around:
Source Type: Remote
Protocol: HTTP
Method: Simple
Hostname: USERNAME:PASSWORD@<IPADDRESS>
Port: 80
Path: /GetData.cgi?CH=1

...OR...

Source Type: Ffmpg
Source Path: rtsp://<IPADDRESS>:554/v1
Method: TCP
Dont drink and root ... :lol:
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: No RTSP after bionic/lamp/zoneminder install

Post by rockedge »

I think the "Remote" method to stream RTSP is being abandoned, though I have been able to still use it on some cameras. The "FFMPEG" method is working well for me using FOSCAM R2C cameras and rtsp
the example using a FOSCAM R2C set for low res (add your info):

General (tab)
Source Type = Ffmeg

Source (tab)
Source Path = rtsp://admin:passwd@192.168..0.19:88/videoMain
Method = TCP
Target colorspace = 32 bit
Capture Width = 320
Caputre Height = 240
Post Reply