Page 1 of 1

ZM works fine, but Apache Stops after a while..

Posted: Mon Aug 14, 2006 7:00 pm
by wolfram
Hello all,
I am running zoneminder 1.22 on debian with apache2 and php5.
Zoneminder is working well, lets say for 2-3 days sometimes 1 day sometimes 7 days.
But all of a sudden the webserver does not respond anymore to any page requests at all, no matter if this is part of zm or not. Apache just does not deliver any webpage anymore.
A process is blocking the port as it seems to me.
fuser -vn tcp 80 shows me that zmpkg is holding that port and I have to kill that process then I am able to restart apache again, start zm and everything is fine.

Has anybody a hint where to check this behaviour ? or what can cause this ?Or which logfile I should look into.
CIAO Wolfram :(

Posted: Tue Aug 15, 2006 6:43 am
by Flash_
This has happened to me very occasionally, both with Apache and Apache2.

What I think happens is that Apache crashes and the app it was trying to server for (usually zmpkg) retains the lock on the port.

The only solution I have found is to kill zmpkg and then apache will restart, but I'm sure there's a more elegant way so will be watching any other replies here with interest.

Well Apache works fine

Posted: Tue Aug 15, 2006 7:13 pm
by wolfram
for weeks , unless I start the ZM application, then it starts crashing again as described

Posted: Wed Aug 16, 2006 11:35 am
by cordel
Are there any errors in the logs?

Regards,
Corey

Sorry Cordel

Posted: Fri Aug 25, 2006 4:35 am
by wolfram
I just forgot to answer that question.

No the logs do not contain anything meaningful so far.
ZM just stops working and zmpkg.pl keeps the port locked, that apache cannot access anymore

Posted: Fri Aug 25, 2006 7:01 am
by essup
Well,
perhaps you might want to try downgrading php or apache2 ?