What's Wrong with this Apache File?

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
Acewiza
Posts: 72
Joined: Thu Dec 31, 2020 4:52 pm

What's Wrong with this Apache File?

Post by Acewiza »

Spent all morning playing with Montage multi-port config. Haven't seen an open port in the 30xxx range yet:

Image

Debian Buster, BTW. Yes, I've lost track how many times I restated the services!

Probably almost as many times as I tried config tweaks :mrgreen:
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: What's Wrong with this Apache File?

Post by Magic919 »

Have you done the bit where you tell it to listen on those ports?
-
User avatar
Acewiza
Posts: 72
Joined: Thu Dec 31, 2020 4:52 pm

Re: What's Wrong with this Apache File?

Post by Acewiza »

You mean the ZM starting port under network options? Yes.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: What's Wrong with this Apache File?

Post by Magic919 »

No, Apache.
-
User avatar
Acewiza
Posts: 72
Joined: Thu Dec 31, 2020 4:52 pm

Re: What's Wrong with this Apache File?

Post by Acewiza »

Step 2 - ports.conf? Yes. Gotta be something with this Debanized Apache. It syntax chks OK, never opens the ports, Montage don't see it. Put the 2 confs and starting NM ports back to before and I get 6 views in Montage. Sometimes a 7th slips in, timing anomaly, I assume.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: What's Wrong with this Apache File?

Post by Magic919 »

Maybe a Debian thing, I can’t say. I’d just run a netstat to see what’s opening what.
-
User avatar
Acewiza
Posts: 72
Joined: Thu Dec 31, 2020 4:52 pm

Re: What's Wrong with this Apache File?

Post by Acewiza »

You mean like the nmap scan displayed in the OP?

Thanks for trying, I still have a few more pages of montage search results to sift though ... 8)

And in case anybody's following the lengthy labor preceding birth of my new NM system, NO apt did not drop the database. I was logged into the wrong box when I posted that. :oops:
User avatar
burger
Posts: 475
Joined: Mon May 11, 2020 4:32 pm

Re: What's Wrong with this Apache File?

Post by burger »

I recently setup multi port, and put some configs here to save myself and hopefully others from having to type
in all 50 30000 based port numbers for large camera setups. https://wiki.zoneminder.com/Multi_Port

The guide to follow is on medium and linked on that page, but here's a link as well: https://medium.com/zmninja/multi-port-s ... 836a336c93

In my experience, I set it up for https first, but it didn't quite work right, so I changed it to http for the time being. I didn't bother troubleshooting, as it was only for a LAN. I set it up on Debian/Devuan Buster/Beowulf. I didn't have any issues.

Ports.conf, the 000-default.conf, then the zoneminder options, and restart apache. You should see apache listening on all the ports with netstat or ss as mentioned. Remember that you made these changes, when troubleshooting later. Otherwise, you can end up with stream errors, and not realize it's because you left some part of this configured.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
User avatar
Acewiza
Posts: 72
Joined: Thu Dec 31, 2020 4:52 pm

Re: What's Wrong with this Apache File?

Post by Acewiza »

Looks like SSL did not agree with what I was trying to do for some reason, but after another go, it seems to work great unencrypted! Thanks burger! :wink:
Post Reply