Jeremy, thank you for the reply. I have selinux set to disabled in the config 
and the script doesn't warn me so it doesn't see it. I also set the autopause 
to 1. I don't see any errors at each step. From what I can see below, the 
baruwa db is there and ready for the Create tables section of the setup-app.



postgres=# \l
                                  List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access 
privileges
-----------+----------+----------+-------------+-------------+-----------------------
 baruwa    | baruwa   | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : 
postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : 
postgres=CTc/postgres
(4 rows)




Angelo
________________________________
From: [email protected] [[email protected]] on 
behalf of Jeremy McSpadden [[email protected]]
Sent: Thursday, July 18, 2013 12:39 PM
To: Baruwa users list
Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function

Do you have selinux disabled ?

Does the database exist ? Were their any errors during setup previously to this 
error? I've seen issues where timeouts occur during the pylons download and 
install. Put it into semi-debug mode and view each step to confirm no errors.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless 
Solutions
Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 
850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Jul 18, 2013, at 11:10 AM, "Valbuena, Angelo" 
<[email protected]<mailto:[email protected]>> wrote:

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]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] on 
behalf of Mohammed Alli [[email protected]<mailto:[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:[email protected]> 
[mailto:baruwa-
[email protected]<mailto:[email protected]>] On Behalf Of 
Valbuena, Angelo
Sent: Wednesday, July 17, 2013 11:38 PM
To: [email protected]<mailto:[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

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to