installed all needed packages prior to installing zm from source. Got this:
http://privatepaste.com/5d306983c2
any idea?
clean install problem on Ubutnu 13.4
-
- Posts: 5
- Joined: Thu Feb 17, 2011 10:59 am
- Location: Hong Kong
Re: clean install problem on Ubutnu 13.4
Password set for root user of mysql?mikaelarhelger wrote:installed all needed packages prior to installing zm from source. Got this:
http://privatepaste.com/5d306983c2
any idea?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: clean install problem on Ubutnu 13.4
Yes. What c128 said.
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.
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
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/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 5
- Joined: Thu Feb 17, 2011 10:59 am
- Location: Hong Kong
Re: clean install problem on Ubutnu 13.4
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
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
-
- Posts: 5
- Joined: Thu Feb 17, 2011 10:59 am
- Location: Hong Kong
Re: clean install problem on Ubutnu 13.4
sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder'
results now in:
Could not find class zoneminder for <<>> at line 1 on node <<>>
results now in:
Could not find class zoneminder for <<>> at line 1 on node <<>>