Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. AIK step 3.2 doesn't correctly set the hostname variable; "TNS:listener does not

    AIK step 3.2 doesn't correctly set the hostname variable; "TNS:listener does not

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    AIK step 3.2 doesn't correctly set the hostname variable, and then it fails to create the correct tnsnames.ora file, which causes the DB install to fail, which causes the Aleph21 install to fail.

    We believe this is the line that is causing the problem:

    SERVER_NAME=$(host $HOSTNAME | awk '{print $1}' | sed 's/\..*//')

    The incorrect hostname it is generating: "Host";
    the correct form it should be generating: 'labslcl0640'"

    After correctling the tnsnames.ora manually, the install process then quits on step AIK 3.4 where it fails to verify the Oracle listener is working. We get this error message:

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. The connection to the database aleph21 via listener hasn't been established yet...

    We've tried several different attempts to fix this process, including modifying the installation script. We can connect to the DB on the UNIX command line, but cannot make the connection work in the installation script.

    Resolution:
    From Ex Libris: The problem was related to the fact that the host command failed to find the short server name in the DNS. The easiest solution is to add the lab domain to the search entry in /etc/resolv.conf (qalab.abc.edu)

    We will also open a Jira issue to handle such cases in the next kit release.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • AIK step 1: "Connection timed out"
      • AIK step 3.2: ORA-12514 error
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved