SOLVED (false alarm) can't change anything from UI while

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

SOLVED (false alarm) can't change anything from UI while

Post by krzys31337 »

Hello,

IT looks like this
first: run montage for a quite some time ( more than 10 min).
second: try to add new user, or change Mocord to Record.

and it FAILS, but doing ssh to machinge and changing in mysql console works fine.

Any advices?
Last edited by krzys31337 on Sat Jul 16, 2005 3:18 am, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

A little more information would be helpful please.
1)What distro?
2)What version of ZM?
3)Is zm the RPM or source?
4)What version of PHP?
5)What version of apache?
6)Is there anything in any of the logs (zmdc, apache error.log, messages, etc...)
Regards,
Cordel
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

1)pld-linux.org (version Ac)
2) 1.21.1
3) rpm from my spec: http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/zm.spec
4) # rpm -q php
php-5.0.4-6
5) # rpm -q apache
apache-2.0.54-2
6)
==> access_log <==
Here I click monitor in the "Record" state, and then click: "Monitor":

Code: Select all

192.168.199.11 - - [15/Jul/2005:15:19:03 +0200] "GET /zm/index.php?view=function&mid=5 HTTP/1.1" 200 1245
192.168.199.11 - - [15/Jul/2005:15:19:17 +0200] "GET /zm/index.php?view=none&action=function&mid=5&new_function=Monitor HTTP/1.1" 200 152
error_log is empty.

sql (and UI) shows:

Code: Select all

mysql> select Function from Monitors;
+----------+
| Function |
+----------+
| Record   |
| Record   |
| Record   |
| Record   |
+----------+
4 rows in set (0.00 sec)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i have this too on live cd and 1.21.2 rpm. Havnt tried it yet on new one. Your right it only happens when mantage is open. I often have to close montage to get console even to refresh. Ill have a look and see if i can replicate it

James
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I've tried to replicate it here and have had montage up for just over an hour with no problems.
Test senerio:
6 montors running mocord mode.
Montages compact view off
4 cameras local running 3 fps
2 cameras remote zm (ip stream) 1 fps

Still can change camera states (mocord to record to monitor)
Can get into options (add/remove/enable/disable users)
Oh yeah this is not running the browser on the server but on a seperate workstation (video server is headless as running X and a browser to veiw streams takes alot of resources mostly the browser when it is reciecing a stream)
Is there something I'm missing?
Regards,
Cordel
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

cordel wrote:I've tried to replicate it here and have had montage up for
[..]
Oh yeah this is not running the browser on the server but on a seperate workstation [..]
Is there something I'm missing?
The Montage is running on localhost. Maybe i will do separate vhost/page with my custom montage and some clock and harddrive fillup progresbar and that will be some solution, as montage on local machine is a mandatory for my setup.

btw montage is 2x2 (but this has no effect) and using "montage only" user in ZM.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

My guess would be the system is not hadling the serving and recieving the stream. For some reason the browser really loads the system and this has always been the case and is why may users are trying to come up with alternatives. It would be really usefull if someone new how to develop in the x desktop enviroment and we could dump using the browser, gnome or kde all together thus reducing the disk space used and all the resorces they take up. I'm a long way from even being able to think of going there although I wish I could. It would seem to make since to have and x app that could pull the images directly from the memory without using zms on the localhost. Any volenteers?
By the way I have not closed the montage screen yet and still have access to everything.
You could try running top before you open the montage and watch it after and you will be able to see the considerable load that the browser places on the system.
Regards,
Cordel
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

hm.

The load:

Code: Select all

[root@ola ~]# w
 21:32:26 up  3:48,  4 users,  load average: 0.07, 0.21, 0.25
After doing "killlall X" And using Montage on another host:
sill can't do a thing... strange but killing montage doesn't help.

Do a google search for motion, motiond and Elvis:
http://www.silicontao.com/software/lvs/ ... ation.html

maybe it helps but it's written in qt...
--
Best Regards and sorry for my poor english...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Are there any hanging processes (more spacificly apache)?
If you can get in and make changes manualy though the database and everything else seems to be working it sounds like maybe apache (or php/zend) is encountering something it don't like. Have you tried to increase the debug level for php?
Is that your front door I'm looking at with those coordinates? :D
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

Ok... He it is:

http://cvs.pld-linux.org/cgi-bin/cvsweb ... 1.1&r2=1.2

as they say: "Mea Culpa, Mea MAXIMA". Sorry for wasting yours time.

And yeap thats are my coordinates but from "poorman" gps system, my nokia 6310i and polish "EraGSM" telephone operator :-D

Image
--
Best Regards and sorry for my poor english...
Locked