Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 15 Dec 2017, 16:19
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
ZoneMinder 1.30.2 as an SFS for Tahr 6.0.5 and Tahr 6.0.6
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Sun 19 Mar 2017, 09:28    Post subject:  ZoneMinder 1.30.2 as an SFS for Tahr 6.0.5 and Tahr 6.0.6
Subject description: Compatible with Apache or Hiawatha servers
 

I have successfully created a ZoneMinder version 1.30.2 as an SFS.
this is the version with 2 SFS files which together contain ->

Hiawatha v10.5
mysql-server 5.5.54-0ubuntu0.14.04.1 - (Ubuntu)
Database client version: libmysql - 5.5.54
PHP version: 5.5.9-1ubuntu4.21
phpMyAdmin 4.6.5.2
zoneminder_1.30.2-trusty-2017021001_i386

the Hserver-mysql-v3.sfs can run stand alone as a fully functional web server.

A link to a version containing all the components is posted below

UPDATE 23/03/2017
The Hiawatha Server, MySQL, PHP5 and phpmyadmin ->

Hserver-mysql-v3.sfs

the ZoneMinder component ->

azmbuild5.sfs

The devx-tahr-6.0.6.sfs (or 6.0.5 ) must be loaded

Instructions (23/03/2017) :
Load "Hserver-mysql-v3.sfs"
Code:
killall hiawatha
hiawathaSFS
mysql_install_db --user=webuser

open second terminal
Code:
mysqld
/usr/bin/mysql_secure_installation

user = root
password = admin

login to http://localhost/phpmyadmin ->

create user = "pma" localhost "admin" global permissions
create user = "zmuser" localhost "zmpass" global permissions

create database "phpmyadmin"
import /var/share/phpmyadmin/sql/create_tabels.sql

Load azmbuild5.sfs using SFS-Load
login to http://localhost/phpmyadmin ->
create a database "zm"
import /var/share/zoneminder/db/zm_create.sql

http://localhost/zm

Last edited by rockedge on Sat 25 Mar 2017, 22:39; edited 15 times in total
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Mon 20 Mar 2017, 23:17    Post subject:  

**missing PERL libraries added to azmbuild5.sfs

For X10 option to function this PERL module must be added by following these steps ->
open a terminal

Code:
#cpan App::cpanminus


reply yes to both queries. and when finished in a terminal ->

Code:
#cpanm X10::ActiveHome

Last edited by rockedge on Fri 24 Mar 2017, 21:04; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Tue 21 Mar 2017, 09:10    Post subject:  

All passwords and users can be modified once ZM is running.

This version contains the entire system in a single SFS file.
Use the same instructions that are in the first post.

zoneminder_server_1.30.2.sfs ---- 81 M


Good Luck! and any results posted will be appreciated.

Last edited by rockedge on Sat 25 Mar 2017, 23:15; edited 10 times in total
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Tue 21 Mar 2017, 10:40    Post subject:  

refer to first post.
Last edited by rockedge on Fri 24 Mar 2017, 21:07; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
corvus


Joined: 12 Jun 2015
Posts: 126
Location: In the peninsula shaped like a boot.

PostPosted: Tue 21 Mar 2017, 15:16    Post subject:  

Hi rockedge, very interesting, I followed your tutorial with little hope it would work because I have Tahr64-6.0.5 (my 32-bit laptop broke definitely few weeks ago) below the output of "/etc/init.d/zoneminder status":
Code:
root# /etc/init.d/zoneminder status
Can't load '/usr/lib/perl5/auto/DBI/DBI.so' for module DBI: /usr/lib/perl5/auto/DBI/DBI.so: wrong ELF class: ELFCLASS32 at /usr/lib/perl/5.18/DynaLoader.pm line 184.
 at /usr/lib/perl5/DBI.pm line 278.
BEGIN failed--compilation aborted at /usr/lib/perl5/DBI.pm line 278.
Compilation failed in require at /usr/share/perl5/ZoneMinder/Config.pm line 89.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 89.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
ZoneMinder is stopped

any chance to have a 64bit version?

rockedge wrote:

open /etc/my.conf and replace the line:

Did you mean:
open /etc/mysql/my.cnf because I do not have /etc/my.conf.

Thanks for your work and for introducing me to this interesting software. Smile

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Tue 21 Mar 2017, 15:45    Post subject:  

The libraries I used are 32 bit so I will make a 64bit once I have this version working smoothly. Thanks for trying it out!
I have uploaded a new version of azmbuild.sfs.

It should run in 64bit I think. Do you have the devx for the 64bit loaded?

try this
Code:
#cpanm DBI

it looks like the PERL module DBI is missing in your system.
Back to top
View user's profile Send private message Visit poster's website 
corvus


Joined: 12 Jun 2015
Posts: 126
Location: In the peninsula shaped like a boot.

PostPosted: Tue 21 Mar 2017, 17:40    Post subject:  

rockedge wrote:

It should run in 64bit I think. Do you have the devx for the 64bit loaded?

Yes, I followed your instructions step by step.

rockedge wrote:

try this
Code:
#cpanm DBI


I did but nothing has changed.

rockedge wrote:

it looks like the PERL module DBI is missing in your system.

The PERL module exist but its with wrong ELF class so I downloaded libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb and now "/etc/init.d/zoneminder status" shows me the following error:
Code:
root# /etc/init.d/zoneminder status
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' to database 'zm' at /usr/share/perl5/ZoneMinder/Config.pm line 102.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 129.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 129.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48.
ZoneMinder is stopped

Regards

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Tue 21 Mar 2017, 17:53    Post subject:  

ZM is not connecting to the database it appears. are the user name and password created in mysql? user=zmuser. password= zmpass with global perrmissions. check the /etc/zm/zm.conf to see if the mysql user matches?

it looks. close to running.....
Back to top
View user's profile Send private message Visit poster's website 
corvus


Joined: 12 Jun 2015
Posts: 126
Location: In the peninsula shaped like a boot.

PostPosted: Tue 21 Mar 2017, 18:32    Post subject:    

rockedge wrote:
user=zmuser. password= zmpass with global perrmissions.

Not mencioned before, now with global permissions set.

I also had to install libsys-mmap-perl_0.16-1build2_amd64.deb.

rockedge wrote:
it looks. close to running.....

You're right rockedge, now everything works perfectly, thanks for your time and help. Very Happy

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 429
Location: Connecticut, United States

PostPosted: Tue 21 Mar 2017, 18:37    Post subject:    

your welcome. Good work on getting it going Very Happy
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0718s ][ Queries: 14 (0.0088s) ][ GZIP on ]