amonapp / amon

Amon is a modern server monitoring platform.
https://docs.amon.cx
GNU Affero General Public License v3.0
1.33k stars 108 forks source link

Installer not working on Ubuntu 10.04 #25

Closed bgreenlee closed 12 years ago

bgreenlee commented 12 years ago

The installer didn't work for me on my Ubuntu 10.04 VM. In particular, there seems to be a problem with the mongodb install. Below is the log of my install.

$ curl install.amon.cx | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   820  102   820    0     0   1124      0 --:--:-- --:--:-- --:--:--  3660
dpkg is /usr/bin/dpkg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4518  100  4518    0     0   5232      0 --:--:-- --:--:-- --:--:-- 11155
[sudo] password for brad: 
***  Installing Amon 0.5.2 ...
--2011-12-02 14:29:45--  http://install.amon.cx/amon-latest.tar.gz
Resolving install.amon.cx... 178.236.5.70
Connecting to install.amon.cx|178.236.5.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 169715 (166K) [application/x-tar]
Saving to: `amon-latest.tar.gz'

100%[====================================================================================================================================================================================================>] 169,715     50.8K/s   in 3.3s    

2011-12-02 14:29:49 (50.8 KB/s) - `amon-latest.tar.gz' saved [169715/169715]

gcc 4:4.4.3-1ubuntu1
python-dev  2.6.5-0ubuntu1
No packages found matching sysstat.
** Installing Amon requirements
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version.
gcc set to manually installed.
python-dev is already the newest version.
python-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  libreadline-java
Use 'apt-get autoremove' to remove them.
Suggested packages:
  isag
The following NEW packages will be installed:
  sysstat
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
Need to get 278kB of archives.
After this operation, 1,225kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main sysstat 9.0.6-2 [278kB]
Fetched 278kB in 2s (136kB/s)   
Preconfiguring packages ...
Selecting previously deselected package sysstat.
(Reading database ... 100163 files and directories currently installed.)
Unpacking sysstat (from .../sysstat_9.0.6-2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up sysstat (9.0.6-2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: error: no alternatives for sar.
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode.

gcc 4:4.4.3-1ubuntu1
python-dev  2.6.5-0ubuntu1
sysstat 9.0.6-2
** success!
running install
running bdist_egg
running egg_info
creating amon.egg-info
writing requirements to amon.egg-info/requires.txt
writing amon.egg-info/PKG-INFO
writing top-level names to amon.egg-info/top_level.txt
writing dependency_links to amon.egg-info/dependency_links.txt
writing manifest file 'amon.egg-info/SOURCES.txt'
reading manifest file 'amon.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'amon.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/amon
copying amon/__init__.py -> build/lib.linux-x86_64-2.6/amon
copying amon/defaults.py -> build/lib.linux-x86_64-2.6/amon
creating build/lib.linux-x86_64-2.6/amon/core
copying amon/core/settings.py -> build/lib.linux-x86_64-2.6/amon/core
copying amon/core/__init__.py -> build/lib.linux-x86_64-2.6/amon/core
copying amon/core/exceptions.py -> build/lib.linux-x86_64-2.6/amon/core
creating build/lib.linux-x86_64-2.6/amon/system
copying amon/system/__init__.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/daemon.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/runner.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/utils.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/collector.py -> build/lib.linux-x86_64-2.6/amon/system
creating build/lib.linux-x86_64-2.6/amon/api
copying amon/api/exception.py -> build/lib.linux-x86_64-2.6/amon/api
copying amon/api/__init__.py -> build/lib.linux-x86_64-2.6/amon/api
copying amon/api/log.py -> build/lib.linux-x86_64-2.6/amon/api
creating build/lib.linux-x86_64-2.6/amon/backends
copying amon/backends/__init__.py -> build/lib.linux-x86_64-2.6/amon/backends
copying amon/backends/mongodb.py -> build/lib.linux-x86_64-2.6/amon/backends
creating build/lib.linux-x86_64-2.6/amon/web
copying amon/web/views.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/settings.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/template.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/__init__.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/server.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/utils.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/devserver.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/api.py -> build/lib.linux-x86_64-2.6/amon/web
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/settings.py -> build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/__init__.py -> build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/exceptions.py -> build/bdist.linux-x86_64/egg/amon/core
creating build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/__init__.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/daemon.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/runner.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/utils.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/collector.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/__init__.py -> build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/exception.py -> build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/__init__.py -> build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/log.py -> build/bdist.linux-x86_64/egg/amon/api
creating build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/backends/__init__.py -> build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/backends/mongodb.py -> build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/defaults.py -> build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/views.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/settings.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/template.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/__init__.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/server.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/utils.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/devserver.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/api.py -> build/bdist.linux-x86_64/egg/amon/web
byte-compiling build/bdist.linux-x86_64/egg/amon/core/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/core/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/core/exceptions.py to exceptions.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/daemon.py to daemon.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/runner.py to runner.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/collector.py to collector.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/exception.py to exception.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/log.py to log.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/mongodb.py to mongodb.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/defaults.py to defaults.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/views.py to views.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/template.py to template.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/server.py to server.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/devserver.py to devserver.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/api.py to api.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/config.rb -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Gemfile -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Guardfile -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Gemfile.lock -> build/bdist.linux-x86_64/egg/amon/web/media
creating build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery.flot.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/date.format.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-ui.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/form2object.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/form2object.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-1.6.2.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery.relative-date.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/spin.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-ui-timepicker-addon.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
creating build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/jquery-ui.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/error.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/screen.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
creating build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ffffff_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_100_fdf5ce_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_222222_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ef8c08_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_65_ffffff_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ffd27a_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_100_f6f6f6_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_flat_10_000000_40x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_228ef1_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
creating build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/table_heading.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/sidebar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/tabs_separator.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/logo.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/exception_counter.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/collapse.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/green_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/yellow_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/favicon.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/grey_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/left.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/active_button.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/red_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
creating build/bdist.linux-x86_64/egg/amon/web/media/sass
copying amon/web/media/sass/error.sass -> build/bdist.linux-x86_64/egg/amon/web/media/sass
copying amon/web/media/sass/screen.sass -> build/bdist.linux-x86_64/egg/amon/web/media/sass
creating build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/error.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/exceptions.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/dashboard.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/system.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/blank.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/settings.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/base.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/processes.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/404.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/logs.html -> build/bdist.linux-x86_64/egg/amon/web/templates
creating build/bdist.linux-x86_64/egg/amon/web/templates/partials
copying amon/web/templates/partials/logs_filter.html -> build/bdist.linux-x86_64/egg/amon/web/templates/partials
copying amon/web/templates/partials/settings_tabs.html -> build/bdist.linux-x86_64/egg/amon/web/templates/partials
creating build/bdist.linux-x86_64/egg/amon/web/templates/settings
copying amon/web/templates/settings/cleanup.html -> build/bdist.linux-x86_64/egg/amon/web/templates/settings
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
amon.web.settings: module references __file__
creating dist
creating 'dist/amon-0.5-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing amon-0.5-py2.6.egg
creating /usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg
Extracting amon-0.5-py2.6.egg to /usr/local/lib/python2.6/dist-packages
Adding amon 0.5 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg
Processing dependencies for amon==0.5
Searching for Jinja2>=2.4
Reading http://pypi.python.org/simple/Jinja2/
Reading http://jinja.pocoo.org/
Best match: Jinja2 2.6
Downloading http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz#md5=1c49a8825c993bfdcf55bb36897d28a2
Processing Jinja2-2.6.tar.gz
Running Jinja2-2.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-exmG9E/Jinja2-2.6/egg-dist-tmp-ZL_fd0
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Adding Jinja2 2.6 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg
Searching for tornado>=2.0
Reading http://pypi.python.org/simple/tornado/
Reading http://www.tornadoweb.org/
Best match: tornado 2.1.1
Downloading http://github.com/downloads/facebook/tornado/tornado-2.1.1.tar.gz
Processing tornado-2.1.1.tar.gz
Running tornado-2.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-YWUA0Q/tornado-2.1.1/egg-dist-tmp-8avpsP
warning: no previously-included files matching '_auto2to3*' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
tornado.autoreload: module references __file__
tornado.simple_httpclient: module references __file__
/usr/lib/python2.6/dist-packages/setuptools/command/bdist_egg.py:422: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  symbols = dict.fromkeys(iter_symbols(code))
tornado.test.httpserver_test: module references __file__
tornado.test.web_test: module references __file__
Adding tornado 2.1.1 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg
Searching for pymongo==2.0
Reading http://pypi.python.org/simple/pymongo/
Reading http://github.com/mongodb/mongo-python-driver
Best match: pymongo 2.0
Downloading http://pypi.python.org/packages/source/p/pymongo/pymongo-2.0.tar.gz#md5=8cd04065b115dd186b18cb3e8e3025c6
Processing pymongo-2.0.tar.gz
Running pymongo-2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wu0fc7/pymongo-2.0/egg-dist-tmp-MF4PG5
zip_safe flag not set; analyzing archive contents...
Adding pymongo 2.0 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/pymongo-2.0-py2.6-linux-x86_64.egg
Searching for pip==0.3.1
Best match: pip 0.3.1
Adding pip 0.3.1 to easy-install.pth file

Using /usr/lib/python2.6/dist-packages
Finished processing dependencies for amon==0.5
update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-start'

update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-stop'

--2011-12-02 14:30:11--  http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.0.tgz
Resolving fastdl.mongodb.org... 205.251.251.139, 205.251.251.154, 205.251.251.183, ...
Connecting to fastdl.mongodb.org|205.251.251.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37949452 (36M) [application/x-tar]
Saving to: `mongodb-linux-i686-2.0.0.tgz'

100%[====================================================================================================================================================================================================>] 37,949,452   690K/s   in 57s     

2011-12-02 14:31:08 (651 KB/s) - `mongodb-linux-i686-2.0.0.tgz' saved [37949452/37949452]

***  Extracting MongoDB ...

***  MongoDB will be installed in /usr/local/mongodb.
If you are not running as root, the installer will ask for your root password
*** Starting MongoDB

Starting MongoDB: start-stop-daemon: Unable to start /usr/local/mongodb/bin/mongod: No such file or directory (No such file or directory)
mongodb.
*** Amon succesfully installed
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.__del__ of <__main__.AmonDaemon object at 0x26253d0>> ignored

started with pid 20285
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.__del__ of <__main__.AmonDaemon object at 0x26253d0>> ignored
*** Starting Amon 
*** The web application is not running by default, you can start with `sudo /etc/init.d/amon start`
Restaring the Amon web application ...
pidfile /var/run/amon.pid does not exist. Daemon not running?

started with pid 20299

For troubleshooting instructions, please see the Amon User Guide :
http://amon.cx/guide/

To uninstall Amon, `curl uninstall.amon.cx | sh`
martinrusev commented 12 years ago

Can you please check if there is something in /usr/local/mongodb?

bgreenlee commented 12 years ago

There is:


$ ls -lR /usr/local/mongodb/
/usr/local/mongodb/:
total 8
drwxr-xr-x 2 root root 4096 2011-12-05 14:47 bin
drwxr-xr-x 2 root root 4096 2011-12-05 14:47 data
-rw-r--r-- 1 root root    0 2011-12-05 14:47 mongodb.log

/usr/local/mongodb/bin:
total 8336
-rwxr-xr-x 1 root root 8532916 2011-12-05 14:47 mongod

/usr/local/mongodb/data:
total 0

If I try to execute mongod, though, I get:

$ sudo /usr/local/mongodb/bin/mongod 
sudo: unable to execute /usr/local/mongodb/bin/mongod: No such file or directory
martinrusev commented 12 years ago

That is a really strange problem. Can you check if mongo is running in the background

ps aux | grep mongo 
bgreenlee commented 12 years ago

No, not running. Also:

$ sudo /etc/init.d/mongodb start
Starting MongoDB: start-stop-daemon: Unable to start /usr/local/mongodb/bin/mongod: No such file or directory (No such file or directory)
mongodb.
martinrusev commented 12 years ago

If there is a problem with mongod this shouldn't be running as well. Is it possible for you to download mongo from http://www.mongodb.org/downloads and replace mongod . I am trying to find the culprit right now.

bgreenlee commented 12 years ago

Looks like the issue is that the installer doesn't check the architecture before downloading mongo. I'm running a 64-bit kernel. When I downloaded the 64-bit version of mongodb, it worked.

Also, note that your script downloads 2.0.0, while the latest production release is 2.0.1 (released 2011-10-22).

martinrusev commented 12 years ago

Thank you so much for that. I am going to add 64 bit checker, first thing tomorrow morning