Checked the production.ini in /etc/baruwa and it has the right username:password on the line for sqlalchemy.url. Everything runs fine when launching the script until it hits the following lines and then the errors are from the last line below where it runs the setup-app. I checked the websetup.py and it matches the one on the fluxlabs site and I see where it prints the comment about Creating tables so we should be good there. Any suggestions where to look next would be appreciated.
- lines from script - mv $home/px/lib/python$pythonver/site-packages/baruwa/websetup.py $home/px/lib/python$pythonver/site-packages/baruwa/websetup.py.orig cd $home/px/lib/python$pythonver/site-packages/baruwa/ curl -O $fluxlabsgit/extras/websetup.py cd $home virtualenv --distribute px source px/bin/activate export SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" $home/px/bin/paster setup-app $etcdir/production.ini Angelo ________________________________________ From: [email protected] [[email protected]] on behalf of Mohammed Alli [[email protected]] Sent: Thursday, July 18, 2013 8:33 AM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function > -----Original Message----- > From: [email protected] [mailto:baruwa- > [email protected]] On Behalf Of Valbuena, Angelo > Sent: Wednesday, July 17, 2013 11:38 PM > To: [email protected] > Subject: [Baruwa] Error using Jeremy centos script in baruwa admin > function > > async=async) > File "/home/baruwa/px/lib/python2.6/site- > packages/eventlet/support/psycopg2_patcher.py", line 44, in > eventlet_wait_callback > state = conn.poll() > sqlalchemy.exc.OperationalError: (OperationalError) asynchronous > connection failed None None > > Angelo > _______________________________________________ I could be wrong but looks like a connection issue to the baruwa database. Check production.ini if your baruwa username and password is inserted correctly. _______________________________________________ http://pledgie.com/campaigns/12056 _______________________________________________ http://pledgie.com/campaigns/12056

