[SOLVED] Web UI, fresh install

Forum for questions and support relating to the 1.28.x releases only.
Locked
tstrike
Posts: 14
Joined: Tue Apr 01, 2014 1:05 pm

[SOLVED] Web UI, fresh install

Post by tstrike »

Hey guys,

How has it been? I have ZM on Kubuntu 15.04 (I am really liking systemd, I dont see the fuss).

That said, I did the sym linking of the apache.conf from the 14.10 version... no probs there...

Strangely cannot bring up the web interface, yet systemd shows:

Code: Select all


● zoneminder.service - ZoneMinder CCTV recording and security system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2015-07-25 11:26:43 CDT; 1h 15min ago
  Process: 7998 ExecStop=/usr/bin/zmpkg.pl stop (code=exited, status=0/SUCCESS)
  Process: 10522 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
 Main PID: 10533 (zmdc.pl)
   CGroup: /system.slice/zoneminder.service
           ├─10533 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
           ├─11799 /usr/bin/perl -wT /usr/bin/zmfilter.pl
           ├─11804 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
           └─11808 /usr/bin/perl -wT /usr/bin/zmwatch.pl
So looks like ZM is installed and working. Checked apache2 oky dokey... made sure cgi-bin and appropriate web directories belong to www-data..

Scratching my head here...

Still no web gui.... I searched the 1.28zm forums...

Thanks in advance


More for consideration:

From the apache2 log:

Code: Select all


192.168.1.100 - - [24/Jul/2015:14:00:11 -0500] "GET /favicon.ico HTTP/1.1" 404 503 "http://192.168.1.35/zm" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36"
192.168.1.100 - - [24/Jul/2015:14:59:45 -0500] "GET /zm HTTP/1.1" 404 495 "" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0
.2357.134 Safari/537.36"
192.168.1.100 - - [24/Jul/2015:15:04:46 -0500] "GET /zm HTTP/1.1" 404 495 "" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0
.2357.134 Safari/537.36"
127.0.0.1 - - [24/Jul/2015:15:06:44 -0500] "GET /zm HTTP/1.1" 404 492 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0"
127.0.0.1 - - [24/Jul/2015:15:06:54 -0500] "GET /favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/3
9.0"
192.168.1.100 - - [24/Jul/2015:15:09:24 -0500] "GET /zm HTTP/1.1" 404 495 "" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0
.2357.134 Safari/537.36"

Code: Select all


Jul 24 07:22:01 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl check
Jul 24 07:22:01 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:01 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Jul 24 07:22:01 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmfix
Jul 24 07:22:01 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:01 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Jul 24 07:22:01 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl startup
Jul 24 07:22:01 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:04 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Jul 24 07:22:04 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmfilter.pl
Jul 24 07:22:04 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:05 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Jul 24 07:22:05 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmaudit.pl -c
Jul 24 07:22:05 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:05 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Jul 24 07:22:05 tstrike39-costarica sudo:     root : TTY=unknown ; PWD=/usr/share/zoneminder ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmwatch.pl
Jul 24 07:22:05 tstrike39-costarica sudo: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 24 07:22:05 tstrike39-costarica sudo: pam_unix(sudo:session): session closed for user www-data
Still scratching head... Nevermind the costarica designation... this is one of my old boxes I recovered from an old GF
Last edited by tstrike on Sun Jul 26, 2015 4:11 pm, edited 1 time in total.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Web UI, fresh install

Post by bbunge »

tstrike
Posts: 14
Joined: Tue Apr 01, 2014 1:05 pm

Re: Web UI, fresh install

Post by tstrike »

Yeah I did... thats what threw me off...

I have used that guide with another 15.04 server with absolutely no problems...
Linwood
Posts: 75
Joined: Thu Jun 25, 2015 6:40 pm

Re: Web UI, fresh install

Post by Linwood »

/var/log/apache2/error.log (assuming that's where it is)?

Have you tried the explicit path http://server/zm/index.php and see what it does? What error (including in the log)?

Can you get to the images (I'm assuming it is collecting some)? Poke through them (maybe /var/lib/zoneminder/events/1/15/07/25/stuff) and when you find them, try http://server/zm/events/path with the same path after the events including the file name. Normally this will retrieve an image, and it does not rely on any running parts of zoneminder only on apache.

My guess would be protections or a path or an errant / in one of the apache setup files.
tstrike
Posts: 14
Joined: Tue Apr 01, 2014 1:05 pm

[SOLVED] Re: Web UI, fresh install

Post by tstrike »

You guys were right...

Plus I forgot to link in conf-enabled in the apache2 directory.

My fault. Thank you for all your help.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Web UI, fresh install

Post by bbunge »

When all else fails...

:wink:

I have also found that when using a desktop install of Ubuntu it is good to install tasksel then use it to install LAMP.
Locked