Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Error Accessing the X-Server

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    When I try to run a simple EXPLAIN command on the x-server I get no data, and I see these messages in the log:

    IN 20070906 130705
    ip address: 111.222.333.444 1011
    request: "/X?op=explain&file=list"
    Load: /exlibris/aleph/u18_2/alephe/tab/www_x_func
    X SERVICE: EXPLAIN

    Execution error : file ''
    error code: 114, pc=0, call=1, seg=0
    114 Attempt to access item beyond bounds of memory (Signal 11)

    The URL is http://aleph.univ.edu:8991/X?op=explain&file=list

    Resolution:
    I found an old incident for another site that seemed to describe your situation exactly. The solution there was this:

    The short answer: Creating a user WWW-X with password WWW-X and giving it permission for Function WWW-X corrected the problem.

    The long answer:
    The x-services are under the www_server. When an http://.../X?... transaction is received, it is processed by the ./alephm/source/www_x programs, using the ./www_x_eng screens. Restarting the www_server, should get any changes to server_ip allowed.

    Some displays that I added show that we are getting an error code 01 on the www_x_login. This should not result in this program error. I think it's trying to produce a message like "No www_x permissions".

    The ./www_x/www_x program is calling www_x_login , which, in turn, is calling www_x_util_check_permission .

    The call to www_x_util_check_permission looks like this:

    In the CALL "www_x_util_check_permission" the
    X-SERVICE-LIBRARY is PWD50
    X-SERVICE-USER-NAME is WWW-X
    X-SERVICE-USER-PASSWORD is WWW-X
    X-SERVICE-FUNC is WWW-X

    These SQLs show that there is no z66 or z67 user WWW-X:

    SQL-PWD50> select Z66_REC_KEY , Z66_USER_LIBRARY, Z66_EXPIRY_DATE from z66 where Z66_REC_KEY like 'WWW-X%';
    no rows selected

    SQL-PWD50> select Z67_REC_KEY, Z67_LIBRARY, Z67_FUNC from z67 where Z67_REC_KEY like 'WWW-X%';
    no rows selected


    • Article last edited: 10/8/2013
    //Feedback