Menu

#23 Error connecting to server

v1.0_(example)
closed
nobody
None
1
2017-06-02
2017-05-23
Anonymous
No

Hi, I'm trying to use pyARS with Python 2.4.3 on a CentOS 5 x64 box. I've installed pyARS and ctypes (that from EPEL repo). I didn't apply the suggest python patch. When I try to connect I get:

2017-05-23 14:06:40,514 pyars.ars DEBUG enter Login...
2017-05-23 14:06:40,515 pyars.ars DEBUG calling ARSetServerPort with ars.xuxu.com.br
2017-05-23 14:06:40,515 pyars.ars DEBUG enter ARSetServerPort...
2017-05-23 14:06:40,515 pyars.ars ERROR error logging in to: ars.xuxu.com.br:3000 as PAULO

My code:

from pyars import ars, erars, cars
from ctypes import *
import logging

ars = ars.ARS()
ars.logger.setLevel(logging.DEBUG)
ars.Login(server='ars.xuxu.com.br', username='PAULO', password='xxxxx')

What's wrong? I've tried to connect with BMC C library and I got success. If I specify tcpport=3000 parameter using the api764sp5 libs I get a crash dump,

Discussion

  • Paulo Estrela

    Paulo Estrela - 2017-05-23

    I tried on Windows, and now I can connect. I'll try with a newer python on CentOS 5.

     
  • Paulo Estrela

    Paulo Estrela - 2017-05-23

    I saw that Linux x64 is not supported right now. I'll go with Windows or Linux x86. Thanks you!

     
  • Ergorion

    Ergorion - 2017-06-02
    • status: open --> closed
     
  • Ergorion

    Ergorion - 2017-06-02

    glad I could help :-)

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB