Can't add a monitor

Forum for questions and support relating to the 1.28.x releases only.
Locked
jelutz77
Posts: 3
Joined: Tue Dec 02, 2014 5:41 am

Can't add a monitor

Post by jelutz77 »

I just installed ZoneMinder 1.28.0 on CentOS 6.6, and can navigate the screens. But I can't add my IP camera. I can get captures by putting the correct URL in my web browser, but when I try to add the camera (Remote, HTTP, simple, IP address, path, and resolution) and press [save], the Console screen refreshes and still has no monitors. This happens in IE 11 and Waterfox 28.0. When I check the log, I see messages like this:

----snip----
2014-12-02 00:45:36.342124 web_js 27585 ERR jQuery18108443697339216745_1417498847430 was not called
2014-12-02 00:41:26.313779 web_js 27586 ERR jQuery1810142956677688098_1417498579818 was not called ?view=log
2014-12-02 00:36:28.055376 web_js 27589 ERR jQuery181045353157272153133_1417498478808 was not called ?view=log
2014-12-02 00:36:27.437404 web_js 27588 ERR jQuery181045353157272153133_1417498478808 was not called ?view=log
2014-12-02 00:36:08.001930 zmdc 27882 WAR Can't find process with command of 'zma -m' zmdc.pl
2014-12-02 00:36:07.835260 zmdc 27882 WAR Can't find process with command of 'zmtrack.pl -m' zmdc.pl
2014-12-02 00:36:07.662770 zmdc 27882 WAR Can't find process with command of 'zmc -m' zmdc.pl
2014-12-02 00:36:07.492730 zmdc 27882 WAR Can't find process with command of 'zma -m' zmdc.pl
2014-12-02 00:36:07.327610 zmdc 27882 WAR Can't find process with command of 'zmtrack.pl -m' zmdc.pl
----snip----

I don't know if these missing processes are the cause, but it looks like I shouldn't have these processes because of what they are from the description. The javascript might be a clue, but it looks like it's related to the log screen; I only get them when I'm watching the log screen as well. I have no logs in my log file, so there's no help there. I'm at a loss. What else can I look for?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't add a monitor

Post by bbunge »

Did you fix the known bug?

Note: There is a slight bug that causes the screen to not refresh when a camera is added. In a terminal edit file:

sudo nano /usr/share/zoneminder/skins/classic/js/skin.js

search for and remove line:

window.addEvent( 'domready', checkSize);

(should be line 89)

add the line to the end of the file as shown below:

{
windowToFront();
}
window.addEvent( 'domready', checkSize);

Save the edited file (CTRL+o then CTRL+x)

Restart Zoneminder
jelutz77
Posts: 3
Joined: Tue Dec 02, 2014 5:41 am

Re: Can't add a monitor

Post by jelutz77 »

I had not known about the fix, and had not done that. The first part (line 89) wasn't done, but the second part was already there, at the end of the file.

This didn't help though. It's not surprising though, since I had tried going back to the page directly to force a refresh, to no effect as well.
asanti
Posts: 6
Joined: Sat Mar 03, 2012 5:47 pm

Re: Can't add a monitor

Post by asanti »

Im new to ZM also, I just installed ZM 1.28 on lubuntu. I also had issues with the host path. I got it to work with paths from the ispy web page. There is a wide list of camera paths. I went to the ispy website ispyconnect there are so many paths listed here. I just purchased a IP Sricam. I could not get it to work in ZM, so I chose a path that I thought would work in ZM, put the path in and it worked. What a surprize! There is plenty to choose from in terms of camera paths. So I thought I would share this information with the group. Another resource is,Flash's IP Camera Database, you may have to google it, but its very helpful in getting the correct setup to get you up and running. I hope this helps.
jfm
Posts: 46
Joined: Tue Mar 29, 2005 9:30 pm

Re: Can't add a monitor

Post by jfm »

jelutz77, your problem seems to be the same I have in this topic: http://www.zoneminder.com/forums/viewto ... 32&t=22813
jelutz77
Posts: 3
Joined: Tue Dec 02, 2014 5:41 am

Re: Can't add a monitor

Post by jelutz77 »

Nearly. Except I don't even get a 0 record in my monitors.
jfm
Posts: 46
Joined: Tue Mar 29, 2005 9:30 pm

Re: Can't add a monitor

Post by jfm »

You have missunderstod what I wrote. It is in the Zones table I get records where the field for monitor id is 0.
In the Monitors table I get nothing at all!
Locked