Page 1 of 1

clean install problem on Ubutnu 13.4

Posted: Thu Sep 26, 2013 5:49 pm
by mikaelarhelger
installed all needed packages prior to installing zm from source. Got this:

http://privatepaste.com/5d306983c2

any idea?

Re: clean install problem on Ubutnu 13.4

Posted: Thu Sep 26, 2013 5:56 pm
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?

Re: clean install problem on Ubutnu 13.4

Posted: Thu Sep 26, 2013 7:15 pm
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.

Re: clean install problem on Ubutnu 13.4

Posted: Fri Sep 27, 2013 12:43 am
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

Re: clean install problem on Ubutnu 13.4

Posted: Sat Sep 28, 2013 2:07 pm
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 <<>>