Menu

Fatal error: BMC Remedy AR System error

Help
giase
2011-08-18
2012-10-23
  • giase

    giase - 2011-08-18

    Can someone help me with this error please:
    Fatal error: BMC Remedy AR System error (Cannot open catalog; Message number =
    161)

    with this simple script:

    $Server = new ARAPI("192.168.0.1", "login", "pwd");
    $Server->setserverport("192.168.0.1", 1010, 0);    // [b]ERROR [/b]
    $Server -> termination();
    

    Ubuntu11, PHP 5.2.10 with pre-compiled version
    php_arapi-0.3.3.so.arapi71.php5-20060613.gz

    Thanks, Giase

     
  • Jens Yllman

    Jens Yllman - 2011-08-19

    This error you normally get for not setting up the structure with information
    about the session. And that is in the code for ARAPI. So it is really strange
    you get that. It would be interesting to see if you get the same if you do not
    use the class interface.

    arapi_initialization("192.168.0.1", "login", "pwd");
    arapi_setserverport("192.168.0.1", 1010, 0); // ERROR
    arapi_termination()
    
     
  • giase

    giase - 2011-08-23

    Hi jpyllman,
    Thank you for your quick reply!
    Without the class interface I get the same result.
    I think I have some setting wrong because everything works with Java + API 7.0
    Please, could you tell me what to check?

     
  • Jens Yllman

    Jens Yllman - 2011-08-23

    Hi,

    The error message more or less means that the internal structure for handling
    a session is broken. Nothing the code in PHP can do. It is in the plugin. But
    there are several things that could make this incompatible. One is the normal
    32/64 -bit problem. By that I mean running 32-bit parts from a 64-bit program.
    Another is that on linux the ARAPI file is called libar.so. No version info at
    all. And the base functions ARInitialize() is more or less the same from way
    back. But NOT the internal structures. So if you have a program compiled for
    ARAPI 7.1 you HAVE TO use libar.so from 7.1. Otherwise you can get these kind
    of problems.

     
  • giase

    giase - 2011-08-23

    Hi jpyllman,
    as suggested, I have update all the library to the same version and now it
    works! :)

    Thank you very much for your help.
    Thanks, Giase

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.