Installation problem - CDR-stats

160 views
Skip to first unread message

Guindy Bm

unread,
Jan 23, 2018, 6:52:27 AM1/23/18
to CDR-Stats
Hi, i'm facing the dependencies and 404 error after installing CDR-stats. Since as per the google group threads i think no one have successfully installed this.

Using the below link :
http://www.cdr-stats.org/documentation/beginners-guide/

cd /usr/src/ ; rm install-cdr-stats.sh ; wget –no-check-certificate https://raw.github.com/cdr-stats/cdr-stats/master/install/install-cdr-stats.sh -O install-cdr-stats.sh ; bash install-cdr-stats.sh


(cdr-stats) root@cdrstats:/usr/share/cdrstats# tail -f /var/log/cdr-stats/djcelery_error.log
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/opt/miniconda/envs/cdr-stats/lib/python2.7/site-packages/django/db/utils.py", line 242, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/opt/miniconda/envs/cdr-stats/lib/python2.7/site-packages/django/db/utils.py", line 108, in load_backend
    return import_module('%s.base' % backend_name)
  File "/opt/miniconda/envs/cdr-stats/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/opt/miniconda/envs/cdr-stats/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 27, in <module>
    raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named psycopg2


--------------------------------------------------------------------------

(cdr-stats) root@cdrstats:/usr/share/cdrstats# tail -f /var/log/nginx/cdrstats
cdrstats_access.log  cdrstats.access_log  cdrstats_error.log   cdrstats.error_log
(cdr-stats) root@cdrstats:/usr/share/cdrstats# tail -f /var/log/nginx/cdrstats.error_log
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-modal.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-modal.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-dropdown.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-dropdown.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-scrollspy.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-scrollspy.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-tab.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-tab.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-tooltip.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-tooltip.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-popover.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-popover.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-button.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-button.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-collapse.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-collapse.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-carousel.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-carousel.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"
2018/01/23 06:23:22 [error] 31470#31470: *1 open() "/var/www/cdr-stats/js/bootstrap-typeahead.js" failed (2: No such file or directory), client: 192.168.6.111, server: , request: "GET /js/bootstrap-typeahead.js HTTP/1.1", host: "192.168.6.12", referrer: "http://192.168.6.12/"

Reply all
Reply to author
Forward
0 new messages