After fresh installation failed to configure db

Asked by Boby

Hello..
I was trying to install bombardier 1.0 in a fresh Centos Machine. CentOS release 5.4. I was following the installation instructions provided in the site.. Please see below the messages am getting during the installation..

#easy_install bombardier_server
-----------------------------------------------------
easy_install bombardier_server
Searching for bombardier-server
Reading http://cheeseshop.python.org/pypi/bombardier_server/
Reading http://bombardierinstaller.org/
Reading http://cheeseshop.python.org/pypi/bombardier_server/1.00-730
Best match: bombardier-server 1.00-730
Downloading http://pypi.python.org/packages/source/b/bombardier_server/bombardier_server-1.00-730.tar.gz#md5=d7c59b1ae366586271095bb7563a2210
Processing bombardier_server-1.00-730.tar.gz
Running bombardier_server-1.00-730/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BA-sb2/bombardier_server-1.00-730/egg-dist-tmp-rSOMhd
/usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'provides'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
bombardier_server.web.cnm.manage: module references __file__
Adding bombardier-server 1.00-730 to easy-install.pth file
Installing bdr_server_quickstart script to /usr/bin

Installed /usr/lib/python2.4/site-packages/bombardier_server-1.00_730-py2.4.egg
Processing dependencies for bombardier-server
Searching for pexpect
Reading http://cheeseshop.python.org/pypi/pexpect/
Reading http://pexpect.sourceforge.net/
Reading http://sourceforge.net/project/showfiles.php?group_id=59762
Reading http://cheeseshop.python.org/pypi/pexpect/2.4
Best match: pexpect 2.4
Downloading http://pypi.python.org/packages/source/p/pexpect/pexpect-2.4.tar.gz#md5=fe82d69be19ec96d3a6650af947d5665
Processing pexpect-2.4.tar.gz
Running pexpect-2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iVFybL/pexpect-2.4/egg-dist-tmp-JI3WAo
zip_safe flag not set; analyzing archive contents...
FSM: top-level module may be 'python -m' script
Adding pexpect 2.4 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/pexpect-2.4-py2.4.egg
Searching for Django
Reading http://cheeseshop.python.org/pypi/Django/
Reading http://cheeseshop.python.org/pypi/Django/1.0.4
Reading http://www.djangoproject.com/
Reading http://cheeseshop.python.org/pypi/Django/1.1.1
Best match: Django 1.1.1
Downloading http://media.djangoproject.com/releases/1.1.1/Django-1.1.1.tar.gz
Processing Django-1.1.1.tar.gz
Running Django-1.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UTof3E/Django-1.1.1/egg-dist-tmp-iSKXb3
zip_safe flag not set; analyzing archive contents...
django.contrib.admindocs.views: module references __path__
django.contrib.gis.gdal.tests.test_ds: module references __file__
django.contrib.gis.tests.layermap.tests: module references __file__
django.contrib.gis.tests.geoapp.tests: module references __file__
django.contrib.admin.__init__: module references __path__
django.contrib.auth.tests.views: module references __file__
django.conf.__init__: module references __file__
django.conf.project_template.manage: module references __file__
django.views.i18n: module references __file__
django.core.management.base: module references __path__
django.core.management.__init__: module references __file__
django.core.management.__init__: module references __path__
django.core.management.sql: module references __file__
django.core.management.commands.loaddata: module references __file__
django.core.servers.basehttp: module references __path__
django.templatetags.__init__: module references __path__
django.template.loaders.app_directories: module references __file__
django.test._doctest: module references __file__
django.test._doctest: module MAY be using inspect.getsourcefile
django.test.simple: module references __file__
django.db.__init__: module references __path__
django.db.models.loading: module references __file__
django.utils.autoreload: module references __file__
django.utils.version: module references __path__
django.utils.translation.trans_real: module references __file__
Adding Django 1.1.1 to easy-install.pth file
Installing django-admin.py script to /usr/bin

Installed /usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg
Searching for Pyro
Reading http://cheeseshop.python.org/pypi/Pyro/
Reading http://pyro.sourceforge.net/
Reading http://cheeseshop.python.org/pypi/Pyro/3.10
Best match: Pyro 3.10
Downloading http://downloads.sourceforge.net/project/pyro/Pyro/3.10/Pyro-3.10.tar.gz?use_mirror=autoselect
Processing Pyro-3.10.tar.gz
Running Pyro-3.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-V56Pvz/Pyro-3.10/egg-dist-tmp-bSE9HG
Pyro Version = 3.10
warning: no previously-included files matching '*/CVS/*' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Pyro.protocol: module references __file__
Pyro.naming: module references __file__
Pyro.protocol: module references __file__
Pyro.core: module references __file__
Pyro.naming: module references __file__
Pyro.core: module references __file__
Adding Pyro 3.10 to easy-install.pth file
Installing pyro-nsd script to /usr/bin
Installing pyro-ns script to /usr/bin
Installing pyro-xnsc script to /usr/bin
Installing pyro-nsc script to /usr/bin
Installing pyro-genguid script to /usr/bin
Installing pyro-esd script to /usr/bin
Installing pyro-rns script to /usr/bin
Installing pyro-es script to /usr/bin
Installing pyro-wxnsc script to /usr/bin

Installed /usr/lib/python2.4/site-packages/Pyro-3.10-py2.4.egg
Searching for bombardier-core
Reading http://cheeseshop.python.org/pypi/bombardier_core/
Reading http://cheeseshop.python.org/pypi/bombardier_core/1.00-730
Best match: bombardier-core 1.00-730
Downloading http://pypi.python.org/packages/source/b/bombardier_core/bombardier_core-1.00-730.tar.gz#md5=3fb5a704cebb6bd102c5e26d5e71a445
Processing bombardier_core-1.00-730.tar.gz
Running bombardier_core-1.00-730/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rEGqpz/bombardier_core-1.00-730/egg-dist-tmp-vwV9OD
zip_safe flag not set; analyzing archive contents...
bombardier_core.Spkg: module MAY be using inspect.stack
Adding bombardier-core 1.00-730 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/bombardier_core-1.00_730-py2.4.egg
Searching for PyYAML
Reading http://cheeseshop.python.org/pypi/PyYAML/
Reading http://pyyaml.org/wiki/PyYAML
Reading http://cheeseshop.python.org/pypi/PyYAML/3.09
Best match: PyYAML 3.09
Downloading http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip
Processing PyYAML-3.09.zip
Running PyYAML-3.09/setup.py -q bdist_egg --dist-dir /tmp/easy_install-r-TE9x/PyYAML-3.09/egg-dist-tmp-reodqO
unable to execute gcc: No such file or directory

libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
 specify the option --include-dirs or uncomment and
 modify the parameter include_dirs in setup.cfg)
zip_safe flag not set; analyzing archive contents...
Adding PyYAML 3.09 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/PyYAML-3.09-py2.4-linux-i686.egg
Searching for pycrypto
Reading http://cheeseshop.python.org/pypi/pycrypto/
Reading http://www.amk.ca/python/code/crypto
Reading http://cheeseshop.python.org/pypi/pycrypto/2.0.1
Best match: pycrypto 2.0.1
Downloading http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
Processing pycrypto-2.0.1.tar.gz
Running pycrypto-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ePC_JB/pycrypto-2.0.1/egg-dist-tmp-396hIc
unable to execute gcc: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
----------------------------------------------------------------------------------
#yum install gcc

#easy_install bombardier_server
----------------------------------------------------------------------------------
easy_install bombardier_server
Searching for bombardier-server
Best match: bombardier-server 1.00-730
Processing bombardier_server-1.00_730-py2.4.egg
bombardier-server 1.00-730 is already the active version in easy-install.pth
Installing bdr_server_quickstart script to /usr/bin

Using /usr/lib/python2.4/site-packages/bombardier_server-1.00_730-py2.4.egg
Processing dependencies for bombardier-server
Searching for pycrypto
Reading http://cheeseshop.python.org/pypi/pycrypto/
Reading http://www.amk.ca/python/code/crypto
Reading http://cheeseshop.python.org/pypi/pycrypto/2.0.1
Best match: pycrypto 2.0.1
Downloading http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
Processing pycrypto-2.0.1.tar.gz
Running pycrypto-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vvBI3S/pycrypto-2.0.1/egg-dist-tmp-FeZhXV
src/MD2.c:15:20: error: Python.h: No such file or directory
src/MD2.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from src/MD2.c:118:
src/hash_template.c:29: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/hash_template.c:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
src/hash_template.c: In function ‘newALGobject’:
src/hash_template.c:42: warning: implicit declaration of function ‘PyObject_New’
src/hash_template.c:42: error: expected expression before ‘ALGobject’
src/hash_template.c:42: warning: assignment makes pointer from integer without a cast
src/hash_template.c: At top level:
src/hash_template.c:49: error: expected ‘)’ before ‘*’ token
src/hash_template.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALG_methods’
src/hash_template.c:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:163: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALGtype’
src/hash_template.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:219: error: array type has incomplete element type
src/hash_template.c:220: error: ‘PyCFunction’ undeclared here (not in a function)
src/hash_template.c:220: error: expected ‘}’ before ‘ALG_new’
src/hash_template.c: In function ‘initMD2’:
src/hash_template.c:236: error: ‘PyObject’ undeclared (first use in this function)
src/hash_template.c:236: error: (Each undeclared identifier is reported only once
src/hash_template.c:236: error: for each function it appears in.)
src/hash_template.c:236: error: ‘m’ undeclared (first use in this function)
src/hash_template.c:238: error: ‘ALGtype’ undeclared (first use in this function)
src/hash_template.c:238: error: ‘PyType_Type’ undeclared (first use in this function)
src/hash_template.c:239: warning: implicit declaration of function ‘Py_InitModule’
src/hash_template.c:242: error: ‘o’ undeclared (first use in this function)
src/hash_template.c:242: warning: implicit declaration of function ‘PyInt_FromLong’
src/hash_template.c:242: warning: implicit declaration of function ‘PyDict_SetItemString’
src/hash_template.c:242: warning: implicit declaration of function ‘PyModule_GetDict’
src/hash_template.c:242: warning: implicit declaration of function ‘Py_DECREF’
src/hash_template.c:245: warning: implicit declaration of function ‘PyErr_Occurred’
src/hash_template.c:246: warning: implicit declaration of function ‘Py_FatalError’
error: Setup script exited with error: command 'gcc' failed with exit status 1
-----------------------------------------------------------------------------------------------
#yum install python-devel

#easy_install bombardier_server
------------------------------------------------------------------------------------
Searching for bombardier-server
Best match: bombardier-server 1.00-730
Processing bombardier_server-1.00_730-py2.4.egg
bombardier-server 1.00-730 is already the active version in easy-install.pth
Installing bdr_server_quickstart script to /usr/bin

Using /usr/lib/python2.4/site-packages/bombardier_server-1.00_730-py2.4.egg
Processing dependencies for bombardier-server
Searching for pycrypto
Reading http://cheeseshop.python.org/pypi/pycrypto/
Reading http://www.amk.ca/python/code/crypto
Reading http://cheeseshop.python.org/pypi/pycrypto/2.0.1
Best match: pycrypto 2.0.1
Downloading http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
Processing pycrypto-2.0.1.tar.gz
Running pycrypto-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-aJIxBB/pycrypto-2.0.1/egg-dist-tmp-YJ-ln1
src/MD2.c: In function ‘hash_digest’:
src/MD2.c:115: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/MD2.c:118:
src/hash_template.c: In function ‘ALG_hexdigest’:
src/hash_template.c:108: warning: pointer targets in assignment differ in signedness
src/hash_template.c:112: warning: pointer targets in assignment differ in signedness
src/MD4.c: In function ‘hash_digest’:
src/MD4.c:200: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/MD4.c:203:
src/hash_template.c: In function ‘ALG_hexdigest’:
src/hash_template.c:108: warning: pointer targets in assignment differ in signedness
src/hash_template.c:112: warning: pointer targets in assignment differ in signedness
src/RIPEMD.c: In function ‘hash_digest’:
src/RIPEMD.c:218: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/RIPEMD.c:507:
src/hash_template.c: In function ‘ALG_hexdigest’:
src/hash_template.c:108: warning: pointer targets in assignment differ in signedness
src/hash_template.c:112: warning: pointer targets in assignment differ in signedness
src/hash_template.c: In function ‘ALG_update’:
src/hash_template.c:139: warning: pointer targets in passing argument 2 of ‘hash_update’ differ in signedness
src/hash_template.c: In function ‘ALG_new’:
src/hash_template.c:211: warning: pointer targets in passing argument 2 of ‘hash_update’ differ in signedness
src/SHA256.c: In function ‘hash_digest’:
src/SHA256.c:197: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/SHA256.c:200:
src/hash_template.c: In function ‘ALG_hexdigest’:
src/hash_template.c:108: warning: pointer targets in assignment differ in signedness
src/hash_template.c:112: warning: pointer targets in assignment differ in signedness
In file included from src/AES.c:1459:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/ARC2.c:185:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/Blowfish.c:499:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/CAST.c:436:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/DES.c:665:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/DES3.c:688:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/IDEA.c:196:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/RC5.c:212:
src/block_template.c: In function ‘ALG_Encrypt’:
src/block_template.c:371: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:388: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALG_Decrypt’:
src/block_template.c:561: warning: pointer targets in passing argument 2 of ‘block_encrypt’ differ in signedness
src/block_template.c:578: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/block_template.c: In function ‘ALGgetattr’:
src/block_template.c:680: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
In file included from src/ARC4.c:70:
src/stream_template.c: In function ‘ALG_Encrypt’:
src/stream_template.c:135: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/stream_template.c: In function ‘ALG_Decrypt’:
src/stream_template.c:164: warning: pointer targets in passing argument 2 of ‘stream_encrypt’ differ in signedness
In file included from src/XOR.c:52:
src/stream_template.c: In function ‘ALG_Encrypt’:
src/stream_template.c:135: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
src/stream_template.c: In function ‘ALG_Decrypt’:
src/stream_template.c:164: warning: pointer targets in passing argument 2 of ‘stream_encrypt’ differ in signedness
zip_safe flag not set; analyzing archive contents...
Adding pycrypto 2.0.1 to easy-install.pth file
Installed /usr/lib/python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-i686.egg

-----------------------------------------------------------------------------

#easy_install bombardier_server
Searching for bombardier-server
Best match: bombardier-server 1.00-730
Processing bombardier_server-1.00_730-py2.4.egg
bombardier-server 1.00-730 is already the active version in easy-install.pth
Installing bdr_server_quickstart script to /usr/bin

Using /usr/lib/python2.4/site-packages/bombardier_server-1.00_730-py2.4.egg
Processing dependencies for bombardier-server

-----------------------------------------------------------------

#ssh-keygen -t dsa

#bdr_server_quickstart
--------------------------------------------------------------------

bdr_server_quickstart
Perform initial Bombardier Server environment setup? (y/n): Y
Where do you want the root of your repository? [/var/deploy]:

Creating directory structure in /var/deploy...

Bombardier Server requires the public SSH DSA key to be stored
in the /var/deploy/admin directory.
ROOT: /root/.ssh/id_dsa.pub

Creating repository in /var/deploy/cmdb...
sh: bzr: command not found
%% ABORTING: Unable to run bzr init /var/deploy/cmdb

-----------------------------------------------------------------
#rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
#yum install bzr

-----------------------------------------------------------------------------------
#bdr_server_quickstart
Perform initial Bombardier Server environment setup? (y/n): Y
Where do you want the root of your repository? [/var/deploy]:

Creating directory structure in /var/deploy...

Bombardier Server requires the public SSH DSA key to be stored
in the /var/deploy/admin directory.
ROOT: /root/.ssh/id_dsa.pub

Creating repository in /var/deploy/cmdb...
added /var/deploy/cmdb/package
added /var/deploy/cmdb/machine
added /var/deploy/cmdb/bom
added /var/deploy/cmdb/include
Committing to: /var/deploy/cmdb/
added bom
added include
added machine
added package
Committed revision 1.

You will need to set your configuration key as part of the setup process.
This key will be used to encrypt sensitive configuration items.
Please enter your configuration key:
Please re-enter your configuration key:
Writing configuration to /etc/bombardier.yml...

Basic server setup complete.
Now configure your web server according to the instructions
in your documentation.

--------------------------------------------------------------------------------------------------------
when checked for folder /usr/lib/python2.5/site-packages/ .. I could see /usr/lib/python2.4/site-packages/

#cd /usr/lib/python2.4/site-packages/bombardier_server-1.00_730-py2.4.egg/bombardier_server/web/cnm/
#python manage.py syncdb

Traceback (most recent call last):
  File "manage.py", line 11, in ?
    execute_manager(settings)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/management/__init__.py", line 362, in execute_manager
    utility.execute()
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/management/__init__.py", line 303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/management/base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/management/base.py", line 213, in execute
    translation.activate('en-us')
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/translation/__init__.py", line 73, in activate
    return real_activate(language)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/translation/__init__.py", line 43, in delayed_loader
    return g['real_%s' % caller](*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/translation/trans_real.py", line 205, in activate
    _active[currentThread()] = translation(language)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/translation/trans_real.py", line 194, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/translation/trans_real.py", line 180, in _fetch
    app = import_module(appname)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/admin/__init__.py", line 1, in ?
    from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/admin/helpers.py", line 7, in ?
    from django.contrib.admin.util import flatten_fieldsets
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/admin/util.py", line 2, in ?
    from django.db import models
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/db/__init__.py", line 41, in ?
    backend = load_backend(settings.DATABASE_ENGINE)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/db/__init__.py", line 17, in load_backend
    return import_module('.base', 'django.db.backends.%s' % backend_name)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/db/backends/sqlite3/base.py", line 30, in ?
    raise ImproperlyConfigured, "Error loading %s: %s" % (module, exc)
django.core.exceptions.ImproperlyConfigured: Error loading pysqlite2 module: No module named pysqlite2
----------------------------------------------------------------------------------------------

Please let me know if I am missing any configuration..

Question information

Revision history for this message
Peter Banka (pbanka) said :
#1

Boby, I created a bug based on this. I will try to reproduce this on a clean CentOS system and either fix the documentation, fix the code or both. I'll try to get to this tomorrow.

Thanks for your patience,
--Peter

Revision history for this message
Peter Banka (pbanka) said :
#2

Boby, you were missing pysqlite. I will update the documentation, but in the mean-time, you need to perform the following:

    [root@centostest setuptools-0.6c11]# yum install sqlite-devel

Then easy_install pysqlite:

    [root@centostest setuptools-0.6c11]# easy_install pysqlite
    Searching for pysqlite
    Reading http://pypi.python.org/simple/pysqlite/
    Reading http://pysqlite.googlecode.com/
    Reading http://code.google.com/p/pysqlite/downloads/list
    Best match: pysqlite 2.6.0
    Downloading http://pysqlite.googlecode.com/files/pysqlite-2.6.0.tar.gz
    Processing pysqlite-2.6.0.tar.gz
    Running pysqlite-2.6.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IW-ZmP/pysqlite-2.6.0/egg-dist-tmp-CWMUpO
    zip_safe flag not set; analyzing archive contents...
    Adding pysqlite 2.6.0 to easy-install.pth file

Then, you should be able to run the syncdb:
    [root@centostest cnm]# python manage.py syncdb
    Creating table django_content_type
    Creating table django_admin_log
    Creating table auth_permission
    Creating table auth_group
    Creating table auth_user
    Creating table auth_message
    Creating table django_session
    Creating table django_site
    Creating table configs_serverconfig
    Creating table configs_comment
    Creating table configs_commentedjob

    You just installed Django's auth system, which means you don't have any superusers defined.
    Would you like to create one now? (yes/no): yes
    Username (Leave blank to use 'root'): admin
    E-mail address: <email address hidden>
    Password:
    Password (again):
    Superuser created successfully.
    Installing index for admin.LogEntry model
    Installing index for auth.Permission model
    Installing index for auth.Message model
    Installing index for configs.CommentedJob model

Revision history for this message
Peter Banka (pbanka) said :
#3

Peter Banka suggests this article as an answer to your question:
FAQ #1046: “Installing Bombardier Server on Centos5”.

Revision history for this message
Boby (boby-kuriakose) said :
#4

Hi Peter,
As per the suggestion done the following..
----------------
#yum install sqlite-devel
#easy_install pysqlite
#python manage.py syncdb
#python manage.py runserver
----------------------
#easy_install bombardier_cli
Searching for bombardier-cli
Best match: bombardier-cli 1.00-748
Processing bombardier_cli-1.00_748-py2.4.egg
bombardier-cli 1.00-748 is already the active version in easy-install.pth
Installing bdr script to /usr/bin
Installing dsl script to /usr/bin
Installing ymlEncrypter.py script to /usr/bin

Using /usr/lib/python2.4/site-packages/bombardier_cli-1.00_748-py2.4.egg
Processing dependencies for bombardier-cli
Searching for pycurl
Reading http://cheeseshop.python.org/pypi/pycurl/
Reading http://pycurl.sourceforge.net/
Reading http://pycurl.sourceforge.net/download/
Reading http://cheeseshop.python.org/pypi/pycurl/7.18.1
Best match: pycurl 7.19.0
Downloading http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
Processing pycurl-7.19.0.tar.gz
Running pycurl-7.19.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tofe1o/pycurl-7.1 9.0/egg-dist-tmp-Rpp5-G
Using curl-config (libcurl 7.15.5)
src/pycurl.c:61:4: error: #error "Need libcurl version 7.19.0 or greater to compile pycurl ."
src/pycurl.c:1134: error: expected declaration specifiers or ‘...’ before ‘curlsocktype’
src/pycurl.c:1135: warning: ‘struct curl_sockaddr’ declared inside parameter list
src/pycurl.c:1135: warning: its scope is only this definition or declaration, which is pro bably not what you want
src/pycurl.c: In function ‘opensocket_callback’:
src/pycurl.c:1148: error: dereferencing pointer to incomplete type
src/pycurl.c:1148: error: dereferencing pointer to incomplete type
src/pycurl.c:1148: error: dereferencing pointer to incomplete type
src/pycurl.c: In function ‘do_curl_setopt’:
src/pycurl.c:1624: error: ‘CURLOPT_SSH_PUBLIC_KEYFILE’ undeclared (first use in this funct ion)
src/pycurl.c:1624: error: (Each undeclared identifier is reported only once
src/pycurl.c:1624: error: for each function it appears in.)
src/pycurl.c:1625: error: ‘CURLOPT_SSH_PRIVATE_KEYFILE’ undeclared (first use in this func tion)
src/pycurl.c:1626: error: ‘CURLOPT_COPYPOSTFIELDS’ undeclared (first use in this function)
src/pycurl.c:1627: error: ‘CURLOPT_SSH_HOST_PUBLIC_KEY_MD5’ undeclared (first use in this function)
src/pycurl.c:1628: error: ‘CURLOPT_CRLFILE’ undeclared (first use in this function)
src/pycurl.c:1629: error: ‘CURLOPT_ISSUERCERT’ undeclared (first use in this function)
src/pycurl.c:2020: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘opensoc ket_cb’
src/pycurl.c:2020: error: ‘opensocket_cb’ undeclared (first use in this function)
src/pycurl.c:2071: error: ‘CURLOPT_OPENSOCKETFUNCTION’ undeclared (first use in this funct ion)
src/pycurl.c:2076: error: ‘CURLOPT_OPENSOCKETDATA’ undeclared (first use in this function)
src/pycurl.c: In function ‘do_curl_getinfo’:
src/pycurl.c:2175: error: ‘CURLINFO_REDIRECT_URL’ undeclared (first use in this function)
src/pycurl.c:2176: error: ‘CURLINFO_PRIMARY_IP’ undeclared (first use in this function)
src/pycurl.c:2194: error: ‘CURLINFO_APPCONNECT_TIME’ undeclared (first use in this functio n)
src/pycurl.c: In function ‘do_multi_setopt’:
src/pycurl.c:2461: error: ‘CURLMOPT_PIPELINING’ undeclared (first use in this function)
src/pycurl.c:2464: error: ‘CURLMOPT_MAXCONNECTS’ undeclared (first use in this function)
src/pycurl.c:2479: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘t_cb’
src/pycurl.c:2479: error: ‘t_cb’ undeclared (first use in this function)
src/pycurl.c:2489: error: ‘CURLMOPT_TIMERFUNCTION’ undeclared (first use in this function)
src/pycurl.c:2491: error: ‘CURLMOPT_TIMERDATA’ undeclared (first use in this function)
src/pycurl.c: In function ‘do_multi_socket_action’:
src/pycurl.c:2576: warning: implicit declaration of function ‘curl_multi_socket_action’
src/pycurl.c: In function ‘initpycurl’:
src/pycurl.c:3555: error: ‘CURLE_SSL_CACERT_BADFILE’ undeclared (first use in this functio n)
src/pycurl.c:3556: error: ‘CURLE_REMOTE_FILE_NOT_FOUND’ undeclared (first use in this func tion)
src/pycurl.c:3557: error: ‘CURLE_SSH’ undeclared (first use in this function)
src/pycurl.c:3558: error: ‘CURLE_SSL_SHUTDOWN_FAILED’ undeclared (first use in this functi on)
src/pycurl.c:3707: error: ‘CURLOPT_OPENSOCKETFUNCTION’ undeclared (first use in this funct ion)
src/pycurl.c:3719: error: ‘CURLOPT_SSL_SESSIONID_CACHE’ undeclared (first use in this func tion)
src/pycurl.c:3720: error: ‘CURLOPT_SSH_AUTH_TYPES’ undeclared (first use in this function)
src/pycurl.c:3721: error: ‘CURLOPT_SSH_PUBLIC_KEYFILE’ undeclared (first use in this funct ion)
src/pycurl.c:3722: error: ‘CURLOPT_SSH_PRIVATE_KEYFILE’ undeclared (first use in this func tion)
src/pycurl.c:3723: error: ‘CURLOPT_FTP_SSL_CCC’ undeclared (first use in this function)
src/pycurl.c:3724: error: ‘CURLOPT_TIMEOUT_MS’ undeclared (first use in this function)
src/pycurl.c:3725: error: ‘CURLOPT_CONNECTTIMEOUT_MS’ undeclared (first use in this functi on)
src/pycurl.c:3726: error: ‘CURLOPT_HTTP_TRANSFER_DECODING’ undeclared (first use in this f unction)
src/pycurl.c:3727: error: ‘CURLOPT_HTTP_CONTENT_DECODING’ undeclared (first use in this fu nction)
src/pycurl.c:3728: error: ‘CURLOPT_NEW_FILE_PERMS’ undeclared (first use in this function)
src/pycurl.c:3729: error: ‘CURLOPT_NEW_DIRECTORY_PERMS’ undeclared (first use in this func tion)
src/pycurl.c:3730: error: ‘CURLOPT_POST301’ undeclared (first use in this function)
src/pycurl.c:3731: error: ‘CURLOPT_PROXY_TRANSFER_MODE’ undeclared (first use in this func tion)
src/pycurl.c:3732: error: ‘CURLOPT_COPYPOSTFIELDS’ undeclared (first use in this function)
src/pycurl.c:3733: error: ‘CURLOPT_SSH_HOST_PUBLIC_KEY_MD5’ undeclared (first use in this function)
src/pycurl.c:3735: error: ‘CURLOPT_CRLFILE’ undeclared (first use in this function)
src/pycurl.c:3736: error: ‘CURLOPT_ISSUERCERT’ undeclared (first use in this function)
src/pycurl.c:3737: error: ‘CURLOPT_ADDRESS_SCOPE’ undeclared (first use in this function)
src/pycurl.c:3739: error: ‘CURLMOPT_TIMERFUNCTION’ undeclared (first use in this function)
src/pycurl.c:3741: error: ‘CURLMOPT_PIPELINING’ undeclared (first use in this function)
src/pycurl.c:3742: error: ‘CURLMOPT_MAXCONNECTS’ undeclared (first use in this function)
src/pycurl.c:3773: error: ‘CURLSSH_AUTH_ANY’ undeclared (first use in this function)
src/pycurl.c:3774: error: ‘CURLSSH_AUTH_NONE’ undeclared (first use in this function)
src/pycurl.c:3775: error: ‘CURLSSH_AUTH_PUBLICKEY’ undeclared (first use in this function)
src/pycurl.c:3776: error: ‘CURLSSH_AUTH_PASSWORD’ undeclared (first use in this function)
src/pycurl.c:3777: error: ‘CURLSSH_AUTH_HOST’ undeclared (first use in this function)
src/pycurl.c:3778: error: ‘CURLSSH_AUTH_KEYBOARD’ undeclared (first use in this function)
src/pycurl.c:3779: error: ‘CURLSSH_AUTH_DEFAULT’ undeclared (first use in this function)
src/pycurl.c:3788: error: ‘CURLINFO_APPCONNECT_TIME’ undeclared (first use in this functio n)
src/pycurl.c:3804: error: ‘CURLINFO_REDIRECT_URL’ undeclared (first use in this function)
src/pycurl.c:3805: error: ‘CURLINFO_PRIMARY_IP’ undeclared (first use in this function)
src/pycurl.c:3825: error: ‘CURL_CSELECT_IN’ undeclared (first use in this function)
src/pycurl.c:3826: error: ‘CURL_CSELECT_OUT’ undeclared (first use in this function)
src/pycurl.c:3827: error: ‘CURL_CSELECT_ERR’ undeclared (first use in this function)
error: Setup script exited with error: command 'gcc' failed with exit status 1
----------------------
Still the Libcurl issue..
src/pycurl.c:61:4: error: #error "Need libcurl version 7.19.0 or greater to compile pycurl ."

---------------------
Then I created a fresh Centos box..

#wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
# rpm -Uvh epel-release-5-3.noarch.rpm
# yum install syck syck-devel gcc python-devel bzr bzrtools olive sqlite-devel python-setuptools pycrypto curl* curl curl-devel
# easy_install pysqlite
#easy_install bombardier_server
#ssh-keygen -t dsa
#bdr_server_quickstart

#cd /usr/lib/python2.5/site-packages/
#cd bombardier_server-1.00_702-py2.5.egg/bombardier_server/web/cnm
#python manage.py syncdb

*****NOTE********In documentation it is mentined "cd /usr/lib/python2.5/site-packages/" . But I have "/usr/lib/python2.4/site-packages/"
#python manage.py runserver
Till this point it went with out any problem..
-----------------
#easy_install bombardier_cli
Libcurl issue..
src/pycurl.c:61:4: error: #error "Need libcurl version 7.19.0 or greater to compile pycurl
-----------------------------------

Please suggest...

Revision history for this message
Boby (boby-kuriakose) said :
#5

Further donw the following..
wget http://curl.haxx.se/download/curl-7.20.0.tar.gz
#./configure --prefix=/usr
#make
#make install
---------------
#easy_install bombardier_cli
Searching for bombardier-cli
Best match: bombardier-cli 1.00-748
Processing bombardier_cli-1.00_748-py2.4.egg
bombardier-cli 1.00-748 is already the active version in easy-install.pth
Installing bdr script to /usr/bin
Installing dsl script to /usr/bin
Installing ymlEncrypter.py script to /usr/bin

Using /usr/lib/python2.4/site-packages/bombardier_cli-1.00_748-py2.4.egg
Processing dependencies for bombardier-cli
Searching for pycurl
Reading http://cheeseshop.python.org/pypi/pycurl/
Reading http://pycurl.sourceforge.net/
Reading http://pycurl.sourceforge.net/download/
Reading http://cheeseshop.python.org/pypi/pycurl/7.18.1
Best match: pycurl 7.19.0
Downloading http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
Processing pycurl-7.19.0.tar.gz
Running pycurl-7.19.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_BZIEN/pycurl-7.19.0/egg-dist-tmp-vFy7UH
Using curl-config (libcurl 7.20.0)
zip_safe flag not set; analyzing archive contents...
Adding pycurl 7.19.0 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/pycurl-7.19.0-py2.4-linux-i686.egg
---------------------------------------------------
#bdr

username [root]: admin
password:
% Server not accessible (Can't connect to http://127.0.0.1:8000/accounts/login/ (couldn't connect to host) (0))

% Exception: '1'

Traceback (most recent call last):
  File "/usr/bin/bdr", line 5, in ?
    pkg_resources.run_script('bombardier-cli==1.00-748', 'bdr')
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1091, in run_script
    exec script_code in namespace, namespace
  File "/usr/bin/bdr", line 221, in ?

  File "/usr/bin/bdr", line 139, in initialize

  File "build/bdist.linux-i686/egg/bombardier_cli/CnmConnector.py", line 412, in dispatcher_control
  File "build/bdist.linux-i686/egg/bombardier_cli/CnmConnector.py", line 298, in service_yaml_request
  File "build/bdist.linux-i686/egg/bombardier_cli/CnmConnector.py", line 275, in service_request
  File "build/bdist.linux-i686/egg/bombardier_cli/CnmConnector.py", line 207, in perform_request
bombardier_cli.Exceptions.ServerException: Can't connect to http://127.0.0.1:8000/json/dispatcher/status (couldn't connect to host) (0)
--------------------------------------------

Revision history for this message
Peter Banka (pbanka) said :
#6

Sorry for the delay, Boby. It appears that you are trying to run the command-line interface while the server is not online. There should be a better error message here. The installation documentation tells you to start the web server and "Leave this terminal running on the server and open a new connection to the server." to run the CLI. That line is not highlighted very well, and so you probably missed it. I will try to emphasize this fact in the docs.

Good luck.
--Peter

Can you help with this problem?

Provide an answer of your own, or ask Boby for more information if necessary.

To post a message you must log in.