New install - permission denied...
Posted: Wed Nov 27, 2019 9:39 pm
New install and I am getting "Unable to open input rtsp://a.b.c.d:554/11 due to: Permission denied".
I previously had Zoneminder working on a Centos 7 server, but after doing a routine (non-ZM) update (which I think included a kernel update), the server would no longer reboot properly (almost certainly unrelated to ZM), only to some recovery mode; I could not find a way to recover it. Coincidentally I also wanted to upgrade the hardware anyway (to add two more cameras) and had reached the performance limit.
So, new motherboard, faster processor and more memory, new install, I now get permission denied and no images.
I've tried to replicate the settings as closely as I had on my original install, but it seems that the hard disk on which I had ZM's daily settings backup also had failed on the original PC!
The new server is also Centos 7, and I have followed my notes as closely as possible to re-install (but inevitably it's a different Linux kernel and different ZM version as original so some differences along the way).
The fundamental issue seems to be: the zmc_m2 component reports an error in file zm_ffmpeg_camera.cpp:
Unable to open input rtsp://a.b.c.d:554/11 due to: Permission denied (a.b.c.d is the IP address of my camera).
I also have a laptop on the same network and with VLC, rtsp://a.b.c.d:554/11 displays the network stream as expected and I see my camera's output so there is clearly nothing wrong with the CCTV camera feed; I don't need to supply any user/password to VLC.
The only key difference I can think of between the original install and this one is that I am unable to get a GUI installation to work (my first install had either a KDE or Gnome GUI) so I've gone with a "minimal" command line only install for Centos (there seems to be some conflict between Centos and the new(second-hand) Gigabyte motherboard). It's just made it a bit harder for me as everything is over a command line rather than VNC or GUI direct, but I've learnt more and anyway a lot of Linux is just as easy on the command line. I am using my laptop to connect to the ZM server over http to view the ZM system and images (and since this is what I always previously did is fine by me - the server running Linux & ZM sat in the garage out of the way).
I did also have css and js WAR warnings (but they've dropped off the bottom of the log file right now). These are probably unrelated and require other resolution (but are not so important as getting the image to appear!).
I am 99% confident that my camera settings are identical to previously (I was able to refer back to a forum posting where I had a previous and different issue where I posted my settings). All I get on screen is the defined camera title at the top and play/stop/forward/backward etc. buttons at the bottom.
I'll be glad for any pointers to help resolve this. If there is any more information necessary to help then I can add in a subsequent post.
I previously had Zoneminder working on a Centos 7 server, but after doing a routine (non-ZM) update (which I think included a kernel update), the server would no longer reboot properly (almost certainly unrelated to ZM), only to some recovery mode; I could not find a way to recover it. Coincidentally I also wanted to upgrade the hardware anyway (to add two more cameras) and had reached the performance limit.
So, new motherboard, faster processor and more memory, new install, I now get permission denied and no images.
I've tried to replicate the settings as closely as I had on my original install, but it seems that the hard disk on which I had ZM's daily settings backup also had failed on the original PC!
The new server is also Centos 7, and I have followed my notes as closely as possible to re-install (but inevitably it's a different Linux kernel and different ZM version as original so some differences along the way).
The fundamental issue seems to be: the zmc_m2 component reports an error in file zm_ffmpeg_camera.cpp:
Unable to open input rtsp://a.b.c.d:554/11 due to: Permission denied (a.b.c.d is the IP address of my camera).
I also have a laptop on the same network and with VLC, rtsp://a.b.c.d:554/11 displays the network stream as expected and I see my camera's output so there is clearly nothing wrong with the CCTV camera feed; I don't need to supply any user/password to VLC.
The only key difference I can think of between the original install and this one is that I am unable to get a GUI installation to work (my first install had either a KDE or Gnome GUI) so I've gone with a "minimal" command line only install for Centos (there seems to be some conflict between Centos and the new(second-hand) Gigabyte motherboard). It's just made it a bit harder for me as everything is over a command line rather than VNC or GUI direct, but I've learnt more and anyway a lot of Linux is just as easy on the command line. I am using my laptop to connect to the ZM server over http to view the ZM system and images (and since this is what I always previously did is fine by me - the server running Linux & ZM sat in the garage out of the way).
I did also have css and js WAR warnings (but they've dropped off the bottom of the log file right now). These are probably unrelated and require other resolution (but are not so important as getting the image to appear!).
I am 99% confident that my camera settings are identical to previously (I was able to refer back to a forum posting where I had a previous and different issue where I posted my settings). All I get on screen is the defined camera title at the top and play/stop/forward/backward etc. buttons at the bottom.
I'll be glad for any pointers to help resolve this. If there is any more information necessary to help then I can add in a subsequent post.