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

    Error 500 in URL; "execlp: No such file or directory"; Broken pipe

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

    Description:
    Our abc01 check_doc table has "check_doc_url". When we try to save a record to the server containing a URL, we get the error message: "Error 500 in the URL http://...", and/or the pc_server log shows this:

    ACTION : CHECK
    PROGRAM : pc_cat_c0203

    execlp: No such file or directory
    write_to_pipe: Broken pipe
    execlp: No such file or directory

    Resolution:
    The ./check_doc/check_doc_url.cbl program calls the ./ext/check_url.pl (perl) program. The first line of this xxx.pl and other perl programs in the /ext directory contains the path to the perl file on this server. As delivered, this path is:

    #!/exlibris/aleph/a18_1/product/bin/perl .

    If this is not the actual location on this server, then the site needs to have customized versions of the ./ext/***.pl programs. In order to accommodate this need, aleph_start has the aleph_ext setenv. As delivered, this is:

    setenv aleph_ext $alephm_dev/alephm/source/ext

    This site had changed this to an $alephe_root (u-tree) location. That version had been carried over from version 16 and the perl-path in the first line referred to "a16_1" rather than the correct "a18_5". This needed to be corrected and the pc_server restarted.

    Note: There are other ***.pl programs in the ./ext directory (such as syndetics.pl) which can have the same problem.


    • Article last edited: 10/8/2013