Page 1 of 1

localhost/zm not found

Posted: Fri May 20, 2022 11:14 am
by swolsen
Installed Zoneminder on a new system using ppa:iconnor/zoneminder-1.36 All seemed to go well but I am not able to access the web interface.

zmdc.log
05/20/2022 06:32:45.905636 zmdc[1027].INF [ZMServer:411] [Server starting at 22/05/20 06:32:45]
05/20/2022 06:32:46.948969 zmdc[1027].INF [ZMServer:411] [Socket should be open at /run/zm/zmdc.sock]
05/20/2022 06:32:47.165747 zmdc[1027].INF [ZMServer:411] ['zmfilter.pl --filter_id=1 --daemon' starting at 22/05/20 06:32:47, pid = 1191]
05/20/2022 06:32:47.165766 zmdc[1191].INF [ZMServer:411] ['zmfilter.pl --filter_id=1 --daemon' started at 22/05/20 06:32:47]
05/20/2022 06:32:47.216318 zmdc[1198].INF [ZMServer:411] ['zmfilter.pl --filter_id=2 --daemon' started at 22/05/20 06:32:47]
05/20/2022 06:32:47.216317 zmdc[1027].INF [ZMServer:411] ['zmfilter.pl --filter_id=2 --daemon' starting at 22/05/20 06:32:47, pid = 1198]
05/20/2022 06:32:47.268892 zmdc[1027].INF [ZMServer:411] ['zmwatch.pl' starting at 22/05/20 06:32:47, pid = 1204]
05/20/2022 06:32:47.268892 zmdc[1204].INF [ZMServer:411] ['zmwatch.pl' started at 22/05/20 06:32:47]
05/20/2022 06:32:47.321626 zmdc[1027].INF [ZMServer:411] ['zmupdate.pl -c' starting at 22/05/20 06:32:47, pid = 1211]
05/20/2022 06:32:47.321637 zmdc[1211].INF [ZMServer:411] ['zmupdate.pl -c' started at 22/05/20 06:32:47]
05/20/2022 06:32:47.374211 zmdc[1027].INF [ZMServer:411] ['zmstats.pl' starting at 22/05/20 06:32:47, pid = 1216]
05/20/2022 06:32:47.374212 zmdc[1216].INF [ZMServer:411] ['zmstats.pl' started at 22/05/20 06:32:47]
Update agent starting at 22/05/20 06:32:47

I am using Linux Mint 20.3 of which I am running Zoneminder 1.36.15 on another box with no problems except it is under powered.

Re: localhost/zm not found

Posted: Fri May 20, 2022 12:00 pm
by Magic919
Wrong logs. It is an Apache config problem if you don’t see the web interface. Makes no difference if ZM is running or not.

Look at the a2en* commands and make sure you’ve run them all.

Re: localhost/zm not found

Posted: Fri May 20, 2022 12:22 pm
by swolsen
I believe you are correct, however running sudo a2ensite shows only 000-default and default-ssl. Obviously not one for zoneminder. Where or how do I configure zoneminder site?

I thought this was set up automatically??

Nevermind. Got it. Had to enable zoneminder.conf and enable rewrite engine.

Re: localhost/zm not found

Posted: Fri May 20, 2022 12:29 pm
by Magic919
Make sure you check a2enconf too. In case it’s an available conf rather than site.

This file will likely work https://github.com/ZoneMinder/zoneminde ... he.conf.in

Re: localhost/zm not found

Posted: Fri May 20, 2022 12:37 pm
by swolsen
Thank you. My bad!

Got it. Had to enable zoneminder.conf and enable rewrite engine.

Re: localhost/zm not found

Posted: Fri May 20, 2022 12:48 pm
by Magic919
Glad you have it sorted.