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

    Login not working for local (non-LDAP) users

    • Article Type: General
    • Product: MetaLib
    • Product Version: 4

    Description:
    I cannot login to /V on mingus (port 8331/8443) as library-ENG (or any of the other local users including jlittle).
    The $LOGDIR/pds_server.log file reports this:

    1551 2007-08-10 14:43:41 [metalib_x_server] Login Response = <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>400 Bad Request</title>
    </head><body>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
    Instead use the HTTPS scheme to access this URL, please.<br />
    <blockquote>Hint: <a href="https://mingus:8443/"><b>https://mingus:8443/</b></a></blockquote></p>
    <hr>
    <address>Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 Server at mingus Port 8443</address>
    </body></html>

    The information never gets back to my browser but it does show up in the pds_server.log file.
    I've looked at the conf files in $metalib_conf and pdsroot/conf_table.
    I found a lone mingus:8443 setting in the apcc/ssl.conf file and changed it and restarted (it still didn't help):

    metalib@mingus(m4_1):~...apache/conf>diff ssl.conf.bak.jrl.20080810 ssl.conf
    48c48
    < ServerName mingus:8443
    ---
    > ServerName mingus.lib.library.edu:8443

    The new error message in $LOGDIR/pds_server.log says:

    </head><body>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
    Instead use the HTTPS scheme to access this URL, please.<br />
    <blockquote>Hint: <a href="https://mingus.lib.library.edu:8443/"><b>https://mingus.lib.library.edu:8443/</b></a></blockquote></p>

    So it will login using LDAP but not when the local users are needed (e.g. library-ENG or jlittle)

    Resolution:
    The resolution was changing the port number in the tab_service.library metalib_x_server.pl lines: from 8443 to 8331.

    Be sure to back-up the original file first [e.g. tab_service.library.20070821.marck] and test it.

    -rw-rw-r-- 1 metalib exlibris 866 Jul 31 15:21 tab_service.library.20070821.marck
    -rw-rw-r-- 1 metalib exlibris 496 Aug 9 13:45 ldap_library.conf
    -rw-rw-r-- 1 metalib exlibris 866 Aug 21 13:56 tab_service.library

    mingus.lib.library.edu-m4_1-DAT01>>diff tab_service.library.20070821.marck tab_service.library
    15c15
    < params = mingus.lib.library.edu,8443,BOR-AUTH,N,pds,****
    ---
    > params = mingus.lib.library.edu,8331,BOR-AUTH,N,pds,****
    22c22
    < params = mingus.lib.library.edu,8443,BOR-INFO,N,pds,****
    ---
    > params = mingus.lib.library.edu,8331,BOR-INFO,N,pds,****
    mingus.lib.library.edu-m4_1-DAT01>>

    Please test any of the library local (staff or the default library-ENG, etc.) users and confirm.


    • Article last edited: 10/8/2013
    • Was this article helpful?
    //Feedback