clean install problem on Ubutnu 13.4

Forum for questions and support relating to the 1.26.x releases only.
Locked
mikaelarhelger
Posts: 5
Joined: Thu Feb 17, 2011 10:59 am
Location: Hong Kong

clean install problem on Ubutnu 13.4

Post by mikaelarhelger »

installed all needed packages prior to installing zm from source. Got this:

http://privatepaste.com/5d306983c2

any idea?
User avatar
c128
Posts: 88
Joined: Sat Sep 14, 2013 3:36 pm

Re: clean install problem on Ubutnu 13.4

Post by c128 »

mikaelarhelger wrote:installed all needed packages prior to installing zm from source. Got this:

http://privatepaste.com/5d306983c2

any idea?
Password set for root user of mysql?
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: clean install problem on Ubutnu 13.4

Post by knight-of-ni »

Yes. What c128 said.

Code: Select all

err: /Stage[main]/Zoneminder::Config/Exec[create-schema]: Failed to call refresh: mysql -u root < /usr/local/src/zoneminder/db/zm_create.sql returned 1 instead of one of [0] at /home/master/zoneminder/manifests/config.pp:39
This says that the system could not create a new database using root as the sql username and a null password.

So either delete the mysql root the password and re-run the puppet module, or create the database yourself using the docs from the wiki. The rest of zoneminder is likely installed and will work just fine.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
mikaelarhelger
Posts: 5
Joined: Thu Feb 17, 2011 10:59 am
Location: Hong Kong

Re: clean install problem on Ubutnu 13.4

Post by mikaelarhelger »

deleted root password and reran puppet which resulted in:

sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder'
info: Applying configuration version '1380242422'
notice: /Stage[main]/Zoneminder::Install/Package[libmime-perl]/ensure: ensure changed 'purged' to 'present'
notice: Finished catalog run in 0.81 seconds

guess have to create database myself
mikaelarhelger
Posts: 5
Joined: Thu Feb 17, 2011 10:59 am
Location: Hong Kong

Re: clean install problem on Ubutnu 13.4

Post by mikaelarhelger »

sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder'

results now in:

Could not find class zoneminder for <<>> at line 1 on node <<>>
Locked