Page 1 of 1

Zoneminder Install

Posted: Sun Oct 17, 2010 8:45 pm
by mojolightning
Greetings.

I tried installing Zoneminder today through the Amahi installed web interface. CPG and Bigfoot kindly provided access to the installer today. The installer indicates the following before sitting at the last one for hours:

1. retrieved dependent packages
2. Associating with HDA server
3. preparing to install

Stays on #3 for hours.

How can I obtain additional infromation from my system to better understand why the system is taking so long to load zoneminder? Or why it is stalled?

Regards,
Mojolightning

Re: Zoneminder Install

Posted: Mon Oct 18, 2010 4:51 am
by bigfoot65
Check the log file at /var/logs/amahi-app-intaller.log for more info.

Re: Zoneminder Install

Posted: Mon Oct 18, 2010 5:02 pm
by mojolightning
Below is the log file entries for the 4x that I tried to install ZM. What can I do next to help resolve the issue?

My background is an Electrical Engineer with a dangerous amount of software experience. :)

-Jeremy


======= app install begin @ Sun Oct 17 16:06:52 -0700 2010 ==========
Installing app id yi7uxa8mlb under /var/hda/platform/html ENV=production
ERROR 1049 (42000): Unknown database 'zm'
/tmp/run_script.26279.0: line 4: /usr/share/zoneminder/db/zm_create.sql: No such file or directory
ERROR 1049 (42000): Unknown database 'zm'
sudo: sorry, you must have a tty to run sudo
Your HDA services have been restarted.
Your HDA services have been restarted.
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - /var/hda/web-apps/zoneminder/html (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:73
======= app install begin @ Sun Oct 17 17:42:08 -0700 2010 ==========
Installing app id yi7uxa8mlb under /var/hda/platform/html ENV=production
ERROR 1049 (42000): Unknown database 'zm'
/tmp/run_script.6808.0: line 4: /usr/share/zoneminder/db/zm_create.sql: No such file or directory
ERROR 1049 (42000): Unknown database 'zm'
sudo: sorry, you must have a tty to run sudo
Your HDA services have been restarted.
Your HDA services have been restarted.
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - /var/hda/web-apps/zoneminder/html (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:73
======= app install begin @ Sun Oct 17 17:49:09 -0700 2010 ==========
Installing app id yi7uxa8mlb under /var/hda/platform/html ENV=production
ERROR 1049 (42000): Unknown database 'zm'
/tmp/run_script.2753.0: line 4: /usr/share/zoneminder/db/zm_create.sql: No such file or directory
ERROR 1049 (42000): Unknown database 'zm'
sudo: sorry, you must have a tty to run sudo
Your HDA services have been restarted.
Your HDA services have been restarted.
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - /var/hda/web-apps/zoneminder/html (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:73
======= app install begin @ Sun Oct 17 20:07:06 -0700 2010 ==========
Installing app id yi7uxa8mlb under /var/hda/platform/html ENV=production
ERROR 1049 (42000): Unknown database 'zm'
/tmp/run_script.3085.0: line 4: /usr/share/zoneminder/db/zm_create.sql: No such file or directory
ERROR 1049 (42000): Unknown database 'zm'
sudo: sorry, you must have a tty to run sudo
Your HDA services have been restarted.
Your HDA services have been restarted.
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - /var/hda/web-apps/zoneminder/html (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:73
======= app install begin @ Sun Oct 17 20:40:58 -0700 2010 ==========
Installing app id yi7uxa8mlb under /var/hda/platform/html ENV=production
ERROR 1049 (42000): Unknown database 'zm'
/tmp/run_script.7924.0: line 4: /usr/share/zoneminder/db/zm_create.sql: No such file or directory
ERROR 1049 (42000): Unknown database 'zm'
sudo: sorry, you must have a tty to run sudo
Your HDA services have been restarted.
Your HDA services have been restarted.
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - /var/hda/web-apps/zoneminder/html (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:73

Re: Zoneminder Install

Posted: Mon Oct 18, 2010 5:09 pm
by bigfoot65
Hmmmm....it may be broke. Please go to settings in the dashboard and let us know what version of the platform and hdactrl you are running.

It appears that something may not be up to date. I will have to take a look at the app and see if I can figure our what is wrong.

Re: Zoneminder Install

Posted: Mon Oct 18, 2010 5:38 pm
by bigfoot65
Ok, think I found the problem. Please uninstall and reinstall. It should work now providing you have the latest Amahi platform installed for Fedora 12.

Re: Zoneminder Install

Posted: Fri Dec 03, 2010 4:07 pm
by arriflex
I'd really like to give Zoneminder a try, but for the life of me I can't find any real info on installing from the HDA interface. While I'm not above dropping to the command line I wanted to make sure I wasn't missing something somewhere before I start pulling packages and mess up my box!

Please let me know if there is an easier way.

edgar

Re: Zoneminder Install

Posted: Sat Dec 04, 2010 1:57 pm
by mojolightning
Hi Edgar,

I was able to install from the HDA interface after I requested to be a Beta Tester for the Zoneminder. I started down the same path and quickly figured out that it was going to be challenging. bigfoot65 should be abl to make you a beta tester.

Regards,
Jeremy