greetings
i just did a fresh install on a machine using ubuntu 9.10 server and the guide posted here:
http://www.zoneminder.com/wiki/index.ph ... ver_32-bit
im using virtually the exact same hardware as is listed on the wiki (1 single "pico2000" bt878 card)
the install of everything went fine, and zm is up and running on port 80
the weird part is this.. from a fresh reboot, the zm webpage pulls up just fine, but i cannot access the cameras. in firefox, the image just shows up as if though it is a broken image
but if i log in over ssh and issue a "service zm restart" command, the cameras pop up as expected
also of interest might be this.
from a reboot, the main zm status page shows under "source" for the various monitors ive set up "/dev/video0" and /dev/video1" in red text.
as soon as i issue the "service zm restart" command, they assume 'normal' colors (green for monitors that are set to record and yellow for monitors set to monitor)
any ideas would be very appreciated. if you need me to paste anything (the /etc/init.d/zm script, etc)
fresh install broken images problem
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
greetings
are you talking about the "--enable-mmap" option when doing the ./configure ?also did you set shared memory. You should however be ok with just the few cameras.
if so then yes, i did use that option
which log in particular would be helpful to me in this case? i dont see anything that looks suspicious in /messages
zm loads up fine and i can access it over http, its just that in order for the cameras to show anything at all, i have to restart the zm service
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
how about this
how about this for a workaround
is there anyway in the init script to, after starting the service at boot time, to wait say, 30 seconds, and then restart the service automatically?
anyone want to help me out with that one?
is there anyway in the init script to, after starting the service at boot time, to wait say, 30 seconds, and then restart the service automatically?
anyone want to help me out with that one?
the "--enable-mmap"
Uses dosent use shared memeory so your good on that.
In the configure line where did you tell it to put logs thats where you need to look.
good way to find them if you forgot.
find / -name zm
should fnd something like /var/log/
Also unless you have a good resion to compile zm just install a distro package. It much less headaches.
Uses dosent use shared memeory so your good on that.
In the configure line where did you tell it to put logs thats where you need to look.
good way to find them if you forgot.
find / -name zm
should fnd something like /var/log/
Also unless you have a good resion to compile zm just install a distro package. It much less headaches.
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
hmm
the configure line i used was
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --enable-debug=yes --with-webgroup=www-data --with-webuser=www-data --enable-mmap
i didnt specify anything regarding logs. does it default somewhere or does it decide simply not to log anything? :/
i checked /var/log but nothing like that there. doing a
updatedb
locate zm |grep log |more
didnt turn up anything that looks useful
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --enable-debug=yes --with-webgroup=www-data --with-webuser=www-data --enable-mmap
i didnt specify anything regarding logs. does it default somewhere or does it decide simply not to log anything? :/
i checked /var/log but nothing like that there. doing a
updatedb
locate zm |grep log |more
didnt turn up anything that looks useful