Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Forum for questions and support relating to the 1.28.x releases only.
Locked
sprinteroz
Posts: 7
Joined: Sat Jun 06, 2015 7:55 pm

Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by sprinteroz »

Hi all,
Now to start off I have tried to run Zoneminder on my ubuntu 15.04 32 bit but I got to a point where it needed 64 bit files, so I have just installed a fresh 64bit version of ubuntu 15.04 on a different system and wish to know before trying again, if it is even possible.

If I can run ZM on Ubuntu is there a tut I can get of anyone
sprinteroz
Posts: 7
Joined: Sat Jun 06, 2015 7:55 pm

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by sprinteroz »

:D Hi again Well after a lot of playing around I could not get ZM 1.28.x to install on the system kept getting cmaker tree error. After some more research I found some people had luck with 1.26.5 so I tried that and was able to get it installed. I just have to test it now to see if it runs or takes my cameras.
sprinteroz
Posts: 7
Joined: Sat Jun 06, 2015 7:55 pm

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by sprinteroz »

It seem that the install was not successful after all

root@darryxxxxxxxxxxxxxx:/home/darrylxx# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up zoneminder (1.26.5-1ubuntu7) ...
Job for mysql.service failed. See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)


----------------------------------------------------------------------------------------------------

Bug Description

was updating this thing happened

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: zoneminder 1.26.5-1ubuntu7
ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2
Uname: Linux 3.19.0-10-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.16.2-0ubuntu5
Architecture: i386
Date: Sat Mar 28 13:36:12 2015
DuplicateSignature: package:zoneminder:1.26.5-1ubuntu7:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-02-28 (29 days ago)
InstallationMedia: Ubuntu-MATE 15.04 "Vivid Vervet" - Alpha i386 (20150225)
RelatedPackageVersions:
dpkg 1.17.24ubuntu1
apt 1.0.9.7ubuntu3
SourcePackage: zoneminder
Title: package zoneminder 1.26.5-1ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by bbunge »

I have Ubuntu 15.04 64 bit running ZM 1.26.5. Have also installed 1.28.x on Ubuntu 15.04 successfully.

See: http://www.zoneminder.com/wiki/index.ph ... e_easy_way

No instructions for the compiled version as I upgraded Ubuntu from 14.04 on my Virtual Box test machine and compiled from source code.

bb
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x? YE

Post by bbunge »

Have successfully installed ZM 1.28.1 from the PPA "master"

See: http://www.zoneminder.com/wiki/index.ph ... e_easy_way

I have run this twice on my test machine. You may get errors after "apt-get install zoneminder" but keep going with the setup procedure and it will work for you.

I set up the server then do the ZM procedure using Putty. I find it easier to copy from the "Easy" setup and past into Putty. Don't skip any steps!

Good Luck!

Bill
cornbread
Posts: 14
Joined: Wed May 08, 2013 12:44 am

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by cornbread »

You can also use docker to have this done with two commands and zero headache.

Here is the git repo:
https://github.com/hrwebasst/docker-zoneminder

Or if you're really lazy just install docker and run these two commands (these three commands will do both)

sudo wget -qO- https://get.docker.com/ | sh

sudo docker run -d -e MYSQL_ROOT_PASSWORD=uberpass -e MYSQL_DATABASE=zm -e MYSQL_USER=zm -e MYSQL_PASSWORD=uberpass --name=mysql mysql
sudo docker run -d --name=zoneminder --link=mysql:mysql -p 443:443 --privileged=true hrwebasst/docker-zoneminder
Last edited by cornbread on Thu Jun 18, 2015 6:03 pm, edited 1 time in total.
sprinteroz
Posts: 7
Joined: Sat Jun 06, 2015 7:55 pm

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by sprinteroz »

bbunge wrote:Have successfully installed ZM 1.28.1 from the PPA "master"

See: http://www.zoneminder.com/wiki/index.ph ... e_easy_way

I have run this twice on my test machine. You may get errors after "apt-get install zoneminder" but keep going with the setup procedure and it will work for you.

I set up the server then do the ZM procedure using Putty. I find it easier to copy from the "Easy" setup and past into Putty. Don't skip any steps!

Good Luck!

Bill
Thanks for the tut bbunge I was able to get 1.26.5 on my system, I also did find a error in the install process so I reported that in your post in the 1.26.5 tut post.http://www.zoneminder.com/forums/viewto ... 30&t=23116

My new problem is that VLC can see my camera but I can not work out how to add them to the ZM software. I have looked all over the net for over a day now and can not find a tut on how to do that yet or a YouTube clip on it.
cornbread wrote:You can also use docker to have this done with two commands and zero headache.

Here is the git repo:
had to remove this link can not post says to spam like

Or if you're really lazy just install docker and run these two commands (these three commands will do both)

sudo wget -qO- remove this link/ | sh

sudo docker run -d -e MYSQL_ROOT_PASSWORD=uberpass -e MYSQL_DATABASE=zm -e MYSQL_USER=zm -e MYSQL_PASSWORD=uberpass --name=mysql mysql
sudo docker run -d --name=zoneminder --link=mysql:mysql -p 443:443 --privileged=true -e DB_HOST=mysql -e DB_USER=zm -e DB_NAME=zm -e DB_PASS=uberpass hrwebasst/docker-zoneminder
Thanks for the code and info cornbread this will come in handy for my next test machine.

Tried your suggestion out on my 32 bit server and it said at this time the files are only available for 64 bit systems, So I thought I better let others know for there future builds that it has to be 64 bit server.
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can I run Ubuntu 15.04 64-bit with Zoneminder 1.28.x?

Post by bbunge »

For the record there was no error in the install instructions. The version of Cambozola changed and I allowed for that with the instruction: "replace 935 with cambozola version downloaded."

Bill
Locked