Solved.
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
Solved.
Help! It was working fine (except for the authentication problem) then.... just... no more access. I restarted the machine, had to restart zm in the runlevel editor, which says zm is running now. But this is what I get:
_
An error occurred while loading http://localhost/www/zm/index.php:
Connection to host localhost is broken
_
ZM is still recording events. I look in the events directory and there are new images stored. zma etc are active in top. Other html web pages in other directories work. But. I. Just. Can't. Access. Zoneminder. Why? What's going on? What should I look for? What does this mean?
Thank you!!!
_
An error occurred while loading http://localhost/www/zm/index.php:
Connection to host localhost is broken
_
ZM is still recording events. I look in the events directory and there are new images stored. zma etc are active in top. Other html web pages in other directories work. But. I. Just. Can't. Access. Zoneminder. Why? What's going on? What should I look for? What does this mean?
Thank you!!!
Last edited by moontaurus on Wed Sep 07, 2005 6:39 pm, edited 4 times in total.
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
(zm stopped working....)
Thanks Tim!
When I try to load zm, this is what appears in the apache error log:
[Wed Aug 31 21:50:05 2005] [notice] child pid 17122 exit signal Segmentation fault (11)
[Wed Aug 31 21:50:11 2005] [notice] child pid 17123 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:03 2005] [notice] child pid 17126 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:09 2005] [notice] child pid 17127 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:09 2005] [notice] child pid 17130 exit signal Segmentation fault (11)
I found this in top at the same time (pid 17126 is the same):
17126 wwwrun 16 0 0 0 0 Z 0.3 0.0 0:00.01 httpd2- <defunct>
What does it mean? (I'm a linux novice.... and not a programmer, need some hand-holding) Thank you, Tim!!!!
When I try to load zm, this is what appears in the apache error log:
[Wed Aug 31 21:50:05 2005] [notice] child pid 17122 exit signal Segmentation fault (11)
[Wed Aug 31 21:50:11 2005] [notice] child pid 17123 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:03 2005] [notice] child pid 17126 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:09 2005] [notice] child pid 17127 exit signal Segmentation fault (11)
[Wed Aug 31 21:51:09 2005] [notice] child pid 17130 exit signal Segmentation fault (11)
I found this in top at the same time (pid 17126 is the same):
17126 wwwrun 16 0 0 0 0 Z 0.3 0.0 0:00.01 httpd2- <defunct>
What does it mean? (I'm a linux novice.... and not a programmer, need some hand-holding) Thank you, Tim!!!!
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
Heeeelp!
I'm at my wit's end. I bought a video card and two cameras, then I stayed up into the wee hours many a night, finally got it all working (except for images won't load in authentication mode, and ZM doesn't restart on reboot) but now...... ZM is dead and I don't understand! It won't work at all in the browser..... Heeeeelp! Somebody out there?? Pleeeease.....
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
Your questions re: Mau-Cam
Hi Phil, thank you!! ZM is still running and recording events, it seems. And, to answer you, yes, I can view web pages contained everywhere else on my server with no problem. I can even view contents of the directory above zm, and I can view contents of events/ directory within zm, etc. ... As a matter of fact, while writing this, I just did a test. I added a test index.html (note: ".html", not ".php") file right into the zm directory and that views just fine. So, it has something to do with php or zm or mysql.... Any ideas what to look for?zoneminder wrote:Can you view any other pages on your machine at all. Having httpd segv is usually pretty major and indicates something fundamentally wrong somewhere. Do you see any errors in any of the ZM logs?
I looked through the logs and there are various errors, but they seem to be consistent though back when zm was working, so I don't interpret anything as meaningful (but that's not saying much coming from me). I stuck 'em all here:
[url]http://***/zm/[/url]
Don't be shocked by some of the archived event names, like "Mau's first PeePee on camera". That's the Mau-Cam. For kicks I'll put a movie in the above directory too. This was actually one of the last events recorded before I lost comms with zm. Mau is my cat and I have an infrared camera trained on her litterbox. This, until I get everything working, and get a "bait" bicycle to install in my car port for real. I've had TWO bicycles stolen this month, second time they cut through a motorcycle lock. Anyway, long story, but I think I actually know who might be responsible.
So, back to zm and "serious errors"... Your wisdom, oh wise one? Thank you!!!!!
Sincerely, your linux newbie....
Last edited by moontaurus on Tue Sep 06, 2005 6:34 am, edited 1 time in total.
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
Mau-Cam
Hi again, glad to hear from you! So I threw in a bunch of Perl from Suse. Now I have /usr/lib/perl5/vendor_perl/5.8.3/LWP/UserAgent.pm
and /usr/lib/perl5/vendor_perl/5.8.3/Date/Manip.pm on my disk, as per your note.
And.... drumroll.... situation still the same. I looked at the end of zmdc.log where your found the two missing perl scripts, now there seems to be a MYSQL access problem? (I updated the logs at the link above). Where to now?
and /usr/lib/perl5/vendor_perl/5.8.3/Date/Manip.pm on my disk, as per your note.
And.... drumroll.... situation still the same. I looked at the end of zmdc.log where your found the two missing perl scripts, now there seems to be a MYSQL access problem? (I updated the logs at the link above). Where to now?
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
MySQL
So I checked, and, yes, seems MySQL is enabled in SUSE Yast runlevel editor, and 'mysql mysql' gets me the prompt. Anything else I should check?cordel wrote:Make sure you have MySQL running. That error was not in your logs earlier and didn't show up till 05/08/24 01:38:13 and is intermittant from then.
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
Tailed logs
Oh, many a reboot, many a reboot. So I have tailed the logs and included more, as per. I lost access to ZM on 8/30 at night. Last change to the system before zm turned its back on me: I removed ffmpeg and dependencies via Suse Yast which kept complaining about it -- I never could get ffmpeg to work, and the mpeg_encode works just great for me. I look forward to your thoughts. I'm so bummed that, after all this hard work late nights, zm is down.cordel wrote:If you could tail your logs so they are not so long and include messages that would help.
If you haven't already tried, you may want to reboot your machine.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Can you create a file, call it 'debug.php' in your web root and makes it's contents just the following
then try and access that. If you get output perhaps it might show something useful, at least it would prove that php is ok.
Phil
Code: Select all
<?php
phpinfo();
?>
Phil
-
- Posts: 29
- Joined: Fri Aug 05, 2005 9:46 pm
That was fun
Update 9/4/05 pm:
Uhmuhgod. I updated some nearly random SUSE packages in Yast Yum, things that I hoped might help MySQL or PHP or Pearl, based on their names and descriptions, though Greek to me. Basically I shot in the dark, because I don't know linux or computer programming and I have no idea what I'm doing. Anyway, two things happened: 1. ZM loads now in the browser.... (for the time-being? Last week zm went away for no good reason) and 2. now images load correctly when I have authentication on! A first.
If anybody for some reason is REALLY curious about what has happened, then I'll provide a set of before-and-after logs for you. (In return, just tell me what you figure out.) I'm still worried about what once said, that my apache error log - the seg faults - suggested a serious fundemental problem somewhere.
Cheers for now, thank you HUGELY for everything to date, and here's hoping I won't come crawling back anymore after zm decides to go back to sleep.
Now here is the original message I posted here this morning:
Where should I go from here?
Thank you!!!
Uhmuhgod. I updated some nearly random SUSE packages in Yast Yum, things that I hoped might help MySQL or PHP or Pearl, based on their names and descriptions, though Greek to me. Basically I shot in the dark, because I don't know linux or computer programming and I have no idea what I'm doing. Anyway, two things happened: 1. ZM loads now in the browser.... (for the time-being? Last week zm went away for no good reason) and 2. now images load correctly when I have authentication on! A first.
If anybody for some reason is REALLY curious about what has happened, then I'll provide a set of before-and-after logs for you. (In return, just tell me what you figure out.) I'm still worried about what once said, that my apache error log - the seg faults - suggested a serious fundemental problem somewhere.
Cheers for now, thank you HUGELY for everything to date, and here's hoping I won't come crawling back anymore after zm decides to go back to sleep.
Now here is the original message I posted here this morning:
Oh goody, that was fun, Phil. Indeed, the php file works and gives me a nice php status screen. Who knew -- that's cool.zoneminder wrote:Can you create a file, call it 'debug.php' in your web root ... then try and access that. If you get output perhaps it might show something useful, at least it would prove that php is ok. Phil
Where should I go from here?
Thank you!!!
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: