Bug #2778
openSpider RCT via appion
0%
Description
I get a MySSQL error when attempting to do RCT reconstructions on guppy. The job was submitted via appion. The error is below.
[rmcnulty@guppy rct1align170class79808184]$ more rct1align170class79808184.appionsub.log
... Time stamp: 14may14k19
... Function name: rctVolume
... Appion directory: /opt/myamisnap/lib
... Using split database
Traceback (most recent call last):
File "/opt/myamisnap/bin/rctVolume.py", line 682, in <module>
rctVolume = rctVolumeScript()
File "/opt/myamisnap/lib/appionlib/appionScript.py", line 74, in init
newdbname = apProject.getAppionDBFromProjectId(self.params['projectid'])
File "/opt/myamisnap/lib/appionlib/apProject.py", line 87, in getAppionDBFromProjectId
projdata = leginon.projectdata.projects.direct_query(projectid)
File "/opt/myamisnap/lib/sinedon/data.py", line 427, in direct_query
db = connections.getConnection(modulename)
File "/opt/myamisnap/lib/sinedon/connections.py", line 25, in getConnection
connections[modulename] = {'config': dbconf, 'connection': DB}
File "/opt/myamisnap/lib/sinedon/dbdatakeeper.py", line 37, in init
raise DatabaseError(e.args[-1])
sinedon.dbdatakeeper.DatabaseError: Can't connect to MySQL server on '137.131.205.164' (110)
Exception sinedon.dbdatakeeper.DatabaseError: DatabaseError("Can't connect to MySQL server on '137.131.205.164' (110)",) in <boun
d method rctVolumeScript.__del__ of <__main__.rctVolumeScript object at 0x28390d0>> ignored
Updated by Amber Herold over 10 years ago
- Assignee set to Reginald McNulty
It looks like you are trying to connect to the old ip address for the database. It was changed 6 months ago when we moved to the new building. Where are you launching the job from? You may also be overriding the configuration file if you have a sinedon config file in your home directory.
Updated by Reginald McNulty over 10 years ago
Deleting the sinedon config file in my home directory worked. The jobs is running fine. Thanks!