Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Motion not showing web page, nor captured videos (MrDave) ---------------------------------------------------------------------- Message: 1 Date: Tue, 29 Aug 2023 14:38:30 -0600 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion not showing web page, nor captured videos Message-ID: <ce52f128-5dc2-69ab-dd55-76340d925...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Here are my suggestions..... Sounds like you have two instances running.? First disable the systemctl and also validate that the old service isn't running either. e.g.? sudo systemctl stop motion , sudo systemctl disable motion. Then restart and validate it isn't running. Next start Motion from the command line and review the log and validate that you see the log message "started mhd" (or something similar).? It will also log what port it is starting upon. Only after getting it to start from the command prompt, go back to starting it with systemctl.? Then check the log messages of it and where it is getting the configuration files (and validate that is where you thought they were). Put into the configuration to output to a log file and then review the log created using the systemctl and validate the messages regarding starting MHD. And finally, validate the webcontrol local host configuration option is specified to allow remote connections.? It is best to turn the log messages level to "7" and then review the parameters printed in the log (since those are positively what is being used). Dave On 8/29/2023 1:55 PM, Ian Smith wrote: > Many thanks for the help. > > After a few hours of it partially working, now the webcontrol page on > 8080 isn't working, and none of the camera pages are now working, > despite yesterday, the camera ports all worked - so it isn't related > to ports being open or closed, or else it wouldn't have worked > yesterday, before not working! > > Any clues would be appreciated! I am finding this immensely frustrating! > > On 28/08/2023 18:14, chuck elliot wrote: >> >> This suggests that the ports are closed. >> >> I have control port set on 8080 and one camera on 8081 and another on >> 8082 >> >> (you can't use the same port more than once on a single host). >> >> If I port scan my machine using nmap -sT <IP-ADDR>, I see /inter alia/: >> >> 8080/tcp open? http-proxy >> 8081/tcp open? blackice-icecap >> 8082/tcp open? blackice-alerts >> >> showing that these ports are listening for TCP connection requests. >> >> (blackice is just the official registered service for these port >> numbers). >> >> Regards. >> >> >> On 28/08/2023 10:58 am, Ian Smith wrote: >>> Dear Chuck, Many thanks for your help. Your suggestion (which I >>> wasn't aware of, so thank you very much) generated the following:- >>> failed: Connection refused Kind Regards, Ian On 28/08/2023 09:45, chu >>> *DuckDuckGo* did not detect any?trackers. >>> Unable to verify sender identity >>> >>> More ? >>> >>> <https://duckduckgo.com/email/report#RFVDSzI.G44BIBwH5aYzW-JDGDdfMkvmVLY5PQAUapkq0H8BINyKRefoHONY74NWSRkWSdMofcPxdJuUgVevUraN7vrrkXNEnCFcPZoREW32Dxs2omgL1vxCmE5p-gGToxAhwUAhCDjtkrMc-xEQwMagjD466DL9dsL1oaQkT_QQE5KZ55w9-1y39JVB6w0awxFFOaQfrR2baypNNILtfkveMDYYATPnf1bkm8tLU7GZ-QyR2oozm2VKAtIcNnHOHT-tq3ebSMLlSl9PaYru8WNJ6c7H61rW0bpJABZbKMqg2DZnXzNr94aIvhgB> >>> Dear Chuck, >>> >>> Many thanks for your help. >>> >>> Your suggestion (which I wasn't aware of, so thank you very much) >>> generated the following:- >>> >>> ?failed: Connection refused >>> >>> >>> >>> Kind Regards, >>> >>> >>> Ian >>> >>> >>> On 28/08/2023 09:45, chuck elliot wrote: >>>> >>>> Have you tried connecting to the streams using ffmpeg: >>>> >>>> ffplay http://<ipaddressofmotion>:8081 -loglevel error >>>> >>>> The error output might be informative... >>>> >>>> Regards. >>>> >>>> >>>> >>>> On 28/08/2023 9:31 am, Ian Smith wrote: >>>>> My apologies for what most likely is a silly error on my behalf, >>>>> but I am experiencing two issues. I am running Ubuntu 20.04, and I >>>>> installed the latest version of motion. I have individual config fil >>>>> *DuckDuckGo* did not detect any?trackers. >>>>> Unable to verify sender identity >>>>> >>>>> More ? >>>>> >>>>> <https://duckduckgo.com/email/report#RFVDSzI.G44BIBwH5aYzW-JDGDdfMkvmVLY5PQAUapkq0H8BINyKRefoHONY74NWSRkWSdMofcPxdJuUgVevUraN7vrrkXNEnCFcPZoREW32Dxs2omgL1vxCmE5p-gGToxAhwUAhCDjtkrMc-xEQwMagjD466DL9dsL1oaQkT_QQE5KZ55w9-1y39JVB6w0awxFFOaQfrR2baypNNILtfkveMDYYATPnf1bkm8tLU7GZ-QyR2oozm2VKAtIcNnHOHT-tq3ebSMLlSl9PaYru8WNJ6c7H61rW0bpJABZbKMqg2DZnXzNr94aIvhgB> >>>>> My apologies for what most likely is a silly error on my behalf, >>>>> but I am experiencing two issues. >>>>> >>>>> I am running Ubuntu 20.04, and I installed the latest version of >>>>> motion. >>>>> >>>>> I have individual config files for the cameras, and a motion.conf >>>>> file that refers to them. >>>>> >>>>> My motion.conf file also defines the web control port as 8080, and >>>>> the stream port as 8081. >>>>> >>>>> Both the stream and web control "localhost" are "off" to allow me >>>>> to view/ control from other devices. >>>>> >>>>> I can see the log file isn't showing any errors, and I am seeing >>>>> files accumulating in my defined folder. >>>>> >>>>> I can see the localhost apache server default page is visible on >>>>> the localhost and remotely. >>>>> >>>>> However, the page that should appear on port 8080 doesn't appear, >>>>> nor does the stream on 8081. Both return "ERR_CONNECTION_REFUSED", >>>>> but I cannot fathom why. >>>>> >>>>> I have checked that the firewall isn't blocking those ports, and >>>>> the ports are open according to nmap. >>>>> >>>>> I don't know what I have done wrong. >>>>> >>>>> Also, when I did have this working before the computer crashed, >>>>> the web pages were showing, but I couldn't see a way to review the >>>>> captured videos ( I had previously used zoneminder, which had a >>>>> simple way to review activity). >>>>> >>>>> I have been unable to find answers on the internet, nor in the >>>>> documentation, so any help would be most appreciated. >>>>> >>>>> Many thanks, >>>>> >>>>> DuckDuckGo was unable to verify sender identity >>>>> >>>>> >>>>> DuckDuckGo was unable to verify sender identity >>>>> >>>>> _______________________________________________ >>>>> Motion-user mailing list >>>>> Motion-user@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>>> https://motion-project.github.io/ >>>>> >>>>> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user >>>> >>>> >>>> _______________________________________________ >>>> Motion-user mailing list >>>> Motion-user@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>> https://motion-project.github.io/ >>>> >>>> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> DuckDuckGo was unable to verify sender identity >>> >>> >>> DuckDuckGo was unable to verify sender identity >>> >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 204, Issue 8 *******************************************