ClutchIO on amazon ec2

183 views
Skip to first unread message

Kiran Sandeep

unread,
Feb 24, 2013, 4:59:59 AM2/24/13
to clut...@googlegroups.com
Dear members,

I am new to clutchIO and trying to setup the server on amazon linux ec2. When I try to execute the command clutch-all conf.py, it says
Starting clutchrpc on 0.0.0.0:41674 ...

and never starts. Any help and guidance will be really appreciated


Sandeep

Kiran Sandeep

unread,
Feb 25, 2013, 5:33:34 AM2/25/13
to clut...@googlegroups.com
 Also, I am getting psycopg2.operational Error:FATAL: Ident Authenication failed for user "clutch". If anybody got the same error, please help me.
Thank you very much.

Kiran Sandeep

unread,
Mar 3, 2013, 11:19:48 AM3/3/13
to clut...@googlegroups.com
Finally fixed all the issues and deployed clutchio on amazon ec2 instance.
Let me know if anybody has any issues with the set up.

Regards,
Sandeep


On Sunday, February 24, 2013 11:59:59 AM UTC+2, Kiran Sandeep wrote:

Laurent Mascherpa

unread,
Mar 11, 2013, 2:48:39 PM3/11/13
to Kiran Sandeep, clut...@googlegroups.com
Hi Kiran,

I've started an ubuntu on EC2, here is what I get when I do: clutch-all conf.py

Traceback (most recent call last):
  File "/usr/local/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
    cursor = connection.cursor()
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 306, in cursor
    cursor = self.make_debug_cursor(self._cursor())
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 177, in _cursor
    self.connection = Database.connect(**conn_params)
  File "/usr/local/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
psycopg2.OperationalError: fe_sendauth: no password supplied
Starting clutchtunnel on 127.0.0.1:41675 ...
2013-03-11 18:37:50 [18543] [INFO] Starting gunicorn 0.14.6
2013-03-11 18:37:50 [18543] [INFO] Listening at: http://127.0.0.1:8000 (18543)
2013-03-11 18:37:50 [18543] [INFO] Using worker: sync
2013-03-11 18:37:50 [18550] [INFO] Booting worker with pid: 18550

Starting clutchrpc on 0.0.0.0:41674 ...

If I try to connect to localhost:8000, I get an internal server error.
my conf.py contains a password, psycopg2 is installed according to pip.

I didn't manage to forward port 8000 properly either it seems.

Any help is welcome.

Laurent,


--
You received this message because you are subscribed to the Google Groups "Clutch.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clutchio+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

jamie_...@hotmail.com

unread,
Apr 25, 2013, 8:35:43 AM4/25/13
to clut...@googlegroups.com
Hi All, 

I am trying to install clutch.io on CentOS 6.3 and I am now getting the following output when I run 
clutch-all conf.py.  Can anyone shed any light on this?  I am a Linux newbe...(relatively) 

 clutch-all conf.py
/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/conf/__init__.py:                                                                             75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STA                                                                             TIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/conf/__init__.py:                                                                             110: DeprecationWarning: The SECRET_KEY setting must not be empty.
  warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning)
Traceback (most recent call last):
  File "/usr/bin/django-admin.py", line 5, in <module>
    pkg_resources.run_script('Django==1.4.1', 'django-admin.py')
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_scr                                                                             ipt
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_sc                                                                             ript
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/EGG-INFO/scripts                                                                             /django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/mana                                                                             gement/commands/syncdb.py", line 57, in handle_noargs
    cursor = connection.cursor()
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/db/backen                                                                             ds/__init__.py", line 306, in cursor
    cursor = self.make_debug_cursor(self._cursor())
  File "/usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/db/backen                                                                             ds/postgresql_psycopg2/base.py", line 177, in _cursor
    self.connection = Database.connect(**conn_params)
  File "/usr/lib/python2.6/site-packages/psycopg2-2.4.5-py2.6-linux-i686.egg/psy                                                                             copg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  Ident authentication failed for user "clutch"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/clutchserver-0.1.0-py2.6.egg/clutchrpc/                                                                             app.py", line 21, in <module>
    import importlib
ImportError: No module named importlib
Starting clutchtunnel on 127.0.0.1:41675 ...
2013-04-25 13:29:48 [4006] [INFO] Starting gunicorn 0.14.6
2013-04-25 13:29:48 [4006] [INFO] Listening at: http://127.0.0.1:8000 (4006)
2013-04-25 13:29:48 [4006] [INFO] Using worker: sync
2013-04-25 13:29:48 [4014] [INFO] Booting worker with pid: 4014
2013-04-25 13:29:53 [4006] [INFO] Handling signal: winch
2013-04-25 13:29:53 [4006] [INFO] graceful stop of workers
2013-04-25 13:29:53 [4014] [INFO] Worker exiting (pid: 4014)

Kind regards, 

Jamie Worsley
Reply all
Reply to author
Forward
0 new messages