Unable to configure handler 'local': [Errno 111] Connection refused

688 views
Skip to first unread message

Alexandre Domont

unread,
Sep 18, 2013, 10:21:18 AM9/18/13
to edx-...@googlegroups.com
Hello all,

I have a problem when a try to install Installing edX on a single Ubuntu 12.04 (Precise) server

ansible-playbook -c local --limit "localhost:127.0.0.1" ./edx_sandbox.yml -i "localhost,"

I'm stuck with the following error :

TASK: [check if django can collect lms static data] *************************** 
failed: [localhost] => {"changed": true, "cmd": "SERVICE_VARIANT=lms django-admin.py help collectstatic --pythonpath=/opt/wwc/edx-platform --settings=lms.envs.aws ", "delta": "0:00:00.186162", "end": "2013-09-18 10:08:10.128579", "item": "", "rc": 1, "start": "2013-09-18 10:08:09.942417"}
stderr: Traceback (most recent call last):
  File "/opt/edx/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 370, in execute
    self.fetch_command(args[2]).print_help(self.prog_name, args[2])
  File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 252, in fetch_command
    app_name = get_commands()[subcommand]
  File "/opt/edx/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 101, in get_commands
    apps = settings.INSTALLED_APPS
  File "/opt/edx/local/lib/python2.7/site-packages/django/utils/functional.py", line 184, in inner
    self._setup()
  File "/opt/edx/local/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/opt/edx/local/lib/python2.7/site-packages/django/conf/__init__.py", line 135, in __init__
    logging_config_func(self.LOGGING)
  File "/usr/lib/python2.7/logging/config.py", line 777, in dictConfig
    dictConfigClass(config).configure()
  File "/usr/lib/python2.7/logging/config.py", line 575, in configure
    '%r: %s' % (name, e))
ValueError: Unable to configure handler 'local': [Errno 111] Connection refused
...ignoring

--
tx

John Jarvis

unread,
Sep 18, 2013, 11:08:17 AM9/18/13
to Alexandre Domont, edx-...@googlegroups.com
Are you able to get through the installation instructions for vagrant?
Are you using the release branch of the configuration repo or master?
-John

Alexandre Domont

unread,
Sep 18, 2013, 11:13:48 AM9/18/13
to edx-...@googlegroups.com, Alexandre Domont

Hikari Boulders

unread,
Sep 18, 2013, 1:43:58 PM9/18/13
to edx-...@googlegroups.com
I see a similar error on one machine. But I see it in the nginx logs.

Do you see something in the nginx error logs?

Did you reboot the machine and then gotten the error?
--


"The future ain't what it used to be."

-- Yogi Berra

Alexandre Domont

unread,
Sep 20, 2013, 6:00:57 AM9/20/13
to edx-...@googlegroups.com
ok...finally I suspect my installation on OpenVZ cause problem .. especially with mongodb! I install on a KVM is better! 
Reply all
Reply to author
Forward
0 new messages