Strange loss of web interface

Forum for questions and support relating to the 1.25.x releases only.
Locked
mrmdk
Posts: 9
Joined: Tue Apr 01, 2014 1:59 am

Strange loss of web interface

Post by mrmdk »

I built a new computer a couple weeks ago, installed Peppermint Linux ( really, it's mostly Ubuntu ) and then zoneminder.

It took a bit to figure out the USB cam, but I got it working and it ran fine for a couple weeks. The computer sits in my living room by the TV and the camera watches the dogs during the day. Since i now have a web server accessible from outside ( I put the box in the DMZ, and use dynamic DNS to point a domain to it), I decided to add a photo gallery and a blog to it.

So far, so good.

Then, I installed Postfix and Dovecot, and Zoneminder broke.


Now, zm IS watching the camera, capturing events. The disk is NOT full, not by a long shot.

Code: Select all

Filesystem                      1K-blocks      Used Available Use% Mounted on
/dev/mapper/peppermint--vg-root 959528376 234579940 676200508  26% /
none                                    4         0         4   0% /sys/fs/cgroup
udev                              1571384        12   1571372   1% /dev
tmpfs                              316268      1380    314888   1% /run
none                                 5120         0      5120   0% /run/lock
none                              1581332     36004   1545328   3% /run/shm
none                               102400        16    102384   1% /run/user
/dev/sda1                          233191     30394    190356  14% /boot

I have gone so far as to uninstall, remove the databases, reinstall, and reconfigure. Still, the same issues. It's as if the web interface is unable to monitor ZM.

The logs have lots of this: (nothing interesting)


I have googled every combination of keywords I can think of, and haven't come up with anyone addressing this problem and no idea even what's wrong.

I did lose cambozola in the delete and reinstall, but without the interface working, I wasn't going to bother working on it. I don't really want to wipe the hard drive and start over. I have a good 40 hours of work into the gallery, mail server, etc, I don't really don't want to re-do it (though it would involved much less trial and error in getting around my ISP's blocking of port 25).

Can anyone give me hints, suggestions, ideas.. ???

I have screen shots of various things, but the forum won't let me post the urls.

You can find the images at: farfromhome dot us in /served as zmlog.png and zmshot.png
mrmdk
Posts: 9
Joined: Tue Apr 01, 2014 1:59 am

Re: Strange loss of web interface

Post by mrmdk »

Additional information: If you start ZM by command line, at /etc/init.d/zoneminder start, it returns "success". And other than a warning about the camera ( something about hue), there's no errors.
mrmdk
Posts: 9
Joined: Tue Apr 01, 2014 1:59 am

Re: Strange loss of web interface

Post by mrmdk »

Wow, I stumbled across an unrelated complaint...

And it solved... but only because I was guessing...

The installation of Postfix and related programs... added "disable_fuction exec,shell_exec"

To one of the php.ini files.

The error was the the apache2 logs, not in zm.

I guess I'll leave this here, hope it helps someone else.
mrmdk
Posts: 9
Joined: Tue Apr 01, 2014 1:59 am

Re: Strange loss of web interface

Post by mrmdk »

ok... so now a strange new issue. When I log into zm and try to look at captured video it asks for user/password

WHAT????

Grrrrrr
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Strange loss of web interface

Post by PacoLM »

Try admin/admin, it's the default.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
mrmdk
Posts: 9
Joined: Tue Apr 01, 2014 1:59 am

Re: Strange loss of web interface

Post by mrmdk »

The authentication thing turned out to be awstats, which used the /usr/lib/cgi-bin directory and told Apache to require authentication for it.

Now I'm getting this error: socket_sendto( /tmp/zm/zms-013207s.sock ) failed: No such file or directory.

It occurs when I try to look at the monitor or play any event.

It results in the pop-up window for the monitor showing the url domain.us/cgi-bin/nph-zms?mode=(blah)

Any suggestions?
Locked