2010-12-15 09:55:49 UTC
I've posted the following yesterday in the dev mailinglist, but perhaps
it fits in better here.
I installed sge6.1u6 on an Ubuntu host lately. Using the commandline
interface everything works fine. I've installed the sge_master and the
sge_execd on the same host.
Now I wanted to include the DRMAA in a Python project I'm working on,
but I can't get the python-drmaa to connect to the qmaster. To use the
I've downloaded the newest source from the DRMAA page and installed it
with the usual build/install routine.
Here's the code I'm using (it's pretty much the same as in the
import drmaaTraceback (most recent call last):
File "<stdin>", line 1, in <module>
line 274, in initialize
line 59, in init
return _lib.drmaa_init(contact, error_buffer, sizeof(error_buffer))
line 90, in error_check
raise _ERRORS[code-1]("code %s: %s" % (code, error_buffer.value))
drmaa.errors.DrmCommunicationException: code 2: unable to send
message to qmaster using port 6444 on host "ubuntu": got send error
I can't figure it out, why it fails.
All the need processes are running:
***@ubuntu:~# ps -ax | grep sge
Warning: bad ps syntax, perhaps a bogus '-'? See
7600 ? Sl 0:03 /opt/sge6.2/bin/lx24-x86/sge_qmaster
7619 ? Sl 0:01 /opt/sge6.2/bin/lx24-x86/sge_schedd
7678 ? S 0:00 /opt/sge6.2/bin/lx24-x86/sge_execd
I've also checked the port:
***@ubuntu:~# qping ubuntu 6444 qmaster 1
12/14/2010 17:33:15 endpoint ubuntu/qmaster/1 at port 6444 is up
since 8643 seconds
nmap says it's open, as well (x-ed out my IP here):
***@ubuntu:~# nmap -p 6444 ubuntu
Starting Nmap 5.21 ( http://nmap.org ) at 2010-12-14 17:34 CET
Nmap scan report for ubuntu (141.52.xxx.xxx)
Host is up (0.000055s latency).
PORT STATE SERVICE
6444/tcp open unknown
And my hostname is resolved in /etc/hosts (and set to my IP address)
Am I missing something here? Does anybody have a clue, what might be the
To unsubscribe from this discussion, e-mail: [email@example.com].