Sorry for the confusion. I meant script version 2.3.2. It looks like I might have found an old version previously as the line in the current script does not look like the one in the version I had retrieved previously. My version has line
wget http://www.rabbitmq.com/releases/rabbitmq-server/v$rabbitmq/rabbitmq-server-$rabbitmq-1.noarch.rpm I will retrieve a current version and try the install again. Angelo ________________________________ From: [email protected] [[email protected]] on behalf of Jeremy McSpadden [[email protected]] Sent: Thursday, July 25, 2013 11:28 AM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function I have not, but I noticed you mentioned rabbit 2.3. The script installed 3.x. Where did you pull an older version down from? -- 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 25, 2013, at 10:12 AM, "Valbuena, Angelo" <[email protected]<mailto:[email protected]>> wrote: Jeremy, Were you able to test this on a vm? Also, you might want to remove the -1 on the rabbitmq variable in the current version of script as I saw someone was going to download it and try it out. Angelo ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Valbuena, Angelo [[email protected]<mailto:[email protected]>] Sent: Friday, July 19, 2013 1:26 PM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function Something I did not mention. You need to remove the -1 from the rabbitmq variable to run the script in version 2.3.2. Angelo Valbuena Senior Technical Analyst Lee Hecht Harrison | DBM 258 Southhall Lane, Suite 450 Maitland, FL 32751 USA Tel: 407.618.2221 Fax: 407.618.2292 Cell: 407.361.1199 [email protected]<mailto:[email protected]> http://www.lhh.com/ The global talent development leader in connecting people to jobs and helping individuals improve performance. ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Jeremy McSpadden [[email protected]<mailto:[email protected]>] Sent: Friday, July 19, 2013 1:21 PM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function I've done 6.3 and 6.4 with the script. Let me crank up a VM and see of I can replicate. -- 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 19, 2013, at 12:19 PM, "Valbuena, Angelo" <[email protected]<mailto:[email protected]>> wrote: Logged into the server as root. Ran each of the lines one at a time at # command prompt and verified each mv and cd command after each was executed with ls commands and pwd commands. Everything works ok until I run the /home/baruwa/px/bin/paster setup-app /etc/baruwa/production.ini and I get the same error about it trying to run the setup_app() in websetup.py and not being able to connect. I didn't try to run the rest of the commands since I didn't get past this one. Maybe my 6.3 minimal install is missing a package or something? Angelo ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Mohammed Alli [[email protected]<mailto:[email protected]>] Sent: Friday, July 19, 2013 9:42 AM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Valbuena, Angelo Sent: Thursday, July 18, 2013 2:09 PM To: Baruwa users list Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin function I checked the production.ini file for the sqlalchemy.url= settings. I see the postgresql://baruwa:[email protected]:5432/baruwa line. Did a su postgres. Then psql -h 127.0.0.1 -U baruwa -d baruwa. Got prompted for the password. Entered the password that is in the production.ini file on the sqlalchemy.url line and got to the psql prompt. Was able to enter \l and \dt commands and \q normally. Sorry if I am on the wrong path here but I might be in over my head at this point. Angelo Try running the section manually like below, does it run? *Note: Make sure to update $baruwaadmin, $adminpass and $adminemail with proper values before running. mv /home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py /home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py.orig cd /home/baruwa/px/lib/python2.6/site-packages/baruwa/ curl -O https://raw.github.com/fluxlabs/baruwa/master/2.0/extras/websetup.py cd /home/baruwa/ virtualenv --distribute px source px/bin/activate export SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" /home/baruwa/px/bin/paster setup-app /etc/baruwa/production.ini /home/baruwa/px/bin/paster create-admin-user -u "$baruwaadmin" -p "$adminpass" -e "$adminemail" -t UTC /etc/baruwa/production.ini rm -f /home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py mv /home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py.orig /home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py _______________________________________________ http://pledgie.com/campaigns/12056 _______________________________________________ http://pledgie.com/campaigns/12056
_______________________________________________ http://pledgie.com/campaigns/12056

