[Bigjob-users] Reg: An issue while running a test Bigjob

Muralidhar Chouhan cmural1 at tigers.lsu.edu
Sat Nov 26 21:38:25 CST 2011


Dear bigjob-users,

I have installed the Bigjob on Futuregrid (alamo), but i am facing issues
while running any test jobs on the machine. I have tested the successful
installation of SAGA and Bigjob by running the following two lines in the
python shell.

import saga
import bigjob

There is a *test-bigjob *mentioned in the installation guide, i tried to
run the same. It shows following error.

"pilot_dir = saga.advert.directory(saga.url(pilot_url), saga.advert.Create
| saga.advert.CreateParents | saga.advert.ReadWrite)
saga.no_success: SAGA(NoSuccess): default_advert: Unable to establish
connection to database_connection: dbname='advertdb' host='localhost'
password='<password>' port='5432' user='<username>' Cannot establish
connection to the database: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?"

Please find the attachment of the text file containing the entire error
output.please help.


*Sincerely,*
Muralidhar Chouhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cct.lsu.edu/pipermail/bigjob-users/attachments/20111126/38f5f925/attachment.html 
-------------- next part --------------
Start Pilot Job/BigJob at: fork://localhost
DEBUG:root:init BigJob w/: advert://localhost/
DEBUG:root:['/home/cmural1/../', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/bin', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/BigJob-0.3.2-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/redis-2.2.4-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/virtualenv-1.6.4-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/threadpool-1.2.7-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/uuid-1.30-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/uuid-1.30-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/uuid-1.30-py2.7.egg', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/home/cmural1', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python27.zip', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/plat-linux2', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/lib-tk', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/lib-old', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/lib-dynload', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/N/soft/SAGA/external/python/2.7.1/gcc-4.1.2/lib/2.7/site-packages', '/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/BigJob-0.3.2-py2.7.egg/bigjob']
DEBUG:root:Utilizing ADVERT Backend
DEBUG:root:Parsing URL: advert://localhost/
DEBUG:root:Server: localhost Port None server_connect_url: None
DEBUG:root:initialized BigJob: bigjob:5d3744ac-18a2-11e1-acd1-a4badb0c3696
DEBUG:root:create pilot job entry on backend server: bigjob:5d3744ac-18a2-11e1-acd1-a4badb0c3696:localhost
DEBUG:root:create advert entry: advert://localhost/bigjob/5d3744ac-18a2-11e1-acd1-a4badb0c3696/localhost
Traceback (most recent call last):
  File "/N/soft/SAGA/saga/1.6/gcc-4.1.2//bin/test-bigjob", line 8, in <module>
    load_entry_point('BigJob==0.3.2', 'console_scripts', 'test-bigjob')()
  File "/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/BigJob-0.3.2-py2.7.egg/examples/example_local_single.py", line 79, in main
    processes_per_node)
  File "/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/BigJob-0.3.2-py2.7.egg/bigjob/bigjob_manager.py", line 154, in start_pilot_job
    self.coordination.set_pilot_state(self.pilot_url, str(saga.job.Unknown), False)
  File "/N/soft/SAGA/saga/1.6/gcc-4.1.2/lib/python2.7/site-packages/BigJob-0.3.2-py2.7.egg/coordination/bigjob_coordination_advert.py", line 67, in set_pilot_state
    pilot_dir = saga.advert.directory(saga.url(pilot_url), saga.advert.Create | saga.advert.CreateParents | saga.advert.ReadWrite)
saga.no_success: SAGA(NoSuccess): default_advert: Unable to establish connection to database_connection: dbname='advertdb' host='localhost' password='<password>' port='5432' user='<username>' Cannot establish connection to the database: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?


Cancel Pilot Job
stop pilot job: bigjob:5d3744ac-18a2-11e1-acd1-a4badb0c3696:localhost
DEBUG:root:delete pilot job: bigjob:5d3744ac-18a2-11e1-acd1-a4badb0c3696:localhost


More information about the Bigjob-users mailing list