Question #241950 on Graphite changed:
https://answers.launchpad.net/graphite/+question/241950

    Status: Open => Solved

Maxim confirmed that the question is solved:
Trying to build from git - and it works

# yum list installed 'python27*' | awk '{print $1,$2}'
Installed Packages
python27-build.x86_64 1-10.el6.centos.alt
python27-py2cairo.x86_64 1.10.0-3.el6
python27-pyparsing.noarch 2.0.1-1.el6
python27-python.x86_64 2.7.5-7.el6.centos.alt
python27-python-carbon.noarch 0.9.12-3
python27-python-daemonize.x86_64 2.2.1-1.el6
python27-python-django.x86_64 1.6.1-1.el6
python27-python-django-tagging.x86_64 0.3.1-1.el6
python27-python-libs.x86_64 2.7.5-7.el6.centos.alt
python27-python-twisted.x86_64 13.2.0-1.el6
python27-python-whisper.noarch 0.9.12-2
python27-python-zope-interface.x86_64 4.0.5-1
python27-pytz.noarch 2013.8-1.el6
python27-runtime.x86_64 1-10.el6.centos.alt



# scl enable python27 'python check-dependencies.py'
[OPTIONAL] Unable to import the 'memcache' module, do you have python-memcached 
installed for python 2.7.5? This feature is not required but greatly improves 
performance.
[OPTIONAL] Unable to import the 'ldap' module, do you have python-ldap 
installed for python 2.7.5? Without python-ldap, you will not be able to use 
LDAP authentication in the graphite webapp.
[OPTIONAL] Unable to import the 'txamqp' module, this is required if you want 
to use AMQP as an input to Carbon. Note that txamqp requires python 2.5 or 
greater.
[OPTIONAL] Unable to import the 'python-rrdtool' module, this is required for 
reading RRD.
[OPTIONAL] Unable to import 'cylowess', do you have cylowess installed for 
python 2.7.5? This allows for faster lowess processing (locallly weighted 
scatterplot smoothing) than the standard version, espcially for large datasets. 
You can install from here: https://github.com/livingsocial/cylowess
4 optional dependencies not met. Please consider the optional items before 
proceeding.
All necessary dependencies are met.


scl enable python27 'python setup.py install '

<many successful messages here>

sed  "/#SECRET_KEY/ aSECRET_KEY\='fhkyhuifryifdsfs'"
/opt/graphite/webapp/graphite/local_settings.py.example >
/opt/graphite/webapp/graphite/local_settings.py

cd /root/graphite-web/webapp/ && scl enable python27 'python manage.py syncdb'
Could not import graphite.local_settings, using defaults!
/root/graphite-web/webapp/graphite/settings.py:215: UserWarning: SECRET_KEY is 
set to an unsafe default. This should be set in local_settings.py for better 
security
  warn('SECRET_KEY is set to an unsafe default. This should be set in 
local_settings.py for better security')
Creating tables ...
Creating table account_profile
Creating table account_variable
Creating table account_view
Creating table account_window
Creating table account_mygraph
Creating table dashboard_dashboard_owners
Creating table dashboard_dashboard
Creating table events_event
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_session
Creating table django_admin_log
Creating table django_content_type
Creating table tagging_tag
Creating table tagging_taggeditem

You just installed Django's auth system, which means you don't have any 
superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'root'): 
Email address: 
Password: 
Password (again): 
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)


scl enable python27 '/opt/graphite/bin/run-graphite-devel-server.py --port 
32770 /opt/graphite'
Running Graphite from /opt/graphite under django development server

/opt/rh/python27/root/usr/bin/django-admin runserver --pythonpath 
/opt/graphite/webapp --settings graphite.settings 0.0.0.0:32770
Validating models...

0 errors found
January 09, 2014 - 06:21:21
Django version 1.6.1, using settings 'graphite.settings'
Starting development server at http://0.0.0.0:32770/
Quit the server with CONTROL-C.
[09/Jan/2014 06:21:27] "GET / HTTP/1.0" 200 542
[09/Jan/2014 06:21:27] "GET /browser/header/ HTTP/1.0" 200 1030
[09/Jan/2014 06:21:27] "GET /composer/? HTTP/1.0" 200 1622
[09/Jan/2014 06:21:27] "GET /content/img/carbon-fiber.png HTTP/1.0" 200 3756
[09/Jan/2014 06:21:27] "GET /content/js/ext/adapter/ext/ext-base.js HTTP/1.0" 
200 10591
[09/Jan/2014 06:21:27] "GET /content/js/ext/ext-all.js HTTP/1.0" 200 198538
[09/Jan/2014 06:21:27] "GET /content/js/completer.js HTTP/1.0" 200 1200
[09/Jan/2014 06:21:27] "GET /content/js/composer.js HTTP/1.0" 200 4893
[09/Jan/2014 06:21:27] "GET /content/js/browser.js HTTP/1.0" 200 5388
[09/Jan/2014 06:21:27] "GET /content/js/composer_widgets.js HTTP/1.0" 200 25148
[09/Jan/2014 06:21:28] "GET /content/js/ext/resources/css/ext-all.css HTTP/1.0" 
200 75921
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/tabs/tab-strip-bg.gif HTTP/1.0" 200 172
[09/Jan/2014 06:21:28] "GET /content/js/ext/resources/images/default/s.gif 
HTTP/1.0" 200 64
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/tree/folder.gif HTTP/1.0" 200 394
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/tree/elbow-plus.gif HTTP/1.0" 200 230
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/layout/mini-left.gif HTTP/1.0" 200 147
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/tree/elbow-end-plus.gif HTTP/1.0" 200 
227
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/tabs/tabs-sprite.gif HTTP/1.0" 200 1644
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/window/left-corners.png HTTP/1.0" 200 
230
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/window/right-corners.png HTTP/1.0" 200 
286
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/panel/tool-sprites.gif HTTP/1.0" 200 
5324
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/toolbar/bg.gif HTTP/1.0" 200 266
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/window/top-bottom.png HTTP/1.0" 200 211
[09/Jan/2014 06:21:28] "GET /content/img/updateGraph.gif HTTP/1.0" 200 385
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/window/left-right.png HTTP/1.0" 200 178
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/grid/grid-blue-split.gif HTTP/1.0" 200 
82
[09/Jan/2014 06:21:28] "GET /content/img/calBt.gif HTTP/1.0" 200 1488
[09/Jan/2014 06:21:28] "GET /content/img/arrow1.gif HTTP/1.0" 200 619
[09/Jan/2014 06:21:28] "GET /content/img/link.png HTTP/1.0" 200 1296
[09/Jan/2014 06:21:28] "GET /content/img/line_chart.png HTTP/1.0" 200 1839
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/button/arrow.gif HTTP/1.0" 200 119
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/button/btn.gif HTTP/1.0" 200 4353
[09/Jan/2014 06:21:28] "GET /render HTTP/1.0" 500 863
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/s-handle.gif HTTP/1.0" 200 628
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/e-handle.gif HTTP/1.0" 200 914
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/se-handle.gif HTTP/1.0" 200 177
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/ne-handle.gif HTTP/1.0" 200 177
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/nw-handle.gif HTTP/1.0" 200 182
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/sizer/sw-handle.gif HTTP/1.0" 200 177
[09/Jan/2014 06:21:28] "GET /content/js/ext/resources/images/default/shadow.png 
HTTP/1.0" 200 366
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/shadow-lr.png HTTP/1.0" 200 167
[09/Jan/2014 06:21:28] "GET 
/content/js/ext/resources/images/default/shadow-c.png HTTP/1.0" 200 148
[09/Jan/2014 06:21:28] "GET /render/?width=586&height=308&_salt=1389270088.677 
HTTP/1.0" 500 863

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to