Koozali.org: home of the SME Server

Zoneminder on SME 8 b7

Offline Shilotsugu

  • *
  • 23
  • +0/-0
Zoneminder on SME 8 b7
« on: May 05, 2012, 11:32:12 PM »
Hi,
I'd like to get ZoneMinder up and running on my 8b7 server with a minimal of hassle and hunting around for packages. There are many older topics with people running zm, but are pretty spare in details when it comes to what steps were actually done. In the most recent thread I could find (http://forums.contribs.org/index.php?topic=48115.0), someone had installed dependencies manually, it was suggested that it could be done with yum.

However, this is the result when I tried:

Code: [Select]
# yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-zoneminder
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.san.fastserv.com
 * sme7contribs: distro.ibiblio.org
 * smeaddons: distro.ibiblio.org
 * smecontribs: distro.ibiblio.org
 * smeextras: distro.ibiblio.org
 * smeos: distro.ibiblio.org
 * smeupdates: distro.ibiblio.org
 * updates: mirrors.kernel.org
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
No package smeserver-zoneminder available.
Nothing to do

What am I missing? I'm about to try the manual route, but the setup.txt on http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/ suggests other packages that are not found there.

As long as I'm asking for ponies, it would be nice if someone familiar with the process update the wiki.

Thanks
.........

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #1 on: May 06, 2012, 04:35:25 AM »
Shilotsugu

OK I went looking for you and searched the forums on zoneminder (which you could have done) and came up with the following.
I actually searched the forums on zoneminder and the author sognenovski for more specific results re these packages

smeserver-zoneminder is not in the smecontribs repo, the advice of cactus in 
http://forums.contribs.org/index.php/topic,48115.msg238558.html#msg238558
appears to be incorrect

You need to manually download or wget the zoneminder and smeserver-zoneminder packages to an empty folder on your sme server
from
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/

To get other dependencies you will need to enable other repos, ie the repos where those dependencies are available eg
dag and/or others, (some investigation or experimentation may be required to ascertain which repos have the dependency packages you require)
refer to wiki for how to do this ie
http://wiki.contribs.org/Category:Yum_Repository

Following this as a guide
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/zoneminder_setup.txt

This worked on a sme7.5.1 box

Setup the dag repository
http://wiki.contribs.org/Dag

I did this basic install of the two main packages, but others are needed, see this forum post
http://forums.contribs.org/index.php/topic,38451.0.html

The following needs to be expanded as per above thread, no more time at present to go further with this just now.

login as root
then do
mkdir -p /opt/zoneminder
cd /opt/zoneminder
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/zoneminder-1.22.3-9.el4.sme.i386.rpm
ls -al
(to check files have been downloaded)

yum localinstall smeserver-zoneminder* zoneminder* --enablerepo=dag

You should see
--> Processing Dependency: perl(Device::SerialPort) for package: zoneminder
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Device-SerialPort to pack into transaction set.
perl-Device-SerialPort-1. 100% |=========================| 6.7 kB    00:00
---> Package perl-Device-SerialPort.i386 0:1.003001-1.el4.rf set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 smeserver-zoneminder    noarch     0.1-4.el4.sme    smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm   18 k
 zoneminder              i386       1.22.3-9.el4.sme  zoneminder-1.22.3-9.el4.sme.i386.rpm  4.0 M
Installing for dependencies:
 perl-Device-SerialPort  i386       1.003001-1.el4.rf  dag                95 k

Transaction Summary
=============================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.1 M
Is this ok [y/N]:

Followed by
signal-event post-upgrade
signal-event reboot

That should get you going.
Depending what other packages and modules you want to install will determine what happens next, but the basic idea will be the same as above.
Note there are issues with the bttv packages, you require the correct kernel-module-bttv package for the kernel version you are running, so "someone" will need to recompile those as each new kernel is released. The ones on the download link are very old.

I'm not sure whether some of the above "issues" are automatically resolved when using sme8, so let us know how you go and a wiki article can be created.
It will need a maintainer though to build the new modules whenever a kernel update occurs, unless they can be obtained from elsewhere on the Internet.

I suggest you read thoroughly all of these threads (all pages) for setup tips and usage advice etc

http://forums.contribs.org/index.php/topic,35600.0.html
and
http://forums.contribs.org/index.php/topic,38708.msg175683.html#msg175683
and
http://forums.contribs.org/index.php/topic,38451.0.html

Probably this thread is the most useful (read all pages for good install & usage info)
http://forums.contribs.org/index.php/topic,38451.0.html
It seems to have the "latest" install info, so the above steps could be modified accordingly.
« Last Edit: May 06, 2012, 03:56:29 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #2 on: May 06, 2012, 05:54:34 AM »
Shilotsugu

From here
http://forums.contribs.org/index.php/topic,38451.msg186058.html#msg186058

Download these rpms to an empty folder on your sme server

mkdir -p /opt/zoneminder
cd /opt/zoneminder
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/zoneminder-1.22.3-9.el4.sme.i386.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/bttv-0.9.15-3.sme.i686.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/contribs/zoneminder/smeserver-modprobe-bttv-1.0-02.noarch.rpm

check all files have been downloaded
ls -al

cd to that folder and do
yum --enablerepo=dag localinstall *.rpm

enabling the dag repo will allow yum to also install any dependencies including the perl-Device-SerialPort dependency rpm

yum localinstall smeserver-zoneminder* zoneminder* --enablerepo=dag

Note on a sme 7.5.1 this rpm mentioned in the earlier zoneminder posts is already installed
[root@master ~]# rpm -q perl-MIME-Lite
perl-MIME-Lite-3.027-1.el4.rf

Also the current kernel  (on sme7.5.1) is
[root@master ~]# uname -r
2.6.9-89.31.1.EL

So the kernel-module-bttv package is wrong and needs to be recompiled or obtained elsewhere
Google found these
http://www.google.com.au/search?q=kernel-module-bttv-2.6.9-89.31.1&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

*****

ls -al
total 1588
drwxr-xr-x  2 root root    4096 May  6 13:30 .
drwxr-xr-x  3 root root    4096 May  6 13:28 ..
-rw-r--r--  1 root root   28823 Mar  5  2008 bttv-0.9.15-3.sme.i686.rpm
-rw-r--r--  1 root root  110163 Mar  5  2008 kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm
-rw-r--r--  1 root root    3321 Mar  5  2008 smeserver-modprobe-bttv-1.0-02.noarch.rpm
-rw-r--r--  1 root root   11832 Mar  5  2008 smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm
-rw-r--r--  1 root root 1446230 Mar  5  2008 zoneminder-1.22.3-9.el4.sme.i386.rpm


yum --enablerepo=dag localinstall *.rpm
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining bttv-0.9.15-3.sme.i686.rpm: bttv - 0.9.15-3.sme.i686
Examining kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm: kernel-module-bttv-2.6.9-67.0.1.ELsmp - 0.9.15-4.sme.i686
Examining smeserver-modprobe-bttv-1.0-02.noarch.rpm: smeserver-modprobe-bttv - 1.0-02.noarch
Examining smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm: smeserver-zoneminder - 0.1-4.el4.sme.noarch
Examining zoneminder-1.22.3-9.el4.sme.i386.rpm: zoneminder - 1.22.3-9.el4.sme.i386
Marking bttv-0.9.15-3.sme.i686.rpm to be installed
Marking kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm to be installed
Marking smeserver-modprobe-bttv-1.0-02.noarch.rpm to be installed
Marking smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm to be installed
Marking zoneminder-1.22.3-9.el4.sme.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
---> Package smeserver-modprobe-bttv.noarch 0:1.0-02 set to be updated
---> Package kernel-module-bttv-2.6.9-67.0.1.ELsmp.i686 0:0.9.15-4.sme set to be updated
---> Package bttv.i686 0:0.9.15-3.sme set to be updated
---> Package smeserver-zoneminder.noarch 0:0.1-4.el4.sme set to be updated
--> Running transaction check
Setting up repositories
smeaddons                 100% |=========================| 2.3 kB    00:00
smeextras                 100% |=========================| 2.3 kB    00:00
dag                       100% |=========================| 1.9 kB    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================| 2.3 kB    00:00
smeupdates                100% |=========================| 2.3 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
--> Processing Dependency: perl(Device::SerialPort) for package: zoneminder
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Device-SerialPort.i386 0:1.003001-1.el4.rf set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 bttv                    i686       0.9.15-3.sme     bttv-0.9.15-3.sme.i686.rpm   63 k
 kernel-module-bttv-2.6.9-67.0.1.ELsmp  i686       0.9.15-4.sme     kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm  348 k
 smeserver-modprobe-bttv  noarch     1.0-02           smeserver-modprobe-bttv-1.0-02.noarch.rpm   755
 smeserver-zoneminder    noarch     0.1-4.el4.sme    smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm   18 k
 zoneminder              i386       1.22.3-9.el4.sme  zoneminder-1.22.3-9.el4.sme.i386.rpm  4.0 M
Installing for dependencies:
 perl-Device-SerialPort  i386       1.003001-1.el4.rf  dag                95 k

Transaction Summary
=============================================================================
Install      6 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.5 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
  Installing: perl-Device-SerialPort       ######################### [1/6]
  Installing: zoneminder                   ######################### [2/6]
You can access zoneminder at http://yoursite/zm and it requires admin/adminpassword to log in.
  Installing: smeserver-zoneminder         ######################### [3/6]
Starting zoneminder: [FAILED]
  Installing: kernel-module-bttv-2.6.9-67. ######################### [4/6]
  Installing: smeserver-modprobe-bttv      ######################### [5/6]
Stopping zoneminder: [  OK  ]
ERROR: Module bttv does not exist in /proc/modules
Attempting to modprobe bttv card=77 tuner=4

done.

Starting zoneminder: [  OK  ]

Edit card number at /etc/e-smith/events/local/90modprobe-bttv

  Installing: bttv                         ######################### [6/6]
Migrating existing database yum_updates
Migrating existing database hosts
Migrating existing database backups
Migrating existing database mailpatterns
Migrating existing database accounts
Migrating existing database yum_repositories
Migrating existing database networks
Migrating existing database domains
Migrating existing database yum_available
Migrating existing database spamassassin
Migrating existing database yum_installed
Migrating existing database configuration

Installed: bttv.i686 0:0.9.15-3.sme kernel-module-bttv-2.6.9-67.0.1.ELsmp.i686 0:0.9.15-4.sme smeserver-modprobe-bttv.noarch 0:1.0-02 smeserver-zoneminder.noarch 0:0.1-4.el4.sme zoneminder.i386 0:1.22.3-9.el4.sme
Dependency Installed: perl-Device-SerialPort.i386 0:1.003001-1.el4.rf
Complete!

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #3 on: May 06, 2012, 07:26:28 AM »
Shilotsugu

This post has a how for the bttv rebuild

http://forums.contribs.org/index.php/topic,35600.msg174282.html#msg174282
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #4 on: May 06, 2012, 11:04:58 AM »
Shilotsugu

If of any use, all the old sognenovski files relating to zoneminder are here
https://sites.google.com/site/repository999/zoneminder

Some of the dependency rpms are here
https://sites.google.com/site/repository999/zoneminder/rpms
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Shilotsugu

  • *
  • 23
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #5 on: May 14, 2012, 03:26:18 AM »
Mary,

So much excellent information all in one place, thank you.

Quote
OK I went looking for you and searched the forums on zoneminder (which you could have done) and came up with the following.

Your efforts are greatly appreciated. I only have a limited amount of time to allocate to SME (including chasing rabbits down forum topics) so having it all together like the HowTos or contribs is a great time saver. Although I previously read some of the posts you mentioned, I probably would have missed something like adding Dag.

Here is the attempt (I also tried "yum --enablerepo=sme7contribs --enablerepo=smecontribs --enablerepo=dag localinstall *.rpm" with same results):
Code: [Select]
[root@#### zoneminder]# yum --enablerepo=dag localinstall *.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: linux.mirrors.es.net
 * smeaddons: distro.ibiblio.org
 * smeextras: distro.ibiblio.org
 * smeos: distro.ibiblio.org
 * smeupdates: distro.ibiblio.org
 * updates: mirrors.sonic.net
Setting up Local Package Process
Examining bttv-0.9.15-3.sme.i686.rpm: bttv-0.9.15-3.sme.i686
Marking bttv-0.9.15-3.sme.i686.rpm to be installed
Excluding Packages from CentOS - os
Finished
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - updates
Finished
Examining kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm: kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686
Marking kernel-module-bttv-2.6.9-67.0.1.ELsmp-0.9.15-4.sme.i686.rpm to be installed
Examining smeserver-ipdown-1.0.1-02.noarch.rpm: smeserver-ipdown-1.0.1-02.noarch
Marking smeserver-ipdown-1.0.1-02.noarch.rpm to be installed
Examining smeserver-modprobe-bttv-1.0-02.noarch.rpm: smeserver-modprobe-bttv-1.0-02.noarch
Marking smeserver-modprobe-bttv-1.0-02.noarch.rpm to be installed
Examining smeserver-pdf-over-lan-2.0-01.noarch.rpm: smeserver-pdf-over-lan-2.0-01.noarch
Marking smeserver-pdf-over-lan-2.0-01.noarch.rpm to be installed
Examining smeserver-usersendsms-0.1-1.noarch.rpm: smeserver-usersendsms-0.1-1.noarch
Marking smeserver-usersendsms-0.1-1.noarch.rpm to be installed
Examining smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm: smeserver-zoneminder-0.1-4.el4.sme.noarch
Marking smeserver-zoneminder-0.1-4.el4.sme.noarch.rpm to be installed
Examining smstools-3.3.0.10-3.i386.rpm: smstools-3.3.0.10-3.i386
Marking smstools-3.3.0.10-3.i386.rpm to be installed
Examining zoneminder-1.22.3-9.el4.sme.i386.rpm: zoneminder-1.22.3-9.el4.sme.i386
Marking zoneminder-1.22.3-9.el4.sme.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package bttv.i686 0:0.9.15-3.sme set to be updated
---> Package kernel-module-bttv-2.6.9-67.0.1.ELsmp.i686 0:0.9.15-4.sme set to be updated
---> Package smeserver-ipdown.noarch 0:1.0.1-02 set to be updated
---> Package smeserver-modprobe-bttv.noarch 0:1.0-02 set to be updated
---> Package smeserver-pdf-over-lan.noarch 0:2.0-01 set to be updated
--> Processing Dependency: ghostscript >= 7.0 for package: smeserver-pdf-over-lan
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package smeserver-zoneminder.noarch 0:0.1-4.el4.sme set to be updated
---> Package smstools.i386 0:3.3.0.10-3 set to be updated
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libcrypto.so.4 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Processing Dependency: perl(Device::SerialPort) for package: zoneminder
--> Running transaction check
---> Package ghostscript.i386 0:8.70-14.el5 set to be updated
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript
--> Processing Dependency: libfontconfig.so.1 for package: ghostscript
--> Processing Dependency: libXt.so.6 for package: ghostscript
--> Processing Dependency: libXext.so.6 for package: ghostscript
--> Processing Dependency: libICE.so.6 for package: ghostscript
--> Processing Dependency: libcairo.so.2 for package: ghostscript
--> Processing Dependency: ghostscript-fonts for package: ghostscript
--> Processing Dependency: libSM.so.6 for package: ghostscript
---> Package openssl097a.i386 0:0.9.7a-11.el5_8.2 set to be updated
---> Package perl-Device-SerialPort.i386 0:1.003001-1.el4.rf set to be updated
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Running transaction check
---> Package cairo.i386 0:1.2.4-5.el5 set to be updated
--> Processing Dependency: libXrender.so.1 for package: cairo
---> Package fontconfig.i386 0:2.4.1-7.el5 set to be updated
---> Package ghostscript-fonts.noarch 0:5.50-13.1.1 set to be updated
---> Package libICE.i386 0:1.0.1-2.1 set to be updated
---> Package libSM.i386 0:1.0.1-3.1 set to be updated
---> Package libXext.i386 0:1.0.1-2.1 set to be updated
---> Package libXt.i386 0:1.0.2-3.2.el5 set to be updated
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package urw-fonts.noarch 0:2.3-6.1.1 set to be updated
--> Processing Dependency: mkfontscale for package: urw-fonts
--> Processing Dependency: mkfontdir for package: urw-fonts
--> Processing Dependency: chkfontpath for package: urw-fonts
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Running transaction check
---> Package chkfontpath.i386 0:1.10.1-1.1 set to be updated
--> Processing Dependency: xfs for package: chkfontpath
---> Package libXrender.i386 0:0.9.1-3.1 set to be updated
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package xorg-x11-font-utils.i386 1:7.1-3 set to be updated
--> Processing Dependency: libfontenc >= 0.99.2-2 for package: xorg-x11-font-utils
--> Processing Dependency: libfontenc.so.1 for package: xorg-x11-font-utils
--> Processing Dependency: libXfont.so.1 for package: xorg-x11-font-utils
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Running transaction check
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libfontenc.i386 0:1.0.2-2.2.el5 set to be updated
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package xorg-x11-xfs.i386 1:1.0.2-5.el5_6.1 set to be updated
--> Processing Dependency: libFS.so.6 for package: xorg-x11-xfs
--> Processing Dependency: ttmkfdir for package: xorg-x11-xfs
--> Processing Dependency: /sbin/restorecon for package: xorg-x11-xfs
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Running transaction check
---> Package libFS.i386 0:1.0.0-3.1 set to be updated
---> Package policycoreutils.i386 0:1.33.12-14.8.el5 set to be updated
--> Processing Dependency: libsemanage >= 1.9.1-4.2 for package: policycoreutils
--> Processing Dependency: audit-libs-python >= 1.1.4-3 for package: policycoreutils
--> Processing Dependency: libsemanage.so.1(LIBSEMANAGE_1.0) for package: policycoreutils
--> Processing Dependency: libselinux-python for package: policycoreutils
--> Processing Dependency: libselinux-utils for package: policycoreutils
--> Processing Dependency: libsemanage.so.1 for package: policycoreutils
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package ttmkfdir.i386 0:3.0.9-23.el5 set to be updated
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Running transaction check
---> Package audit-libs-python.i386 0:1.8-2.el5 set to be updated
---> Package libselinux-python.i386 0:1.33.4-5.7.el5 set to be updated
---> Package libselinux-utils.i386 0:1.33.4-5.7.el5 set to be updated
---> Package libsemanage.i386 0:1.9.1-4.4.el5 set to be updated
---> Package smeserver-usersendsms.noarch 0:0.1-1 set to be updated
--> Processing Dependency: smeserver-mailsorting >= 1.2 for package: smeserver-usersendsms
---> Package zoneminder.i386 0:1.22.3-9.el4.sme set to be updated
--> Processing Dependency: libmysqlclient.so.14 for package: zoneminder
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: zoneminder
--> Finished Dependency Resolution
zoneminder-1.22.3-9.el4.sme.i386 from /zoneminder-1.22.3-9.el4.sme.i386 has depsolving problems
  --> Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
smeserver-usersendsms-0.1-1.noarch from /smeserver-usersendsms-0.1-1.noarch has depsolving problems
  --> Missing Dependency: smeserver-mailsorting >= 1.2 is needed by package smeserver-usersendsms-0.1-1.noarch (/smeserver-usersendsms-0.1-1.noarch)
zoneminder-1.22.3-9.el4.sme.i386 from /zoneminder-1.22.3-9.el4.sme.i386 has depsolving problems
  --> Missing Dependency: libmysqlclient.so.14 is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
Error: Missing Dependency: libmysqlclient.so.14 is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
Error: Missing Dependency: smeserver-mailsorting >= 1.2 is needed by package smeserver-usersendsms-0.1-1.noarch (/smeserver-usersendsms-0.1-1.noarch)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

I suspect that the newer sme8 version may have something to do with 'missing' mysql library dependency.
[root@#### /]# find -name *libmysqlclient*
./usr/lib/mysql/libmysqlclient_r.so.15
./usr/lib/mysql/libmysqlclient.so.15.0.0
./usr/lib/mysql/libmysqlclient.so.15
./usr/lib/mysql/libmysqlclient_r.so.15.0.0

Any way to get it to recognize the newer version, or should this go to a bug tracker?

.........

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #6 on: May 14, 2012, 04:03:08 AM »
Shilotsugu

Quote
I probably would have missed something like adding Dag.

So when you added the dag repo, did you point it at EL4 or EL5 rpms ?
Show output of
db yum_repositories show dag

For sme7   
BaseURL=http://apt.sw.be/redhat/el4/en/$basearch/dag

For sme8 refer
http://forums.contribs.org/index.php/topic,47524.msg237671.html#msg237671

To set dag up for sme8 do
/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL5' \
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled

signal-event yum-modify

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Shilotsugu

  • *
  • 23
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #7 on: May 14, 2012, 04:34:00 AM »
I set it to EL4 as that was in the linked wiki page (http://wiki.contribs.org/Dag). I've updated it with EL5 as mentioned and tried again.

Code: [Select]
[root#### zoneminder]# db yum_repositories show dag
dag=repository
    BaseURL=http://apt.sw.be/redhat/el5/en/$basearch/dag
    EnableGroups=no
    Exclude=freetype,htop,iptraf,rsync,syslinux
    GPGCheck=yes
    GPGKey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    Name=Dag - EL5
    Visible=no
    status=disabled

It's still looking for the older version:
Code: [Select]
  --> Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
zoneminder-1.22.3-9.el4.sme.i386 from /zoneminder-1.22.3-9.el4.sme.i386 has depsolving problems
  --> Missing Dependency: libmysqlclient.so.14 is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
Error: Missing Dependency: libmysqlclient.so.14 is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
.........

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #8 on: May 14, 2012, 04:51:09 AM »
Shilotsugu

Quote
It's still looking for the older version:
 --> Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package zoneminder-1.22.3-9.el4.sme.i386 (/zoneminder-1.22.3-9.el4.sme.i386)
zoneminder-1.22.3-9.el4.sme.i386 from /zoneminder-1.22.3-9.el4.sme.i386 has depsolving problems

You probably need to search for that and install it in order to get zoneminder working on sme8, otherwise update zoneminder rpm to use newer dependencies.

I have not tried it on sme8 but a quick search took me here
http://serverfault.com/questions/164759/need-libmysqlclient-so-14
which refers to
http://rpm.pbone.net/index.php3/stat/4/idpl/12470926/dir/redhat_el_4/com/mysqlclient14-4.1.22-1.el4.remi.i386.rpm.html
which led to the RPM here
ftp://mirror.switch.ch/pool/1/mirror/mysql/Downloads/MySQL-4.1/MySQL-shared-standard-4.1.22-0.rhel4.i386.rpm

download the above rpm to a empty folder and do
yum localinstall MySQL-shared-standard-*.rpm

It may be a bit of trial and error needed, so google on libmysqlclient.so.14 as there are many search result answers
Later when I hook up my sme8 test machine I will look at it, but busy at present
Maybe others have a better answer, or an answer based on their practical experience.
« Last Edit: May 14, 2012, 08:11:58 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #9 on: May 14, 2012, 07:36:58 AM »
I tried to install the latest ZoneMinder
These were my steps
Installed SME Site Maker to setup the /opt/surveillance directory for web view::
Then I installed all these dependancies with
Code: [Select]
yum --enablerepo=* --disablerepo=smedev --disablerepo=smetest --disablerepo=smeupdates-testing My repos are the regular ones with additional "Dag - EL5; ATRpms - EL5; sme7contribs; FWS".
The dependancies were :::
ffmpeg (only install through dag. Enabling dag and atrpms will result in missing dependancies, so don't use the above code to install ffmpeg.)
gcc
gcc-c++
dkms
perl-Device-SerialPort
perl-Archive-Zip
perl-Email-Date-Format
perl-MIME-Lite

Then I went to
Code: [Select]
smesmand setup the directory with a mysql database
Once I download the ZoneMinder file from the site
Code: [Select]
wget http://www2.zoneminder.com/downloads/ZoneMinder-1.25.0.tar.gzfrom there I tar -xvzf in the root directory and
Code: [Select]
./configure --with-webdir=/opt/surveillance --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zoneminder ZM_DB_USER=zoneminder ZM_DB_PASS=xxxxxxxxxxxxxxxxxx --with-extralibs="-L/usr/lib -L/usr/lib/mysql" --with-mysql='/usr/lib/mysql/libmysqlyclient.so.15' CXXFLAGS="-D__STDC_CONSTANT_MACROS"
Everything goes so smooth until
Code: [Select]
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
Any ideas anyone? From my understanding it is looking for any libmysqlclient, and the libmysqlclient.so.15 file is in /usr/lib/mysql
This is a fresh SME 8 install, and I am wondering will it even work on SME 7?
Thanks in advance
« Last Edit: May 15, 2012, 02:54:41 PM by newburns »
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #10 on: May 14, 2012, 04:47:13 PM »
got a little further

Used
Code: [Select]
yum --enablerepo=* --disablerepo=smedev --disablerepo=smetest --disablerepo=smeupdates-testing install libjpeg-devel   
yum --enablerepo=* --disablerepo=smedev --disablerepo=smetest --disablerepo=smeupdates-testing install mysql-devel
That got me to the point of
Code: [Select]
configure: error: zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead

Also, my
Code: [Select]
/sbin/e-smith/audittools/repositories
outputs
Code: [Select]
addons: disabled
atrpms: disabled
base: enabled
centosplus: disabled
contrib: disabled
dag: disabled
epel: disabled
extras: disabled
fws: disabled
sme7contribs: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #11 on: May 14, 2012, 05:01:47 PM »
I think that is all to it. After the above steps,
Code: [Select]
./configure --with-webdir=/opt/surveillance --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zoneminder ZM_DB_USER=zoneminder ZM_DB_PASS=xxxxxxxxxxxxxxxxxx --with-extralibs="-L/usr/lib -L/usr/lib/mysql" --with-mysql='/usr/lib/mysql/libmysqlyclient.so.15' CXXFLAGS="-D__STDC_CONSTANT_MACROS" ZM_SSL_LIB=openssl  --enable-mmap=no
and then do a make and make install
Again, that installs it into my /opt/surveillance which was setup previously with SME Site Maker. Be sure to have a db password already generated before starting Site Maker. This is a fresh SME 8 testing machine, and I don't know if something has been broken with all the dependencies that were installed.

I am having another issue now.
I have a main SME 8 server as a gateway and another SME 8 server for only video surveillance. I set up a hostname called security.mtrosemedia.tk to the Remote IP for the internal server. That works just fine when going directly to the site, but trying to go to security.mtrosemedia.tk/surveillance doesn't work.
I would like a way to be able to access the internal server clearly without so much being forwarded. Right now I have ports forwarded to the internal IP port 22 in order to get ssh tunnel. I have the hostname setup to pass the security.mtrosemedia.tk name. And my logic is telling me to setup a proxy pass directive to get to the security.mtrosemedia.tk/surveillance name. Is that right? All the other pages revert back to my main mtrosemedia.tk server. So, security.mtrosemedia.tk/webmail or /server-manager opens my main server's pages and not the security surveillance server pages. Any ideas?
« Last Edit: May 15, 2012, 02:54:18 PM by newburns »
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Shilotsugu

  • *
  • 23
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #12 on: August 04, 2012, 07:39:17 PM »
Thanks to Mary, the program itself is installed and functioning. However, Ive been frustrated (yes, I'm slow) with trying to get the program to recognize the video feed. At first it would seem like a ZM issue, but I still get a blank screen after following the advices on ZM's how-to page. Now I am wondering if there isn't some hidden setting on the server itself that I'm missing. I'd like to try newburns' method, but need to uninstall the current program. Because of the specialized steps used above, is there a particular order I should follow to remove this properly?
.........

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #13 on: August 04, 2012, 07:45:47 PM »
Which version does Mary have functioning? Do you have a link to those posts? My method should allow for the latest version. I'm no developer so I was hoping some of the more seasoned users would respond to those posts.
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Shilotsugu

  • *
  • 23
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #14 on: September 16, 2012, 12:41:36 AM »
I've been struggling to get this working with nothing to show except for an expensive camera collecting dust in my garage. There have been plenty of claims that this setup works (easy-peasy), but I suspect the process is really made arcane as possible and the steps just vague enough so that they can continue to have bragging rights. The particular steps to get this version (1.22.3) "working" are listed in the comments above, but both ZM and SME have since changed versions again - so I doubt the advice in this thread is valid any longer. While following this thread may likely satisfy the literal definition of "get ZM working on 8b7", it doesn't mean there will be a useable solution in the end. I wish I could stay positive about this, but there are too many time-wasting rabbit holes and roadblocks of outdated advice and conflicting versions, that it's just not worth it anymore.

I might as well buy a dedicated windows machine and load it with the recording software that came with the camera. At least I know that will work. What a waste of time and money.
.........

guest22

Re: Zoneminder on SME 8 b7
« Reply #15 on: September 16, 2012, 03:19:13 AM »
The same goes for Mary and others... I believe the effort to help you is beyond the usual hint and tips to be expected in a forum.

And yes, things do evolve and progression is being made, hence nothing stays the same.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #16 on: September 16, 2012, 04:08:28 AM »
Shilotsugu

Have you tried using a USB camera, to test your setup ?
I seem to recall reading that a USB camera should be detected without requiring compiled modules.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #17 on: September 20, 2012, 04:54:13 PM »
Y'all sure went to a lot of trouble to destabilize a perfectly good SME setup instead of just installing VMWare and a Zoneminder appliance.

http://viktorpetersson.com/open-source/zoneminder-virtual-appliance/
...

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #18 on: September 20, 2012, 05:40:01 PM »
Are you using SME as a VMware host? I would like to setup VMWare, but am having troubles finding the best host software. I typically do a lot of testing and trying out stuff on production equipment, so I don't have much room for mistakes.
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #19 on: September 20, 2012, 10:47:49 PM »
I typically do a lot of testing and trying out stuff on production equipment, so I don't have much room for mistakes.

I would imagine that you don't!  :shock: :shock: :shock:
...

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #20 on: September 21, 2012, 03:37:26 PM »
@newburns

I use SME as a VM under PVE (Proxmox Virtual Environment) http://pve.proxmox.com/wiki/Main_Page. Works really good ...

Best
fpausp
Viribus unitis

Offline ramasule

  • *
  • 78
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #21 on: November 18, 2012, 08:01:04 PM »
I have compiled, make, and make install 1.25 on sme 8 successfully however I'm having trouble figuring out the MySql stuff.
I will update if I get everything working a hundred percent.
I was able to get 1.22 working on sme 8 using

http://forums.contribs.org/index.php?topic=48607.0

has anyone else had any luck/skill?

Thank you,

Ram

Offline ramasule

  • *
  • 78
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #22 on: November 18, 2012, 10:56:18 PM »
Ok I have everything installed and running... Sort of.

ZoneMinder does not start automatically but the init.d service will start

when I go to localhost/zm/ I get no page and I don't know why.

Time to go shovel the sidewalk.

Ram

guest22

Re: Zoneminder on SME 8 b7
« Reply #23 on: November 18, 2012, 11:19:28 PM »
@newburns

I use SME as a VM under PVE (Proxmox Virtual Environment) http://pve.proxmox.com/wiki/Main_Page. Works really good ...

Best
fpausp

I can't seem to find the open source version, nor the Open Source license of Proxmox? Can you help?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Zoneminder on SME 8 b7
« Reply #24 on: November 19, 2012, 10:01:13 AM »
http://www.proxmox.com/downloads/proxmox-ve/17-iso-images

you don't need to buy support/subscription

guest22

Re: Zoneminder on SME 8 b7
« Reply #25 on: November 19, 2012, 01:20:48 PM »
Amazing product this Proxmox.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Zoneminder on SME 8 b7
« Reply #26 on: November 19, 2012, 01:25:17 PM »
Amazing product this Proxmox.

indeed.. IMVHO the only drawback is that it is based on debian (no religion war here, at all).
if it were based on centos / rh there would be more certified hardware

Offline vpurger

  • 20
  • +0/-0
Re: Zoneminder on SME 8 b7
« Reply #27 on: November 19, 2012, 01:40:41 PM »
... but kernel is from rh6 + openvz patch ;-)

guest22

Re: Zoneminder on SME 8 b7
« Reply #28 on: November 19, 2012, 01:52:42 PM »
Maybe it's time to open a 'vitualization' section on the forums...

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Zoneminder on SME 8 b7
« Reply #29 on: November 19, 2012, 02:08:03 PM »
Maybe it's time to open a 'vitualization' section on the forums...

no..

there are already some topics and similar requests.. the answer is "no, it's not necessary as SME works as a VM as long as linux virtual machines are supported"..

i.e. it does make no difference if you use virtualbox on your laptop or a very big cluster with a very expensive version of vmware: SME is always the same.

finally, I would add that nowadays, when we (generally speaking) need more servers (defferent O.S. or different version), we should always install something like esxi or proxmox on the bare metal.. installing vmware server or virtualbox inside SME is not a good idea

All IMVHO

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #30 on: November 19, 2012, 02:20:00 PM »
I know this is not the vm forum, but I wood like to setup vm for sme. My hardware doesn't allow to install proxmox due to 64 bit virtualization, can you point me in the right direction for esxi or esx iso? I cannot navigate their page as easily
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Zoneminder on SME 8 b7
« Reply #31 on: November 19, 2012, 02:54:00 PM »
if you want to use esx or proxmox you must use certified hw..

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #32 on: November 19, 2012, 03:12:34 PM »
I am, I think. HP DL380 G3.
It's an issue with proxmox, but i'm sure it works with esx
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Zoneminder on SME 8 b7
« Reply #33 on: November 19, 2012, 04:29:23 PM »
AFAIK
ESXi requires dual 64bit procs

Yep on page 5 of the eval guide:  https://www.vmware.com/files/pdf/products/vsphere/VMware-vSphere-Evaluation-Guide-1.pdf
HARDWARE MINIMUM
CPU – Two processors of 2GHz
Memory – 6GB
Network – 2x 1GB network adaptor
« Last Edit: November 19, 2012, 04:35:14 PM by Mntsnow »
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #34 on: November 19, 2012, 04:41:59 PM »
But I have dual xenon 2.8 processors and 8gb ecc memory, and both nic Ports. How do you find or about the 64 bit processor, or virtualization?
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Zoneminder on SME 8 b7
« Reply #35 on: November 19, 2012, 04:58:07 PM »
Hi,
I have a HP DL380 G3 running Proxmox with no problems.

Best,

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #36 on: November 19, 2012, 05:05:31 PM »
Do you have a link to the iso? I'm guessing I had wrong one because it threw an error about 64 but at start
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Zoneminder on SME 8 b7
« Reply #37 on: November 19, 2012, 05:05:46 PM »
Newburns,

Check out that PDF that I linked to as it will help you.

Are you wanting to run VMware from within a running server of SME-8 or are you wanting the server hardware to run Vmware natively and then run a virtual instance of Zoneminder and other virtual services?

Also within the bios you need to enable virtualization (I don't recall off the top of my head the exact wording it is in the bios)
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #38 on: November 19, 2012, 05:12:40 PM »
I want vm on hardware to run instances of zoneminder, red5, plexmedia server, test sme, and windows XP.

Also, as far as work flew, is it better to install best OS for services, almost resulting in a Linux install per service, or find one Linux distribution most compatible for all services.
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Zoneminder on SME 8 b7
« Reply #39 on: November 19, 2012, 05:37:34 PM »
Newburns,

I currently run SME-8 natively (hosts 5 domains and websites) on my Poweredge 1950 and then did a install of Vmware Server 2 along side (concurrently) in which I have virtual instances of Zoneminder, WinXP, MS 2003SBE, Windows 7 and a virtual instance of SME8 for dev testing.  All running on my poweredge nicely!

For the Vmware I used the instructions from here http://forums.contribs.org/index.php/topic,49261.0.html and http://wiki.contribs.org/Vmware
For Zoneminder I used http://blog.waldrondigital.com/2012/09/23/zoneminder-virtual-machine-appliance-for-vmware-esxi-workstation-fusion/ and then used VMware Vcenter Standalone converter to convert it over to a compatible vmx file after running in thru Vmware Player (which can convert the OVA file to a version that the Vcenter can convert to the correct vmx file)

SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Zoneminder on SME 8 b7
« Reply #40 on: November 19, 2012, 05:44:00 PM »
Does sme host pretty good? I was always told it's a bad idea to use sme as host, so I was always looking for native vm solutions. Was gong to go with proxmox, but it threw an error, and I never found the iso for vmware on their website so I installed centos, hoping I could find a vm package. But I never got to it because I couldn't authenticate centos against my sme users. Now i'm going to start over. Do you recommend sme host, or find a way for proxmox to work like franco
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Zoneminder on SME 8 b7
« Reply #41 on: November 19, 2012, 05:49:21 PM »
I have never tried Proxmox and since I only have a single proc in my server I couldn't run the standalone version of Vmware so I'm doing the best I could for me as a newbie into the virtual server world.
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics