Page 1 of 2

!!!HELP!!!

Posted: Thu Sep 24, 2015 12:32 am
by PCMedicJAX
After much success I blew the whole thing up. now that I have reloaded the machine and and Zoneminder. The images are not showing up. they do show up in the zones area but not the live view. Whet have I done wrong? Should I post the logs? they make no sense to me as I am a network engineer only speak numbers.

Re: !!!HELP!!!

Posted: Thu Sep 24, 2015 1:45 am
by bbunge
Did you enable cgi in apache?

You did not say what Linux distribution you were using. There are some good install instructions in the Zoneminder WIKI:
http://www.zoneminder.com/wiki/index.ph ... fic_guides
If you want success I can recommend the Ubuntu 14.04 with Zoneminder 1.28.1
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

Re: !!!HELP!!!

Posted: Thu Sep 24, 2015 1:41 pm
by PCMedicJAX
Thak you so much that fixed almost everything. the only issue I see now is with local cameras I get a broken image and this in the log

ERR 'zmc -d /dev/video1' exited abnormally, exit status 255

FAT Failed to open video device /dev/video1: Permission denied

Remote cams are working fine.

Re: !!!HELP!!!

Posted: Thu Sep 24, 2015 5:38 pm
by bbunge
See my instructions about adding a user.

Re: !!!HELP!!!

Posted: Fri Sep 25, 2015 12:30 am
by PCMedicJAX
Thank You Thank You. Blessings to you and your's and scurge to your enemies.
Only one issue left that is email. where is the best resource for help on postfix issues? When it hits tries to login to my gmail account Google prevents and sends me a message about loging in with an unsecure device.

Re: !!!HELP!!!

Posted: Fri Sep 25, 2015 12:55 am
by bbunge
Well, I do not use ZM to send emails but I do use nullmailer to send update notices from Webmin. Our email provider uses a non-standard SMTP port which I have configured like this in the nullmailer/remotes file

mail.yourdomain.com smtp --port=26 --user=mailer@yourdomain.com --pass=(your password)

I googled the problem and came up with this:

mail.example.com smtp --port=587 --starttls --user=mailalot --pass=LetMeIn

from this web site:http://metz.gehn.net/2012/11/nullmailer-with-starttls/

More info here: https://www.digitalocean.com/community/ ... mtp-server

Good luck!

Re: !!!HELP!!!

Posted: Fri Sep 25, 2015 1:00 am
by PCMedicJAX
Thank you it works through godaddy server I was just trying to keep it off of my hosting account.
Thank you for all your help.

Re: !!!HELP!!!

Posted: Fri Sep 25, 2015 1:16 am
by bbunge
Glad to help you out. Gives this old retired guy something to do besides fishing, biking, and mowing the lawn...

Re: !!!HELP!!!

Posted: Fri Sep 25, 2015 3:15 am
by PCMedicJAX
Grrr. Now I can't view stills through the console. I can go the the directory and open then but not through the console. :D :arrow: :roll: :arrow: :evil:

Re: !!!HELP!!!

Posted: Sat Sep 26, 2015 4:22 am
by PCMedicJAX
Also no image when trying to create zones. what is the deal here?

Re: !!!HELP!!!

Posted: Sat Sep 26, 2015 5:34 am
by PCMedicJAX
In googling around I found references to the /usr/local/etc/zm.conf file. it seems to be missing from my machine. where do i get this file or what needs to be in it if i make it.

Re: !!!HELP!!!

Posted: Sun Sep 27, 2015 12:37 am
by PCMedicJAX
zonminder is in </usr/share/zoneminder>
event images are in </var/cache/zoneminder/events>

do I need to create a symlink between these directories?

I can see that the images are being created but they cannot be viewed from the web.

Re: !!!HELP!!!

Posted: Sun Sep 27, 2015 1:22 am
by bbunge
all the info you will need to get a successful install is contained here:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

except how to configure cameras...

If you want the latest stable release use this:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

Re: !!!HELP!!!

Posted: Sun Sep 27, 2015 2:31 pm
by PCMedicJAX
Darn that was an awfully generic reply.

I have followed those steps to the letter except for the distro upgrade because the newer distros wont support the onboard network card in this machine, and there is only 1 pci slot which is populated by a capture card. I would think that this would have to be a permissions issue except I have tried everything I can think of permissions wise and nothing works.

Again this is my set up
Ubuntu 14.04
ZM 1.26.5

zonminder is in </usr/share/zoneminder>
event images are in </var/cache/zoneminder/events>
i have a symlink between these two directories
Perms on </var/cache/zoneminder/events> are 0777
it is owned by www-data
Perms on /usr/share/zoneminder are 0755
it is owned by root

If I type the direct url to the images I get access denied.

Re: !!!HELP!!!

Posted: Wed Sep 30, 2015 1:02 pm
by bbunge
Do you have cameras connected to your capture card? If so it could be a driver issue with the old capture card. You might try Ubuntu 12.04 to see if you can get ZM to work on it.