Zoneminder Blank Page

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Johnwils
Posts: 3
Joined: Tue Oct 15, 2019 11:41 pm

Zoneminder Blank Page

Post by Johnwils »

I am trying to troubleshoot an issue that I had with zoneminder booting to blank page. Zoneminder 1.32
I have used zoneminder in the past but changed my OS from Ubuntu to MX Linux (Debian variant)

I followed the official debian instructions but had to make some slight changes for php as MX Linux uses php7. I had to edit the php.ini file in the 7.0 directory.

I have enclosed sections of the service status and the zmpkg.pl output.

I am struggling to find where I should be looking next as I have searched extensively for people with the same problem.

Any advice how to troubleshoot the problem?

Code: Select all

10/15/2019 17:46:17.234737 zmpkg[5391].INF [main:57] [Command: start]
10/15/2019 17:46:17.241720 zmpkg[5391].INF [main:305] [Sanity checking States table...]
10/15/2019 17:46:17.243987 zmpkg[5391].INF [main:97] [Command: start]
10/15/2019 17:46:17.342872 zmsystemctl[5397].INF [main:71] [Redirecting command through systemctl]

Code: Select all

zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-10-15 17:17:57 MDT; 24min ago
  Process: 1475 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
 Main PID: 1617 (zmdc.pl)
    Tasks: 7 (limit: 4915)
   CGroup: /system.slice/zoneminder.service
           ├─1617 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
           ├─1861 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
           ├─1867 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
           ├─1872 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
           ├─1881 /usr/bin/perl -wT /usr/bin/zmwatch.pl
           ├─1887 /usr/bin/perl -w /usr/bin/zmupdate.pl -c
           └─1892 /usr/bin/perl -wT /usr/bin/zmstats.pl

Oct 15 17:37:58 mxservermain zmfilter_1[1861]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Oct 15 17:37:58 mxservermain zmfilter_2[1867]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Oct 15 17:38:58 mxservermain zmfilter_1[1861]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Oct 15 17:38:58 mxservermain zmfilter_2[1867]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Oct 15 17:39:58 mxservermain zmfilter_1[1861]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Oct 15 17:39:58 mxservermain zmfilter_2[1867]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Oct 15 17:40:58 mxservermain zmfilter_1[1861]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Oct 15 17:40:58 mxservermain zmfilter_2[1867]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Oct 15 17:41:58 mxservermain zmfilter_1[1861]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Oct 15 17:41:58 mxservermain zmfilter_2[1867]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zoneminder Blank Page

Post by iconnor »

blank page means php crashed. Check your apache logs.
Johnwils
Posts: 3
Joined: Tue Oct 15, 2019 11:41 pm

Re: Zoneminder Blank Page

Post by Johnwils »

I am not seeing anything useful here, but I am not sure how to read these properly.

This is the log /var/log/apache2/error.log

Code: Select all

[Tue Oct 15 17:17:54.874537 2019] [mpm_prefork:notice] [pid 1294] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Tue Oct 15 17:17:54.874736 2019] [core:notice] [pid 1294] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 15 17:31:56.885964 2019] [mpm_prefork:notice] [pid 1294] AH00169: caught SIGTERM, shutting down
[Tue Oct 15 17:31:56.942823 2019] [mpm_prefork:notice] [pid 4699] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Tue Oct 15 17:31:56.942862 2019] [core:notice] [pid 4699] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 15 17:36:40.901633 2019] [mpm_prefork:notice] [pid 4699] AH00169: caught SIGTERM, shutting down
[Tue Oct 15 17:36:40.967562 2019] [mpm_prefork:notice] [pid 4920] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Tue Oct 15 17:36:40.967602 2019] [core:notice] [pid 4920] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 15 17:54:41.657128 2019] [mpm_prefork:notice] [pid 4920] AH00169: caught SIGTERM, shutting down
[Tue Oct 15 17:56:25.349911 2019] [mpm_prefork:notice] [pid 1350] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Tue Oct 15 17:56:25.350123 2019] [core:notice] [pid 1350] AH00094: Command line: '/usr/sbin/apache2'

Johnwils
Posts: 3
Joined: Tue Oct 15, 2019 11:41 pm

Re: Zoneminder Blank Page

Post by Johnwils »

Ok so making some progress here.

I managed to get php working. I used the info.php method where I used it to display the php info.

The directory that it points to is /var/www/html

This is not the directory where zoneminder is installed. It appears to be in /usr/share/zoneminder
I tried copying this across to /var/www/html but ran into problems with MooTools not being found.

I think I am missing the right way to do this. Getting a little lost.
Post Reply